mercurial/debugcommands.py
changeset 37044 d3a9036d9ae9
parent 37013 b6a7070e7663
child 37045 a708e1e4d7a8
--- a/mercurial/debugcommands.py	Wed Mar 21 09:56:41 2018 -0700
+++ b/mercurial/debugcommands.py	Tue Mar 13 11:20:07 2018 -0700
@@ -2839,9 +2839,13 @@
                 r'loggingname': b's',
                 r'loggingopts': {
                     r'logdata': True,
+                    r'logdataapis': False,
                 },
             }
 
+        if ui.debugflag:
+            openerargs[r'loggingopts'][r'logdataapis'] = True
+
         opener = urlmod.opener(ui, authinfo, **openerargs)
 
         if opts['peer'] == 'raw':