changeset 17645:4721fc933943

histedit: display action being processed in debug mode This is very useful when debugging histedit.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 21 Sep 2012 19:25:19 +0200
parents 9ae073f10572
children d44731a3adb8
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)