changeset 35490:784a85c87c22

histedit: add ui.log for action count Differential Revision: https://phab.mercurial-scm.org/D1751
author Phil Cohen <phillco@fb.com>
date Fri, 22 Dec 2017 15:25:34 -0600
parents 212a6e9aecb0
children ded3a63f305b
files hgext/histedit.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):