Mercurial > hg
annotate tests/test-mq-qgoto @ 4783:8b90d763ea90
Add extension to provide the 'hg children' command (with tests)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 03 Jul 2007 12:14:25 +0200 |
parents | 905397be7688 |
children | 12df451ce205 |
rev | line source |
---|---|
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 |