mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
obsolete: fix old typo
Clean an old typo in successorssets. Differential Revision: https://phab.mercurial-scm.org/D531
This commit is contained in:
parent
6f2f6266d0
commit
6cbbcf714c
@ -562,9 +562,9 @@ def successorssets(repo, initialnode, closest=False, cache=None):
|
||||
# remove duplicated and subset
|
||||
seen = []
|
||||
final = []
|
||||
candidate = sorted((s for s in succssets if s),
|
||||
key=len, reverse=True)
|
||||
for cand in candidate:
|
||||
candidates = sorted((s for s in succssets if s),
|
||||
key=len, reverse=True)
|
||||
for cand in candidates:
|
||||
for seensuccs in seen:
|
||||
if cand.canmerge(seensuccs):
|
||||
seensuccs.markers.update(cand.markers)
|
||||
|
Loading…
Reference in New Issue
Block a user