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

thgrepo: force rebuild of mq.queue() instance at invalidations

Changeset 818f76d9d7a5

Parent ebedbef5b168

by Steve Borho

Changes to one file · Browse files at 818f76d9d7a5 Showing diff from parent ebedbef5b168 Diff from another changeset...

 
452
453
454
455
456
 
 
 
 
457
458
459
 
465
466
467
468
469
470
471
 
452
453
454
 
 
455
456
457
458
459
460
461
 
467
468
469
 
470
471
472
@@ -452,8 +452,10 @@
  self.dirstate.invalidate()   if not isinstance(repo, bundlerepo.bundlerepository):   self.invalidate() - if hasattr(self, 'mq'): - self.mq.invalidate() + # mq.queue.invalidate does not handle queue changes, so force + # the queue object to be rebuilt + if 'mq' in self.__dict__: + delattr(self, 'mq')   for a in _thgrepoprops + _uiprops:   if a in self.__dict__:   delattr(self, a) @@ -465,7 +467,6 @@
  for a in _uiprops:   if a in self.__dict__:   delattr(self, a) - # todo: extensions.loadall(self.ui)     def incrementBusyCount(self):   'A GUI widget is starting a transaction'