Commits

Steve Borho  committed ef9fb31

workbench: pushes new branch without failing if --pushafter set (fixes #1986)

Patch submitted by Ian Kemp (ian.kemp@krs.co.za)

  • Participants
  • Parent commits 4762ac6
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/commit.py

 
         if self.opts.get('pushafter'):
             cmd = ['push', '--repository', repo.root, self.opts['pushafter']]
+            if newbranch:
+                cmd.append('--new-branch')
             commandlines.append(cmd)
 
         repo.incrementBusyCount()