##// END OF EJS Templates
tests: quote paths in shell script hooks...
Matt Harbison -
r31767:6c800688 default
parent child Browse files
Show More
@@ -924,9 +924,9 b' repositories visible to an external hook'
924
924
925 $ cat > $TESTTMP/checkpending.sh <<EOF
925 $ cat > $TESTTMP/checkpending.sh <<EOF
926 > echo "@repo"
926 > echo "@repo"
927 > hg -R $TESTTMP/repo bookmarks
927 > hg -R "$TESTTMP/repo" bookmarks
928 > echo "@unrelated"
928 > echo "@unrelated"
929 > hg -R $TESTTMP/unrelated bookmarks
929 > hg -R "$TESTTMP/unrelated" bookmarks
930 > exit 1 # to avoid adding new bookmark for subsequent tests
930 > exit 1 # to avoid adding new bookmark for subsequent tests
931 > EOF
931 > EOF
932
932
@@ -857,9 +857,9 b' repo)'
857
857
858 $ cat > $TESTTMP/checkpending.sh <<EOF
858 $ cat > $TESTTMP/checkpending.sh <<EOF
859 > echo '@a'
859 > echo '@a'
860 > hg -R $TESTTMP/a tip -q
860 > hg -R "$TESTTMP/a" tip -q
861 > echo '@a/nested'
861 > echo '@a/nested'
862 > hg -R $TESTTMP/a/nested tip -q
862 > hg -R "$TESTTMP/a/nested" tip -q
863 > exit 1 # to avoid adding new revision for subsequent tests
863 > exit 1 # to avoid adding new revision for subsequent tests
864 > EOF
864 > EOF
865 $ hg init nested
865 $ hg init nested
@@ -609,9 +609,9 b' repositories visible to an external hook'
609
609
610 $ cat > $TESTTMP/checkpending.sh <<EOF
610 $ cat > $TESTTMP/checkpending.sh <<EOF
611 > echo '@initialrepo'
611 > echo '@initialrepo'
612 > hg -R $TESTTMP/initialrepo phase 7
612 > hg -R "$TESTTMP/initialrepo" phase 7
613 > echo '@push-dest'
613 > echo '@push-dest'
614 > hg -R $TESTTMP/push-dest phase 6
614 > hg -R "$TESTTMP/push-dest" phase 6
615 > exit 1 # to avoid changing phase for subsequent tests
615 > exit 1 # to avoid changing phase for subsequent tests
616 > EOF
616 > EOF
617 $ cd ../initialrepo
617 $ cd ../initialrepo
@@ -168,11 +168,11 b' Therefore, this test scenario ignores ch'
168
168
169 $ cat > $TESTTMP/checkbookmarks.sh <<EOF
169 $ cat > $TESTTMP/checkbookmarks.sh <<EOF
170 > echo "@repo1"
170 > echo "@repo1"
171 > hg -R $TESTTMP/repo1 bookmarks
171 > hg -R "$TESTTMP/repo1" bookmarks
172 > echo "@repo2"
172 > echo "@repo2"
173 > hg -R $TESTTMP/repo2 bookmarks
173 > hg -R "$TESTTMP/repo2" bookmarks
174 > echo "@repo3"
174 > echo "@repo3"
175 > hg -R $TESTTMP/repo3 bookmarks
175 > hg -R "$TESTTMP/repo3" bookmarks
176 > exit 1 # to avoid adding new bookmark for subsequent tests
176 > exit 1 # to avoid adding new bookmark for subsequent tests
177 > EOF
177 > EOF
178
178
General Comments 0
You need to be logged in to leave comments. Login now