Patchwork D11272: contrib: log the command and args for every process installing windows deps

login
register
mail settings
Submitter phabricator
Date Aug. 10, 2021, 12:46 a.m.
Message ID <differential-rev-PHID-DREV-3znogp2xnokblcvdhbbw-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49586/
State Superseded
Headers show

Comments

phabricator - Aug. 10, 2021, 12:46 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is a little noisier, but makes it simple to debug when things fail.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  contrib/install-windows-dependencies.ps1

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/contrib/install-windows-dependencies.ps1 b/contrib/install-windows-dependencies.ps1
--- a/contrib/install-windows-dependencies.ps1
+++ b/contrib/install-windows-dependencies.ps1
@@ -91,6 +91,8 @@ 
 }
 
 function Invoke-Process($path, $arguments) {
+    echo "$path $arguments"
+
     $p = Start-Process -FilePath $path -ArgumentList $arguments -Wait -PassThru -WindowStyle Hidden
 
     if ($p.ExitCode -ne 0) {