Mercurial > hg
comparison tests/test-phases.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 | b7cef987356d |
children | 24f55686a63d |
comparison
equal
deleted
inserted
replaced
31766:bdcaf612e75a | 31767:6c800688afe1 |
---|---|
607 | 607 |
608 (check (in)visibility of phaseroot while transaction running in repo) | 608 (check (in)visibility of phaseroot while transaction running in repo) |
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 |
618 $ hg phase 7 | 618 $ hg phase 7 |
619 7: public | 619 7: public |