Changeset 2edd8f27dc58…
Parent 8814964090f9…
by
Changes to one file · Browse files at 2edd8f27dc58 Showing diff from parent 8814964090f9 Diff from another changeset...
@@ -515,6 +515,9 @@ parent=self)
self.msgte.setFocus()
return
+
+ commandlines = []
+
if self.branchop is None:
brcmd = []
elif self.branchop == False:
@@ -543,7 +546,8 @@ 'Cancel\t- Cancel this commit') % self.branchop,
self, (_('&Yes'), _('&No'), _('Cancel')), 2, 2).run()
if resp == 0:
- repo.dirstate.setbranch(branch)
+ commandlines.append(['branch', '--repository', repo.root,
+ '--force', branch])
elif resp == 2:
return
files = self.stwidget.getChecked('MAR?!S')
@@ -562,8 +566,6 @@ return
self.addUsernameToHistory(user)
- commandlines = []
-
checkedUnknowns = self.stwidget.getChecked('?I')
if checkedUnknowns:
res = qtlib.CustomPrompt(
|
Loading...