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

archive: echo output+progress to workbench log widget

Changeset e3cc88804e20

Parent 1e64cbe2e5f5

by Johan Samyn

Changes to 2 files · Browse files at e3cc88804e20 Showing diff from parent 1e64cbe2e5f5 Diff from another changeset...

 
18
19
20
21
 
22
23
24
25
26
27
 
 
 
 
28
29
30
 
92
93
94
 
 
 
95
96
97
 
18
19
20
 
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
96
97
98
99
100
101
102
103
104
@@ -18,13 +18,17 @@
   from tortoisehg.hgqt.i18n import _  from tortoisehg.util import hglib, paths -from tortoisehg.hgqt import cmdui, qtlib, thgrepo +from tortoisehg.hgqt import cmdui, qtlib, thgrepo, thread    WD_PARENT = _('= Working Directory Parent =')    class ArchiveDialog(QDialog):   """ Dialog to archive a particular Mercurial revision """   + output = pyqtSignal(thread.DataWrapper) + makeLogVisible = pyqtSignal(bool) + progress = pyqtSignal(thread.DataWrapper) +   def __init__(self, ui, repo, rev=None, parent=None):   super(ArchiveDialog, self).__init__(parent)   @@ -92,6 +96,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)   self.vbox.addWidget(self.cmd)  
 
596
597
598
 
 
 
599
600
601
 
596
597
598
599
600
601
602
603
604
@@ -596,6 +596,9 @@
    def archiveRevision(self):   dlg = archive.ArchiveDialog(self.repo.ui, self.repo, self.rev, self) + dlg.makeLogVisible.connect(self.makeLogVisible) + dlg.output.connect(self.output) + dlg.progress.connect(self.progress)   dlg.exec_()     def copyHash(self):