changeset 17123:8e030168b09e

debugobsolete: remove spurious ctx from variable name 'contexts' are objects like the ones described in context.py, not anything that describes a situation.
author Matt Mackall <mpm@selenic.com>
date Wed, 11 Jul 2012 18:35:14 -0500
parents 5d6cbfa975bf
children f1b7683f3f95
files mercurial/commands.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Jul 06 20:28:32 2012 -0700
+++ b/mercurial/commands.py	Wed Jul 11 18:35:14 2012 -0500
@@ -2065,13 +2065,13 @@
         finally:
             l.release()
     else:
-        for mctx in obsolete.allmarkers(repo):
-            ui.write(hex(mctx.precnode()))
-            for repl in mctx.succnodes():
+        for m in obsolete.allmarkers(repo):
+            ui.write(hex(m.precnode()))
+            for repl in m.succnodes():
                 ui.write(' ')
                 ui.write(hex(repl))
-            ui.write(' %X ' % mctx._data[2])
-            ui.write(mctx.metadata())
+            ui.write(' %X ' % m._data[2])
+            ui.write(m.metadata())
             ui.write('\n')
 
 @command('debugpushkey', [], _('REPO NAMESPACE [KEY OLD NEW]'))