obsolete: fix old typo

Clean an old typo in successorssets.

Differential Revision: https://phab.mercurial-scm.org/D531
This commit is contained in:
Boris Feld 2017-07-03 03:56:53 +02:00
parent 6f2f6266d0
commit 6cbbcf714c

View File

@ -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)