[PATCH 2 of 2 hglib] client: fix import --import-branch flag

Idan Kamara idankk86 at gmail.com
Mon Jan 16 04:56:58 CST 2012


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1326711194 -7200
# Node ID 705e601e60853bced05fa1b303e6bd7c776740e9
# Parent  9746227239e0ed738a9db3eb103aff5a701e13ac
client: fix import --import-branch flag

diff --git a/hglib/client.py b/hglib/client.py
--- a/hglib/client.py
+++ b/hglib/client.py
@@ -835,7 +835,7 @@
 
         args = cmdbuilder('import', strip=strip, force=force,
                           no_commit=nocommit, bypass=bypass, exact=exact,
-                          importbranch=importbranch, message=message,
+                          import_branch=importbranch, message=message,
                           date=date, user=user, similarity=similarity, _=stdin,
                           *patches)
 


More information about the Mercurial-devel mailing list