test-mq-symlinks
32 lines
| 407 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 | ||
Brendan Cully
|
r7517 | |||
hg qnew removesl.patch | ||||
hg rm a | ||||
hg qrefresh --git | ||||
hg qpop | ||||
hg qpush | ||||
hg st -c | ||||