Mercurial > hg
annotate tests/test-mq-qgoto @ 5299:5a4824f6665c
Test parents behaviour with files.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 11 Sep 2007 23:05:30 +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 |