D1751: histedit: add ui.log for action count
phillco (Phil Cohen)
phabricator at mercurial-scm.org
Fri Dec 22 16:26:04 EST 2017
phillco updated this revision to Diff 4590.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1751?vs=4589&id=4590
REVISION DETAIL
https://phab.mercurial-scm.org/D1751
AFFECTED FILES
hgext/histedit.py
CHANGE DETAILS
diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1310,6 +1310,9 @@
state.topmost = topmost
state.replacements = []
+ ui.log("histedit", "%d actions to histedit", len(actions),
+ histedit_num_actions=len(actions))
+
# Create a backup so we can always abort completely.
backupfile = None
if not obsolete.isenabled(repo, obsolete.createmarkersopt):
To: phillco, durin42, #hg-reviewers, quark
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list