D1751: histedit: add ui.log for action count

phillco (Phil Cohen) phabricator at mercurial-scm.org
Fri Dec 22 21:08:27 EST 2017


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

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



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


More information about the Mercurial-devel mailing list