##// END OF EJS Templates
convert: add test
Bryan O'Sullivan -
r5015:cb100605 default
parent child Browse files
Show More
@@ -0,0 +1,21 b''
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
@@ -0,0 +1,14 b''
1 adding a
2 assuming destination a-hg
3 initializing destination a-hg repository
4 scanning source...
5 sorting...
6 converting...
7 4 a
8 3 b
9 2 c
10 1 d
11 0 e
12 pulling from ../a
13 searching for changes
14 no changes found
General Comments 0
You need to be logged in to leave comments. Login now