remote-hg: fix new branch creation
[gitweb.git] / contrib / remote-helpers / git-remote-hg
index 4a5c72ffea10666fda52004fee875377ec5adfc3..3cf9b4c24a20405583bcd7869389b828df8e8f51 100755 (executable)
@@ -856,7 +856,7 @@ def do_export(parser):
             continue
 
     if peer:
-        parser.repo.push(peer, force=force_push)
+        parser.repo.push(peer, force=force_push, newbranch=True)
 
     # handle bookmarks
     for bmark, node in p_bmarks: