diff mercurial/localrepo.py @ 9557:dbe2bdd5e488

merge with i18n-stable
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Tue, 08 Sep 2009 19:46:20 -0300
parents cfdcb7a465af 1444a42f6052
children 1c4e4004f3a6
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Aug 18 08:49:41 2009 +0200
+++ b/mercurial/localrepo.py	Tue Sep 08 19:46:20 2009 -0300
@@ -459,7 +459,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