Patchwork D1751: histedit: add ui.log for action count

login
register
mail settings
Submitter phabricator
Date Dec. 22, 2017, 9:26 p.m.
Message ID <eb5784e561a53d20f84f6aa048be2c40@localhost.localdomain>
Download mbox | patch
Permalink /patch/26414/
State Not Applicable
Headers show

Comments

phabricator - Dec. 22, 2017, 9:26 p.m.
phillco updated this revision to Diff 4590.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1751?vs=4589&id=4590

REVISION DETAIL
  https://phab.mercurial-scm.org/D1751

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




To: phillco, durin42, #hg-reviewers, quark
Cc: mercurial-devel

Patch

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):