Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

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

Changeset f8d746a31975

Parent b51204c63e61

by Steve Borho

Changes to one file · Browse files at f8d746a31975 Showing diff from parent b51204c63e61 Diff from another changeset...

 
234
235
236
237
238
239
240
 
658
659
660
 
661
662
663
 
234
235
236
 
237
238
239
 
657
658
659
660
661
662
663
@@ -234,7 +234,6 @@
  self.repo.decrementBusyCount()   if ret is not 0:   pass # TODO: look for reject notifications - self.reload() # TODO: probably redundant     @pyqtSlot()   def onPushAll(self): @@ -658,6 +657,7 @@
  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