debugobsolete: remove spurious ctx from variable name
'contexts' are objects like the ones described in context.py, not
anything that describes a situation.
--- 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]'))