contrib/convert-repo
changeset 1389 9b3ef6f3cef5
parent 1388 5eb2d3c54165
child 1655 7bfd4724932a
--- a/contrib/convert-repo	Wed Oct 05 19:26:41 2005 -0700
+++ b/contrib/convert-repo	Wed Oct 05 19:27:35 2005 -0700
@@ -132,8 +132,9 @@
             self.repo.rawcommit(files, text, author, dest,
                                 hg.bin(p1), hg.bin(p2))
             text = "(octopus merge fixup)\n"
+            p2 = hg.hex(self.repo.changelog.tip())
 
-        return hg.hex(self.repo.changelog.tip())
+        return p2
 
     def puttags(self, tags):
         try: