Commits

Anonymous committed b418259

hgcmd: add method to check command execution status

  • Participants
  • Parent commits 48d1349

Comments (0)

Files changed (1)

             self.last_pbar_update = tm
             self.pbar.pulse()
 
+    def return_code(self):
+        return self.hgthread.return_code()
+
 def run(cmdline=[], gui=True, **opts):
     if not gui:
         q = Queue.Queue()