Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

rename: prepare to echo output+progress to workbench log widget

Changeset a17a1162d48c

Parent 62c8971d744c

by Johan Samyn

Changes to one file · Browse files at a17a1162d48c Showing diff from parent 62c8971d744c Diff from another changeset...

 
15
16
17
18
 
19
20
21
22
23
24
 
 
 
 
25
26
27
 
89
90
91
 
 
 
92
93
94
 
15
16
17
 
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
93
94
95
96
97
98
99
100
101
@@ -15,13 +15,17 @@
 from mercurial import hg, ui, util, commands, error    from tortoisehg.hgqt.i18n import _ -from tortoisehg.hgqt import cmdui, qtlib, thgrepo +from tortoisehg.hgqt import cmdui, qtlib, thgrepo, thread  from tortoisehg.util import hglib, paths      class RenameDialog(QDialog):   """TortoiseHg rename dialog"""   + output = pyqtSignal(thread.DataWrapper) + makeLogVisible = pyqtSignal(bool) + progress = pyqtSignal(thread.DataWrapper) +   def __init__(self, ui, pats, parent=None, **opts):   super(RenameDialog, self).__init__(parent=None)   iscopy = (opts.get('alias') == 'copy') @@ -89,6 +93,9 @@
  self.cmd.commandStarted.connect(self.command_started)   self.cmd.commandFinished.connect(self.command_finished)   self.cmd.commandCanceling.connect(self.command_canceling) + self.cmd.output.connect(self.output) + self.cmd.makeLogVisible.connect(self.makeLogVisible) + self.cmd.progress.connect(self.progress)   self.cmd.setHidden(True)     # bottom buttons