# HG changeset patch # User Phil Cohen # Date 1513977934 21600 # Node ID 784a85c87c22b70958f119abcbec138fa8019161 # Parent 212a6e9aecb0ea0a24f62b245ed716fbb9a44c41 histedit: add ui.log for action count Differential Revision: https://phab.mercurial-scm.org/D1751 diff -r 212a6e9aecb0 -r 784a85c87c22 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):