Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.4, 2.0.5, and 2.1

stable chunks: compare chunks more precisely at refresh (fixes #517)

Changeset 59bb6f267b33

Parent 991806a2e11d

by Steve Borho

Changes to one file · Browse files at 59bb6f267b33 Showing diff from parent 991806a2e11d Diff from another changeset...

 
576
577
578
579
 
 
580
581
582
 
627
628
629
630
 
631
632
 
576
577
578
 
579
580
581
582
583
 
628
629
630
 
631
632
633
@@ -576,7 +576,8 @@
  def displayFile(self, filename, status):   self.clearDisplay()   if filename == self._lastfile: - reenable = [c.fromline for c in self.curchunks[1:] if c.selected] + reenable = [(c.fromline, len(c.before)) for c in self.curchunks[1:]\ + if c.selected]   else:   reenable = []   self._lastfile = filename @@ -627,6 +628,6 @@
  self.countselected = 0   self.curchunks = chunks   for c in chunks[1:]: - if c.fromline in reenable: + if (c.fromline, len(c.before)) in reenable:   self.toggleChunk(c)   self.updateSummary()