Patchwork [3,of,7] histedit: remove "should strip" debug message

login
register
mail settings
Submitter Jun Wu
Date July 8, 2017, 11:51 p.m.
Message ID <e7e252fc902cb8bde126.1499557891@x1c>
Download mbox | patch
Permalink /patch/22139/
State Accepted
Headers show

Comments

Jun Wu - July 8, 2017, 11:51 p.m.
# HG changeset patch
# User Jun Wu <quark@fb.com>
# Date 1499557831 25200
#      Sat Jul 08 16:50:31 2017 -0700
# Node ID e7e252fc902cb8bde126a05557e6f744dd10e8db
# Parent  b81424281f4ae58803a20c607c83359948b4fb61
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r e7e252fc902c
histedit: remove "should strip" debug message

The debug message was not used anywhere. Removed it to make
scmutil.cleanupnodes migration easier to reason about.

Patch

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1594,6 +1594,4 @@  def cleanupnode(ui, repo, name, nodes):
 
     The set of node to strip may contains unknown nodes."""
-    ui.debug('should strip %s nodes %s\n' %
-             (name, ', '.join([node.short(n) for n in nodes])))
     with repo.lock():
         # do not let filtering get in the way of the cleanse