diff mercurial/localrepo.py @ 3930:01d98d68d697

Add revlog.LookupError exception, and use it instead of RevlogError. Remove repo.LookupError, which devolves to the revlog version.
author Brendan Cully <brendan@kublai.com>
date Mon, 18 Dec 2006 12:22:43 -0800
parents 4df475e22248
children 79cf097774ef
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Dec 17 22:16:57 2006 -0600
+++ b/mercurial/localrepo.py	Mon Dec 18 12:22:43 2006 -0800
@@ -317,7 +317,7 @@
             rev = c.rev()
             try:
                 fnode = c.filenode('.hgtags')
-            except repo.LookupError:
+            except revlog.LookupError:
                 continue
             ret.append((rev, node, fnode))
             if fnode in last: