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 file list generation

Changeset 1fd84eec236e

Parent c80e985df79a

by Steve Borho

Changes to one file · Browse files at 1fd84eec236e Showing diff from parent c80e985df79a Diff from another changeset...

 
495
496
497
 
 
498
499
500
 
501
502
503
504
505
 
 
 
 
506
507
508
 
495
496
497
498
499
500
 
 
501
502
 
 
 
 
503
504
505
506
507
508
509
@@ -495,14 +495,15 @@
  def refreshFileListWidget(self):   # TODO: maintain selection, check state   self.fileListWidget.clear() + pctx = self.repo.changectx('.') + newmode = self.newCheckBox.isChecked()   M, A, R = self.repo[None].status()[:3] - pctx = self.repo.changectx('.') - if 'qtip' in pctx.tags(): + if not newmode and 'qtip' in pctx.tags():   pm, pa, pr = self.repo.status(pctx.p1().node(), pctx.node())[:3] - M = pm + M - A = pa + A - R = pr + R - elif not self.newCheckBox.isChecked(): + M = set(pm) or set(M) + A = set(pa) or set(A) + R = set(pr) or set(R) + elif not newmode:   return   flags = Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled   for file in M: