hgext/convert/__init__.py
changeset 4518 3e4aa4c9efe4
parent 4516 96d8a56d4ef9
child 4520 ce1fed4a5b94
--- a/hgext/convert/__init__.py	Sun Jun 03 22:11:25 2007 +0200
+++ b/hgext/convert/__init__.py	Thu Jun 07 12:41:12 2007 +0200
@@ -177,6 +177,8 @@
                         p = [self.parent[id]]
                         if id == "1":
                             p = []
+                        if branch == "HEAD":
+                            branch = ""
                         c = commit(author=author, date=date, parents=p,
                                    desc=log, branch=branch)
                         self.changeset[id] = c