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

login
register
mail settings
Submitter phabricator
Date Dec. 23, 2017, 2:08 a.m.
Message ID <ae1197dfa3aed5dee2ad93bedad60801@localhost.localdomain>
Download mbox | patch
Permalink /patch/26423/
State Not Applicable
Headers show

Comments

phabricator - Dec. 23, 2017, 2:08 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG784a85c87c22: histedit: add ui.log for action count (authored by phillco, committed by ).

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




To: phillco, durin42, #hg-reviewers, quark, yuja
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):