hgext/convert/hg.py
changeset 9432 fef209e65757
parent 9136 31177742f54a
parent 9431 d1b135f2f415
child 9467 4c041f1ee1b4
--- a/hgext/convert/hg.py	Sat Sep 05 19:39:46 2009 +0200
+++ b/hgext/convert/hg.py	Sun Sep 06 15:32:16 2009 +0200
@@ -189,7 +189,7 @@
 
         newlines = sorted([("%s %s\n" % (tags[tag], tag)) for tag in tags])
         if newlines == oldlines:
-            return None
+            return None, None
         data = "".join(newlines)
         def getfilectx(repo, memctx, f):
             return context.memfilectx(f, data, False, False, None)
@@ -201,7 +201,7 @@
                              [".hgtags"], getfilectx, "convert-repo", date,
                              extra)
         self.repo.commitctx(ctx)
-        return hex(self.repo.changelog.tip())
+        return hex(self.repo.changelog.tip()), hex(tagparent)
 
     def setfilemapmode(self, active):
         self.filemapmode = active