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

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 5a04da4b8e48

Parent e5852eda3750

by Adrian Buehlmann

Changes to one file · Browse files at 5a04da4b8e48 Showing diff from parent e5852eda3750 Diff from another changeset...

 
221
222
223
224
 
225
226
227
 
221
222
223
 
224
225
226
227
@@ -221,7 +221,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 = []