author | Maxim Dounin <mdounin@mdounin.ru> |
Sat, 27 Oct 2007 16:27:55 +0400 | |
changeset 5483 | 0c43f87baba3 |
parent 4432 | 905397be7688 |
permissions | -rwxr-xr-x |
4432 | 1 |
#!/bin/sh |
2 |
||
3 |
echo "[extensions]" >> $HGRCPATH |
|
4 |
echo "mq=" >> $HGRCPATH |
|
5 |
||
6 |
hg init a |
|
7 |
cd a |
|
8 |
echo a > a |
|
9 |
hg ci -Ama |
|
10 |
||
11 |
hg qnew a.patch |
|
12 |
echo a >> a |
|
13 |
hg qrefresh |
|
14 |
||
15 |
hg qnew b.patch |
|
16 |
echo b > b |
|
17 |
hg add b |
|
18 |
hg qrefresh |
|
19 |
||
20 |
hg qnew c.patch |
|
21 |
echo c > c |
|
22 |
hg add c |
|
23 |
hg qrefresh |
|
24 |
||
25 |
hg qgoto a.patch |
|
26 |
hg qgoto c.patch |
|
27 |
hg qgoto b.patch |