1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

David Golub  committed 601ccec

cmdui: eliminate extra prompt when hg commands are invoked

  • Participants
  • Parent commits d8c664d
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/cmdui.py

View file
  • Ignore whitespace
 
     @_cmdtable
     def _cmd_hg(self, args):
-        self.suppressPrompt = True
         self.closePrompt()
         if self._repo:
             args = ['--cwd', self._repo.root] + args
-        try:
-            self._cmdcore.run(args)
-        finally:
-            self.suppressPrompt = False
-            self.openPrompt()
+        self._cmdcore.run(args)
 
     @_cmdtable
     def _cmd_thg(self, args):