equal
deleted
inserted
replaced
922 |
922 |
923 (check visible bookmarks while transaction running in repo) |
923 (check visible bookmarks while transaction running in repo) |
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 |
933 $ cd ../repo |
933 $ cd ../repo |
934 $ hg --config hooks.pretxnclose="sh $TESTTMP/checkpending.sh" bookmarks NEW |
934 $ hg --config hooks.pretxnclose="sh $TESTTMP/checkpending.sh" bookmarks NEW |