Show More
@@ -0,0 +1,23 | |||||
|
1 | #! /bin/sh | |||
|
2 | ||||
|
3 | # issue 1678 | |||
|
4 | ||||
|
5 | echo "# -- setting up base repo" | |||
|
6 | hg init a | |||
|
7 | cd a | |||
|
8 | touch a | |||
|
9 | hg ci -Am a | |||
|
10 | cd .. | |||
|
11 | ||||
|
12 | echo "# -- cloning base repo" | |||
|
13 | hg clone a b | |||
|
14 | cd b | |||
|
15 | ||||
|
16 | echo "# -- setting up cset to push" | |||
|
17 | hg up null | |||
|
18 | touch a | |||
|
19 | hg ci -Am b # different msg so we get a clog new entry | |||
|
20 | ||||
|
21 | echo "# -- pushing" | |||
|
22 | hg push -f ../a | |||
|
23 |
@@ -0,0 +1,16 | |||||
|
1 | # -- setting up base repo | |||
|
2 | adding a | |||
|
3 | # -- cloning base repo | |||
|
4 | updating working directory | |||
|
5 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
6 | # -- setting up cset to push | |||
|
7 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |||
|
8 | adding a | |||
|
9 | created new head | |||
|
10 | # -- pushing | |||
|
11 | pushing to ../a | |||
|
12 | searching for changes | |||
|
13 | adding changesets | |||
|
14 | adding manifests | |||
|
15 | adding file changes | |||
|
16 | added 1 changesets with 0 changes to 0 files (+1 heads) |
General Comments 0
You need to be logged in to leave comments.
Login now