Mercurial > hg
comparison tests/test-mq-qgoto @ 4432:905397be7688
mq: add qgoto command.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 08 May 2007 13:10:27 -0700 |
parents | |
children | 12df451ce205 |
comparison
equal
deleted
inserted
replaced
4431:8014159074a9 | 4432:905397be7688 |
---|---|
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 |