Mercurial > public > mercurial-scm > hg-stable
diff tests/test-share.t @ 31770: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 | bdcaf612e75a |
children | 9e67ce5c4fd0 |
line wrap: on
line diff
--- a/tests/test-share.t Sat Apr 01 14:48:39 2017 -0400 +++ b/tests/test-share.t Sat Apr 01 15:23:26 2017 -0400 @@ -168,11 +168,11 @@ $ cat > $TESTTMP/checkbookmarks.sh <<EOF > echo "@repo1" - > hg -R $TESTTMP/repo1 bookmarks + > hg -R "$TESTTMP/repo1" bookmarks > echo "@repo2" - > hg -R $TESTTMP/repo2 bookmarks + > hg -R "$TESTTMP/repo2" bookmarks > echo "@repo3" - > hg -R $TESTTMP/repo3 bookmarks + > hg -R "$TESTTMP/repo3" bookmarks > exit 1 # to avoid adding new bookmark for subsequent tests > EOF