Patchwork D3619: patch: add debug message to show external patch tool invocation

login
register
mail settings
Submitter phabricator
Date May 19, 2018, 7:50 p.m.
Message ID <d4bb4299fce086a0daa953ee73918d0d@localhost.localdomain>
Download mbox | patch
Permalink /patch/31739/
State Not Applicable
Headers show

Comments

phabricator - May 19, 2018, 7:50 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf3776f70985e: patch: add debug message to show external patch tool invocation (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3619?vs=8791&id=8821

REVISION DETAIL
  https://phab.mercurial-scm.org/D3619

AFFECTED FILES
  mercurial/patch.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/patch.py b/mercurial/patch.py
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -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):