##// END OF EJS Templates
merge with crew-stable
merge with crew-stable

File last commit:

r6360:95413879 default
r7052:0ca4f42d merge default
Show More
test-mq-symlinks
25 lines | 331 B | text/plain | TextLexer
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157 #!/bin/sh
Patrick Mezard
test-mq-symlinks: skip if symlinks are not supported
r6360 "$TESTDIR/hghave" symlink || exit 80
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157 echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH
hg init
hg qinit
hg qnew base.patch
echo a > a
echo b > b
hg add a b
hg qrefresh
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157
hg qnew symlink.patch
rm a
ln -s b a
hg qrefresh --git
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157
hg qpop
hg qpush
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a