Adrian Buehlmann  committed 0c93a31

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\", line 224, in closeEvent
super(PatchBranchWidget, self).closeEvent(event)
NameError: global name 'PatchBranchWidget' is not defined

  • Participants
  • Parent commits 38bd971
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

     def closeEvent(self, event):
-        super(PatchBranchWidget, self).closeEvent(event)
+        super(MQWidget, self).closeEvent(event)
     def getUserOptions(self, *optionlist):
         out = []