by
Changes to 3 files · Browse files at ef70809a429b Showing diff from parent 9c3a0494c6b0 5360a2741540 Diff from another changeset...
@@ -280,7 +280,7 @@ path = hglib.fromunicode(self.dest_edit.text())
path = remove_ext(path)
path = remove_rev(path)
- path = add_rev(path, text)
+ path = add_rev(path, hglib.fromunicode(text))
path = add_ext(path)
self.dest_edit.setText(path)
self.prevtarget = text
|
@@ -450,7 +450,9 @@ pass
def cleanupPage(self):
- QSettings().setValue('backout/skiplast', self.skiplast.isChecked())
+ s = QSettings()
+ s.setValue('backout/skiplast', self.skiplast.isChecked())
+ self.msgEntry.saveSettings(s, 'backout/message')
def currentPage(self):
engmsg = self.repo.ui.configbool('tortoisehg', 'engmsg', False)
@@ -472,9 +474,6 @@ def validatePage(self):
if self.commitComplete:
# commit succeeded, repositoryChanged() called wizard().next()
- s = QSettings()
- s.setValue('backout/skiplast', self.skiplast.isChecked())
- self.msgEntry.saveSettings(s, 'backout/message')
if self.skiplast.isChecked():
self.wizard().close()
return True
@@ -494,10 +493,15 @@ message = hglib.fromunicode(self.msgEntry.text())
cmdline = ['commit', '--verbose', '--message', message,
'--repository', self.repo.root]
+ commandlines = [cmdline]
+ pushafter = self.repo.ui.config('tortoisehg', 'cipushafter')
+ if pushafter:
+ cmd = ['push', '--repository', self.repo.root, pushafter]
+ commandlines.append(cmd)
self.repo.incrementBusyCount()
self.cmd.setShowOutput(True)
- self.cmd.run(cmdline)
+ self.cmd.run(*commandlines)
return False
def onCommandFinished(self, ret):
|
@@ -205,7 +205,8 @@ if self.bundle:
return _('%s <incoming>') % self.repo.shortname
elif self.branch:
- return '%s [%s]' % (self.repo.shortname, self.branch)
+ return u'%s [%s]' % (self.repo.shortname,
+ hglib.tounicode(self.branch))
else:
return self.repo.shortname
@@ -1207,7 +1208,7 @@ if not dir:
return
epath = os.path.join(hglib.fromunicode(dir),
- self.repo.shortname + '_%r.patch')
+ hglib.fromunicode(self.repo.shortname)+'_%r.patch')
cmdline = ['export', '--repository', self.repo.root, '--verbose',
'--output', epath]
for rev in revisions:
|
Loading...