patch: add debug message to show external patch tool invocation
authorAugie Fackler <augie@google.com>
Sat, 19 May 2018 15:14:56 -0400
changeset 38092 f3776f70985e
parent 38091 42476b8b738b
child 38093 0b39edeff033
patch: add debug message to show external patch tool invocation Differential Revision: https://phab.mercurial-scm.org/D3619
mercurial/patch.py
--- a/mercurial/patch.py	Sat May 19 20:04:54 2018 +0530
+++ b/mercurial/patch.py	Sat May 19 15:14:56 2018 -0400
@@ -2113,6 +2113,7 @@
         args.append('-d %s' % procutil.shellquote(cwd))
     cmd = ('%s %s -p%d < %s'
            % (patcher, ' '.join(args), strip, procutil.shellquote(patchname)))
+    ui.debug('Using external patch tool: %s\n' % cmd)
     fp = procutil.popen(cmd, 'rb')
     try:
         for line in util.iterfile(fp):