Submitter | phabricator |
---|---|
Date | Aug. 28, 2017, 2:40 p.m. |
Message ID | <0732496790ee8086427309c3adfb2834@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/23401/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/obsutil.py b/mercurial/obsutil.py --- a/mercurial/obsutil.py +++ b/mercurial/obsutil.py @@ -562,9 +562,9 @@ # 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)