Mercurial > hg
annotate tests/test-convert @ 5015:cb100605a516
convert: add test
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 26 Jul 2007 13:34:36 -0700 |
parents | |
children | 36e8983fe44d |
rev | line source |
---|---|
5015 | 1 #!/bin/sh |
2 | |
3 echo "[extensions]" >> $HGRCPATH | |
4 echo "convert=" >> $HGRCPATH | |
5 | |
6 hg init a | |
7 cd a | |
8 echo a > a | |
9 hg ci -d'0 0' -Ama | |
10 hg cp a b | |
11 hg ci -d'1 0' -mb | |
12 hg rm a | |
13 hg ci -d'2 0' -mc | |
14 hg mv b a | |
15 hg ci -d'3 0' -md | |
16 echo a >> a | |
17 hg ci -d'4 0' -me | |
18 | |
19 cd .. | |
20 hg convert a | |
21 hg --cwd a-hg pull ../a |