patch: add debug message to show external patch tool invocation
Differential Revision: https://phab.mercurial-scm.org/D3619
--- 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):