* Michal Ostrowski <mostrows@xxxxxxxxxxxxxx> [20050831 13:26]:
> On Tue, 30 Aug 2005 23:23:22 -0700
> "Bryan O'Sullivan" <bos@xxxxxxxxxxxxxx> wrote:
>
> > On Tue, 2005-08-30 at 16:18 -0400, Michal Ostrowski wrote:
> > > I've been seeing errors in trying to http-clone a repository I have:
> >
> > Please try pulling the changes from
> > http://hg.serpentine.com/mercurial/bos and attempt the pull again. It
> > should (I hope!) fail with a more meaningful error message.
>
> File "/home/mostrows/lib/python/mercurial/revlog.py", line 213, in rev
> raise KeyError('%s: no node %s' % (self.indexfile.name, hex(node)))
> AttributeError: 'str' object has no attribute 'name'
Please apply this patch on top of bos' version and try again.
Thomas
diff -r 7414a2e71288 mercurial/revlog.py
--- a/mercurial/revlog.py Wed Aug 31 06:22:11 2005
+++ b/mercurial/revlog.py Wed Aug 31 14:52:32 2005
@@ -210,7 +210,7 @@
try:
return self.nodemap[node]
except KeyError, inst:
- raise KeyError('%s: no node %s' % (self.indexfile.name, hex(node)))
+ raise KeyError('%r: no node %s' % (self.indexfile, hex(node)))
def linkrev(self, node): return self.index[self.rev(node)][3]
def parents(self, node):
if node == nullid: return (nullid, nullid)
--
Email: thomas@xxxxxxxxxxxxx
http://intevation.de/~thomas/
pgpppqnIfbdpa.pgp
Description: PGP signature
_______________________________________________
Mercurial mailing list
Mercurial@xxxxxxxxxxx
http://selenic.com/mailman/listinfo/mercurial
|