# HG changeset patch # User Mads Kiilerich # Date 2014-02-25 19:31:53 # Node ID d9e211a658eb4fb17e1d951bcd9438d4b2c8ddb2 # Parent e8533ec2d222490278893c34a03fbccf7f25262c copies: guard debug section with ui.debugflag diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -272,7 +272,7 @@ def mergecopies(repo, c1, c2, ca): if len(fl) == 2 and fl[0] == fl[1]: copy[fl[0]] = of # not actually divergent, just matching renames - if fullcopy: + if fullcopy and repo.ui.debugflag: repo.ui.debug(" all copies found (* = to merge, ! = divergent, " "% = renamed and deleted):\n") for f in sorted(fullcopy):