mercurial/httppeer.py
branchstable
changeset 38032 f9dc1d5b676b
parent 37832 6169d95dce3b
child 38033 13b2812cff2b
--- a/mercurial/httppeer.py	Tue May 15 22:12:55 2018 +0900
+++ b/mercurial/httppeer.py	Fri May 04 19:06:46 2018 +0200
@@ -319,7 +319,7 @@
         ui.traceback()
         raise IOError(None, inst)
     finally:
-        if ui.configbool('devel', 'debug.peer-request'):
+        if ui.debugflag and ui.configbool('devel', 'debug.peer-request'):
             dbg(line % '  finished in %.4f seconds (%d)'
                 % (util.timer() - start, res.code))