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

stable filelistmodel: compare context nodes, not just context revisions

changectx.__eq__ compares the revision number of each revision. This is not
useful in a world that includes qrefresh.

Changeset 725f4d89bfd4

Parent 378fcd76105c

by Steve Borho

Changes to one file · Browse files at 725f4d89bfd4 Showing diff from parent 378fcd76105c Diff from another changeset...

 
66
67
68
69
 
70
71
72
 
66
67
68
 
69
70
71
72
@@ -66,7 +66,7 @@
    def setContext(self, ctx):   self.contextChanged.emit(ctx) - if ctx != self._ctx: + if not self._ctx or ctx.node() != self._ctx.node():   self._ctx = ctx   self.loadFiles()   self.layoutChanged.emit()