fix a typo in an error message
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 16 May 2006 11:07:56 +0200
changeset 2295 9c15f85e61b1
parent 2294 ce67fa312f61
child 2296 6e8e3dd7976e
fix a typo in an error message
mercurial/revlog.py
--- a/mercurial/revlog.py	Tue May 16 09:35:38 2006 +0200
+++ b/mercurial/revlog.py	Tue May 16 11:07:56 2006 +0200
@@ -1137,7 +1137,7 @@
 
             for p in (p1, p2):
                 if not p in self.nodemap:
-                    raise RevlogError(_("unknown parent %s") % short(p1))
+                    raise RevlogError(_("unknown parent %s") % short(p))
 
             if not chain:
                 # retrieve the parent revision of the delta chain