changeset 451 | c9d134165392 |
parent 381 | 024ee0f8722a |
child 469 | e205194ca7ef |
--- a/mercurial/revlog.py Thu Jun 23 17:33:07 2005 -0800 +++ b/mercurial/revlog.py Thu Jun 23 17:37:47 2005 -0800 @@ -192,8 +192,9 @@ def lookup(self, id): try: rev = int(id) + if str(rev) != id: raise "mismatch" return self.node(rev) - except ValueError: + except: c = [] for n in self.nodemap: if id in hex(n):