D531: obsolete: fix old typo

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Mon Aug 28 10:40:36 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG54c21114e41d: obsolete: fix old typo (authored by lothiraldan).

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D531?vs=1335&id=1354#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D531?vs=1335&id=1354

REVISION DETAIL
  https://phab.mercurial-scm.org/D531

AFFECTED FILES
  mercurial/obsutil.py

CHANGE DETAILS

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)



To: lothiraldan, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list