fastobs: rename var from `node` to `rev`
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 27 Feb 2014 17:20:34 -0800
changeset 815 916bebf91c41
parent 814 e629a4f9d498
child 816 03587920dfd9
fastobs: rename var from `node` to `rev` It contains revision (from repo.revs not node).
hgext/hgfastobs.py
--- a/hgext/hgfastobs.py	Thu Feb 27 17:11:09 2014 -0800
+++ b/hgext/hgfastobs.py	Thu Feb 27 17:20:34 2014 -0800
@@ -94,8 +94,8 @@
     transmit = []
     for node in outgoing.missing:
         transmit.extend(obsolete.precursormarkers(urepo[node]))
-    for node in boxedges:
-        transmit.extend(obsolete.successormarkers(urepo[node]))
+    for rev in boxedges:
+        transmit.extend(obsolete.successormarkers(urepo[rev]))
     transmit = list(set(transmit))
     xmit, total = len(transmit), len(repo.obsstore._all)
     repo.ui.status(