Mercurial > hg-stable
changeset 38125:f3776f70985e
patch: add debug message to show external patch tool invocation
Differential Revision: https://phab.mercurial-scm.org/D3619
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 19 May 2018 15:14:56 -0400 |
parents | 42476b8b738b |
children | 0b39edeff033 |
files | mercurial/patch.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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):