Skip to content
Snippets Groups Projects
Commit 4f8c241b authored by Matt Harbison's avatar Matt Harbison
Browse files

test-pushvars: invoke shell script hook via `sh` for Windows

Invoking *.sh on Windows leads to the "what program should open this?" prompt,
which stalls the test and led to the recent series of exceptions on the Windows
test machine as the runner times out.
parent cf300c1a
Branches
Tags
No related merge requests found
......@@ -8,6 +8,5 @@
> env | egrep "^HG_USERVAR_(DEBUG|BYPASS_REVIEW)" | sort
> exit 0
> EOF
$ chmod +x $TESTTMP/pretxnchangegroup.sh
$ cat >> $HGRCPATH << EOF
> [hooks]
......@@ -12,6 +11,6 @@
$ cat >> $HGRCPATH << EOF
> [hooks]
> pretxnchangegroup = $TESTTMP/pretxnchangegroup.sh
> pretxnchangegroup = sh $TESTTMP/pretxnchangegroup.sh
> [experimental]
> bundle2-exp = true
> EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment