From patchwork Fri Dec 22 21:18:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1751: histedit: add ui.log for action count From: phabricator X-Patchwork-Id: 26413 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Fri, 22 Dec 2017 21:18:56 +0000 phillco created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1751 AFFECTED FILES hgext/histedit.py CHANGE DETAILS To: phillco, durin42, #hg-reviewers Cc: mercurial-devel 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):