Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.5, 2.1, and 2.1.1

stable mq: fix traceback when closing standalone mq dialog

When starting the standalone mq dialog with 'thg mq' on the command line
I got

$ set THGDEBUG=1
$ thg --nofork mq
add file to watcher: C:\Users\adi\hgrepos\tests\a\.hg/store/00changelog.i
add file to watcher: C:\Users\adi\hgrepos\tests\a\.hg\bookmarks
add file to watcher: C:\Users\adi\hgrepos\tests\a\.hg\patches\series
Traceback (most recent call last):
File "C:\Users\adi\hgrepos\thg-qt\tortoisehg\hgqt\mq.py", line 224, in closeEvent
super(PatchBranchWidget, self).closeEvent(event)
NameError: global name 'PatchBranchWidget' is not defined

Changeset 0c93a3122251

Parent 38bd971853d1

by Adrian Buehlmann

Changes to one file · Browse files at 0c93a3122251 Showing diff from parent 38bd971853d1 Diff from another changeset...

 
218
219
220
221
 
222
223
224
 
218
219
220
 
221
222
223
224
@@ -218,7 +218,7 @@
  def closeEvent(self, event):   self.repo.configChanged.disconnect(self.onConfigChanged)   self.repo.repositoryChanged.disconnect(self.onRepositoryChanged) - super(PatchBranchWidget, self).closeEvent(event) + super(MQWidget, self).closeEvent(event)     def getUserOptions(self, *optionlist):   out = []