Changeset e3cc88804e20…
Parent 1e64cbe2e5f5…
by
Changes to 2 files · Browse files at e3cc88804e20 Showing diff from parent 1e64cbe2e5f5 Diff from another changeset...
@@ -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,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):
|
Loading...