Commits

Steve Borho  committed f8d746a

mq: fix reload problems

#1 - selecting guards was making the repo busy count negative.. no more events
#2 - since guards are now polled, there's no need to manually reload

  • Participants
  • Parent commits b51204c

Comments (0)

Files changed (1)

File tortoisehg/hgqt/mq.py

         self.repo.decrementBusyCount()
         if ret is not 0:
             pass # TODO: look for reject notifications
-        self.reload() # TODO: probably redundant
 
     @pyqtSlot()
     def onPushAll(self):
             newguards.remove(guard)
         cmdline = ['qselect', '-R', self.repo.root]
         cmdline += newguards or ['--none']
+        self.repo.incrementBusyCount()
         self.cmd.run(cmdline)
 
     # Capture drop events, try to import into current patch queue