##// END OF EJS Templates
hgweb: fix breakage in python < 2.5 introduced in 2c370f08c486
hgweb: fix breakage in python < 2.5 introduced in 2c370f08c486

File last commit:

r6360:95413879 default
r6374:31a01e3d 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