histedit: add ui.log for action count
authorPhil Cohen <phillco@fb.com>
Fri, 22 Dec 2017 15:25:34 -0600
changeset 35494 784a85c87c22
parent 35493 212a6e9aecb0
child 35495 ded3a63f305b
histedit: add ui.log for action count Differential Revision: https://phab.mercurial-scm.org/D1751
hgext/histedit.py
--- a/hgext/histedit.py	Fri Dec 22 17:04:08 2017 -0700
+++ b/hgext/histedit.py	Fri Dec 22 15:25:34 2017 -0600
@@ -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):