Yuya Nishihara  committed 3380d68

run: exit as error if no dialog is provided

dlgfunc may return None if command-line arguments are invalid. In such case,
Qt's eventloop shouldn't be executed. Otherwise TortoiseHg process won't exit.

  • Participants
  • Parent commits 5d2c4ed
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

             if dlg:
+            else:
+                return -1
             # Exception before starting eventloop needs to be postponed;
             # otherwise it will be ignored silently.