##// END OF EJS Templates
make manifest-merging test reproduceable
Matt Mackall -
r3326:be8efb6e default
parent child Browse files
Show More
@@ -1,34 +1,34
1 1 #!/bin/sh
2 2
3 3 echo % init foo-base
4 4 hg init foo-base
5 5
6 6 echo % create alpha in first repo
7 7 cd foo-base
8 8 echo 'alpha' > alpha
9 9 hg ci -A -m 'add alpha' -d '1 0'
10 10 cd ..
11 11
12 12 echo % clone foo-base to foo-work
13 13 hg clone foo-base foo-work
14 14
15 15 echo % create beta in second repo
16 16 cd foo-work
17 17 echo 'beta' > beta
18 18 hg ci -A -m 'add beta' -d '2 0'
19 19 cd ..
20 20
21 21 echo % create gamma in first repo
22 22 cd foo-base
23 23 echo 'gamma' > gamma
24 24 hg ci -A -m 'add gamma' -d '3 0'
25 25 cd ..
26 26
27 27 echo % pull into work and merge
28 28 cd foo-work
29 hg pull
29 hg pull -q
30 30 hg merge
31 31
32 32 echo % revert to changeset 1 to simulate a failed merge
33 33 rm -fr *
34 34 hg up -C 1
@@ -1,21 +1,14
1 1 % init foo-base
2 2 % create alpha in first repo
3 3 adding alpha
4 4 % clone foo-base to foo-work
5 5 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
6 6 % create beta in second repo
7 7 adding beta
8 8 % create gamma in first repo
9 9 adding gamma
10 10 % pull into work and merge
11 pulling from /tmp/hgtests.H64eVH/test-manifest-merging/foo-base
12 searching for changes
13 adding changesets
14 adding manifests
15 adding file changes
16 added 1 changesets with 1 changes to 1 files (+1 heads)
17 (run 'hg heads' to see heads, 'hg merge' to merge)
18 11 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
19 12 (branch merge, don't forget to commit)
20 13 % revert to changeset 1 to simulate a failed merge
21 14 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
General Comments 0
You need to be logged in to leave comments. Login now