Show More
@@ -1,23 +1,25 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
|
3 | "$TESTDIR/hghave" symlink || exit 80 | |||
|
4 | ||||
3 | echo "[extensions]" >> $HGRCPATH |
|
5 | echo "[extensions]" >> $HGRCPATH | |
4 | echo "mq=" >> $HGRCPATH |
|
6 | echo "mq=" >> $HGRCPATH | |
5 |
|
7 | |||
6 | hg init |
|
8 | hg init | |
7 | hg qinit |
|
9 | hg qinit | |
8 | hg qnew base.patch |
|
10 | hg qnew base.patch | |
9 | echo a > a |
|
11 | echo a > a | |
10 | echo b > b |
|
12 | echo b > b | |
11 | hg add a b |
|
13 | hg add a b | |
12 | hg qrefresh |
|
14 | hg qrefresh | |
13 | $TESTDIR/readlink.py a |
|
15 | $TESTDIR/readlink.py a | |
14 |
|
16 | |||
15 | hg qnew symlink.patch |
|
17 | hg qnew symlink.patch | |
16 | rm a |
|
18 | rm a | |
17 | ln -s b a |
|
19 | ln -s b a | |
18 | hg qrefresh --git |
|
20 | hg qrefresh --git | |
19 | $TESTDIR/readlink.py a |
|
21 | $TESTDIR/readlink.py a | |
20 |
|
22 | |||
21 | hg qpop |
|
23 | hg qpop | |
22 | hg qpush |
|
24 | hg qpush | |
23 | $TESTDIR/readlink.py a |
|
25 | $TESTDIR/readlink.py a |
General Comments 0
You need to be logged in to leave comments.
Login now