histedit: display action being processed in debug mode
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 21 Sep 2012 19:25:19 +0200
changeset 17645 4721fc933943
parent 17644 9ae073f10572
child 17646 d44731a3adb8
histedit: display action being processed in debug mode This is very useful when debugging histedit.
hgext/histedit.py
--- a/hgext/histedit.py	Fri Sep 21 19:24:31 2012 +0200
+++ b/hgext/histedit.py	Fri Sep 21 19:25:19 2012 +0200
@@ -553,6 +553,7 @@
         writestate(repo, parentctx.node(), created, replaced,
                    tmpnodes, existing, rules, keep, tip, replacemap)
         action, ha = rules.pop(0)
+        ui.debug('histedit: processing %s %s\n' % (action, ha))
         (parentctx, created_, replaced_, tmpnodes_) = actiontable[action](
             ui, repo, parentctx, ha, opts)