Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.3rc1, 0.3, and 0.4rc1

hggtk/vis: protect against filelog rename parents

filectx.parents() can return references to other filelogs if the
file was renamed that version.

Changeset e4b34a278451

Parent 69675240256b

by Steve Borho

Changes to one file · Browse files at e4b34a278451 Showing diff from parent 69675240256b Diff from another changeset...

 
98
99
100
101
 
102
103
104
 
98
99
100
 
101
102
103
104
@@ -98,7 +98,7 @@
  next_revs = revs[:]     # Add parents to next_revs. - parents = [f.filerev() for f in fctx.parents()] + parents = [f.filerev() for f in fctx.parents() if f.path() == path]   parents_to_add = []   for parent in parents:   if parent not in next_revs: