Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable thgimport: emit a signal when a patch is imported

Changeset b03748505f22

Parent 045466db2c40

by Steve Borho

Changes to one file · Browse files at b03748505f22 Showing diff from parent 045466db2c40 Diff from another changeset...

 
26
27
28
 
29
30
31
 
308
309
310
 
 
311
312
313
 
26
27
28
29
30
31
32
 
309
310
311
312
313
314
315
316
@@ -26,6 +26,7 @@
   class ImportDialog(QDialog):   """Dialog to import patches""" + patchImported = pyqtSignal()     def __init__(self, repo, parent, **opts):   super(ImportDialog, self).__init__(parent) @@ -308,6 +309,8 @@
    def command_finished(self, ret):   self.repo.decrementBusyCount() + if ret == 0: + self.patchImported.emit()   if ret is not 0 or self.cmd.outputShown():   self.detail_btn.setChecked(True)   self.close_btn.setShown(True)