changeset 9650:1ad02c04356c

bundlerepo: fix small bug in exception raising
author Sune Foldager <cryo@cyanite.org>
date Tue, 27 Oct 2009 10:33:41 +0100
parents 20b91f91f9ca
children bd3af545c7c6
files mercurial/bundlerepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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