test-mq-symlinks
25 lines
| 331 B
| text/plain
|
TextLexer
/ tests / test-mq-symlinks
Bryan O'Sullivan
|
r5157 | #!/bin/sh | ||
Patrick Mezard
|
r6360 | "$TESTDIR/hghave" symlink || exit 80 | ||
Bryan O'Sullivan
|
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
|
r5683 | $TESTDIR/readlink.py a | ||
Bryan O'Sullivan
|
r5157 | |||
hg qnew symlink.patch | ||||
rm a | ||||
ln -s b a | ||||
hg qrefresh --git | ||||
Thomas Arendsen Hein
|
r5683 | $TESTDIR/readlink.py a | ||
Bryan O'Sullivan
|
r5157 | |||
hg qpop | ||||
hg qpush | ||||
Thomas Arendsen Hein
|
r5683 | $TESTDIR/readlink.py a | ||