bundlerepo: fix small bug in exception raising
authorSune Foldager <cryo@cyanite.org>
Tue, 27 Oct 2009 10:33:41 +0100
changeset 9650 1ad02c04356c
parent 9649 20b91f91f9ca
child 9651 bd3af545c7c6
bundlerepo: fix small bug in exception raising
mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py	Sun Oct 25 14:45:38 2009 +0200
+++ b/mercurial/bundlerepo.py	Tue Oct 27 10:33:41 2009 +0100
@@ -50,7 +50,7 @@
                 continue
             for p in (p1, p2):
                 if not p in self.nodemap:
-                    raise error.LookupError(p1, self.indexfile,
+                    raise error.LookupError(p, self.indexfile,
                                             _("unknown parent"))
             if linkmapper is None:
                 link = n