author | Idan Kamara <idankk86@gmail.com> |
Mon, 04 Apr 2011 18:05:14 +0300 | |
changeset 13872 | e6bd5b403de0 |
parent 13871 | 22d200e49b10 |
child 13873 | 02c3d4d44a92 |
--- a/mercurial/localrepo.py Mon Apr 04 17:37:18 2011 +0100 +++ b/mercurial/localrepo.py Mon Apr 04 18:05:14 2011 +0300 @@ -387,7 +387,7 @@ for t, n in self.tags().iteritems(): try: r = self.changelog.rev(n) - except: + except error.LookupError: r = -2 # sort to the beginning of the list if unknown l.append((r, t, n)) return [(t, n) for r, t, n in sorted(l)]