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 |
General Comments 0
You need to be logged in to leave comments.
Login now