changeset 20990:d9e211a658eb

copies: guard debug section with ui.debugflag
author Mads Kiilerich <madski@unity3d.com>
date Tue, 25 Feb 2014 20:31:53 +0100
parents e8533ec2d222
children a05d694599f9
files mercurial/copies.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/copies.py	Tue Feb 25 20:31:51 2014 +0100
+++ b/mercurial/copies.py	Tue Feb 25 20:31:53 2014 +0100
@@ -272,7 +272,7 @@
         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):