diff hgext/histedit.py @ 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 a51541681b8d
children 73621823a1ac
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):