# HG changeset patch # User Augie Fackler # Date 1526757296 14400 # Node ID f3776f70985e7e1591cb182d39e03ce387d9140b # Parent 42476b8b738bb2d92767aec2acff919daac6c8aa patch: add debug message to show external patch tool invocation Differential Revision: https://phab.mercurial-scm.org/D3619 diff -r 42476b8b738b -r f3776f70985e 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):