Mercurial > public > mercurial-scm > hg
diff tests/test-hook.t @ 31767:6c800688afe1
tests: quote paths in shell script hooks
Without the quoting, MSYS will remove the '\' directory separators, and the repo
can't be opened.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 01 Apr 2017 15:23:26 -0400 |
parents | aff7b32b3c05 |
children | c2380b448265 |
line wrap: on
line diff
--- a/tests/test-hook.t Sat Apr 01 14:48:39 2017 -0400 +++ b/tests/test-hook.t Sat Apr 01 15:23:26 2017 -0400 @@ -857,9 +857,9 @@ $ cat > $TESTTMP/checkpending.sh <<EOF > echo '@a' - > hg -R $TESTTMP/a tip -q + > hg -R "$TESTTMP/a" tip -q > echo '@a/nested' - > hg -R $TESTTMP/a/nested tip -q + > hg -R "$TESTTMP/a/nested" tip -q > exit 1 # to avoid adding new revision for subsequent tests > EOF $ hg init nested