Commits

Augie Fackler committed 967acab

revset: rename variable for clarity

  • Participants
  • Parent commits 4755aeb

Comments (0)

Files changed (1)

hg_remotebranches.py

     baseset = lambda x: x
 
 def upstream_revs(filt, repo, subset, x):
-    nodes = [node.hex(n) for name, n in
+    upstream_tips = [node.hex(n) for name, n in
              repo._remotebranches.iteritems() if filt(name)]
-    if not nodes: []
+    if not upstream_tips: []
     upstream = reduce(lambda x, y: x.update(y) or x,
                       map(lambda x: set(revset.ancestors(repo, subset, x)),
-                          [('string', n) for n in nodes]),
+                          [('string', n) for n in upstream_tips]),
                       set())
     return baseset([r for r in subset if r in upstream])