Mercurial > hg
comparison tests/test-convert-bzr @ 8036:dbcf5d52fcf5
test-convert-bzr: check renamed files are removed (issue1505)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 23:17:33 +0200 |
parents | 9e6d6568bf7a |
children | e09a2f2ef85d |
comparison
equal
deleted
inserted
replaced
8035:cb77c0fbec39 | 8036:dbcf5d52fcf5 |
---|---|
6 mkdir test-createandrename | 6 mkdir test-createandrename |
7 cd test-createandrename | 7 cd test-createandrename |
8 bzr init -q source | 8 bzr init -q source |
9 cd source | 9 cd source |
10 echo a > a | 10 echo a > a |
11 bzr add -q a | 11 echo c > c |
12 bzr commit -q -m 'Initial add: a' | 12 bzr add -q a c |
13 bzr commit -q -m 'Initial add: a, c' | |
13 bzr mv a b | 14 bzr mv a b |
15 bzr mv c d | |
14 echo a2 >> a | 16 echo a2 >> a |
15 bzr add -q a | 17 bzr add -q a |
16 bzr commit -q -m 'rename a into b, create a' | 18 bzr commit -q -m 'rename a into b, create a, rename c into d' |
17 cd .. | 19 cd .. |
18 hg convert source source-hg | 20 hg convert source source-hg |
19 glog -R source-hg | 21 glog -R source-hg |
22 echo "% manifest" | |
23 hg manifest -R source-hg -r tip | |
20 echo "% test --rev option" | 24 echo "% test --rev option" |
21 hg convert -r 1 source source-1-hg | 25 hg convert -r 1 source source-1-hg |
22 glog -R source-1-hg | 26 glog -R source-1-hg |
23 cd .. | 27 cd .. |
24 | 28 |