equal
deleted
inserted
replaced
96 revs.append(filerev) |
96 revs.append(filerev) |
97 rev_index = revs.index(filerev) |
97 rev_index = revs.index(filerev) |
98 next_revs = revs[:] |
98 next_revs = revs[:] |
99 |
99 |
100 # Add parents to next_revs. |
100 # Add parents to next_revs. |
101 parents = [f.filerev() for f in fctx.parents()] |
101 parents = [f.filerev() for f in fctx.parents() if f.path() == path] |
102 parents_to_add = [] |
102 parents_to_add = [] |
103 for parent in parents: |
103 for parent in parents: |
104 if parent not in next_revs: |
104 if parent not in next_revs: |
105 parents_to_add.append(parent) |
105 parents_to_add.append(parent) |
106 parents_to_add.sort() |
106 parents_to_add.sort() |