mercurial/localrepo.py
changeset 9423 1444a42f6052
parent 9120 d3b995dd4eab
child 9425 6cfea6e4c892
child 9475 c295a82a020b
--- a/mercurial/localrepo.py	Thu Aug 27 00:00:15 2009 +0200
+++ b/mercurial/localrepo.py	Mon Aug 31 10:58:33 2009 -0500
@@ -509,7 +509,7 @@
                 key = hex(key)
         except:
             pass
-        raise error.RepoError(_("unknown revision '%s'") % key)
+        raise error.RepoLookupError(_("unknown revision '%s'") % key)
 
     def local(self):
         return True