Commits

Yuya Nishihara  committed 57b714b

sync: don't show "new branch" confirmation endlessly (fixes #1615)

  • Participants
  • Parent commits 4d449fc
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/sync.py

                 self.showMessage.emit(_('No outgoing changesets to %s') % link)
             else:
                 self.showMessage.emit(_('Push to %s aborted, ret %d') % (link, ret))
-                if self.needNewBranch:
+                if self.needNewBranch and '--new-branch' not in self.lastcmdline:
                     r = qtlib.QuestionMsgBox(_('Confirm New Branch'),
                                              _('One or more of the changesets that you '
                                                'are attempting to push involve the '