Show More
@@ -1,67 +1,67 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | echo "[extensions]" >> $HGRCPATH |
|
3 | echo "[extensions]" >> $HGRCPATH | |
4 | echo "mq=" >> $HGRCPATH |
|
4 | echo "mq=" >> $HGRCPATH | |
5 |
|
5 | |||
6 | hg init a |
|
6 | hg init a | |
7 | cd a |
|
7 | cd a | |
8 |
|
8 | |||
9 | echo 'base' > base |
|
9 | echo 'base' > base | |
10 | hg ci -Ambase -d '1 0' |
|
10 | hg ci -Ambase -d '1 0' | |
11 |
|
11 | |||
12 | hg qnew a |
|
12 | hg qnew -d '1 0' a | |
13 | hg qnew b |
|
13 | hg qnew -d '1 0' b | |
14 | hg qnew c |
|
14 | hg qnew -d '1 0' c | |
15 |
|
15 | |||
16 | hg qdel |
|
16 | hg qdel | |
17 |
|
17 | |||
18 | hg qdel c |
|
18 | hg qdel c | |
19 | hg qpop |
|
19 | hg qpop | |
20 | hg qdel c |
|
20 | hg qdel c | |
21 | hg qseries |
|
21 | hg qseries | |
22 | ls .hg/patches |
|
22 | ls .hg/patches | |
23 | hg qpop |
|
23 | hg qpop | |
24 | hg qdel -k b |
|
24 | hg qdel -k b | |
25 | ls .hg/patches |
|
25 | ls .hg/patches | |
26 | hg qdel -r a |
|
26 | hg qdel -r a | |
27 | hg qapplied |
|
27 | hg qapplied | |
28 | hg log --template '{rev} {desc}\n' |
|
28 | hg log --template '{rev} {desc}\n' | |
29 |
|
29 | |||
30 | hg qnew d |
|
30 | hg qnew d | |
31 | hg qnew e |
|
31 | hg qnew e | |
32 | hg qnew f |
|
32 | hg qnew f | |
33 |
|
33 | |||
34 | hg qdel -r e |
|
34 | hg qdel -r e | |
35 | hg qdel -r qbase:e |
|
35 | hg qdel -r qbase:e | |
36 | hg qapplied |
|
36 | hg qapplied | |
37 | hg log --template '{rev} {desc}\n' |
|
37 | hg log --template '{rev} {desc}\n' | |
38 |
|
38 | |||
39 | cd .. |
|
39 | cd .. | |
40 | hg init b |
|
40 | hg init b | |
41 | cd b |
|
41 | cd b | |
42 |
|
42 | |||
43 | echo 'base' > base |
|
43 | echo 'base' > base | |
44 | hg ci -Ambase |
|
44 | hg ci -Ambase -d '1 0' | |
45 |
|
45 | |||
46 | hg qfinish |
|
46 | hg qfinish | |
47 | hg qfinish -a |
|
47 | hg qfinish -a | |
48 |
|
48 | |||
49 | hg qnew a |
|
49 | hg qnew -d '1 0' a | |
50 | hg qnew b |
|
50 | hg qnew -d '1 0' b | |
51 | hg qnew c |
|
51 | hg qnew c # XXX fails to apply by /usr/bin/patch if we put a date | |
52 |
|
52 | |||
53 | hg qfinish 0 |
|
53 | hg qfinish 0 | |
54 | hg qfinish b |
|
54 | hg qfinish b | |
55 |
|
55 | |||
56 | hg qpop |
|
56 | hg qpop | |
57 | hg qfinish -a c |
|
57 | hg qfinish -a c | |
58 | hg qpush |
|
58 | hg qpush | |
59 |
|
59 | |||
60 | hg qfinish qbase:b |
|
60 | hg qfinish qbase:b | |
61 | hg qapplied |
|
61 | hg qapplied | |
62 | hg log --template '{rev} {desc}\n' |
|
62 | hg log --template '{rev} {desc}\n' | |
63 |
|
63 | |||
64 | hg qfinish -a c |
|
64 | hg qfinish -a c | |
65 | hg qapplied |
|
65 | hg qapplied | |
66 | hg log --template '{rev} {desc}\n' |
|
66 | hg log --template '{rev} {desc}\n' | |
67 | ls .hg/patches |
|
67 | ls .hg/patches |
General Comments 0
You need to be logged in to leave comments.
Login now