author | Matt Mackall <mpm@selenic.com> |
Sun, 15 Feb 2009 10:50:48 -0600 | |
changeset 7768 | 5bf5fd1e2a74 |
parent 7604 | 7c4765d51c3c |
child 8084 | 5b3fee9c1f4d |
permissions | -rwxr-xr-x |
7053 | 1 |
#!/bin/sh |
2 |
||
7058
9e6d6568bf7a
`source` doesn't work for some /bin/sh, use `.` instead
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7053
diff
changeset
|
3 |
. "$TESTDIR/bzr-definitions" |
7053 | 4 |
|
5 |
echo % test multiple merges at once |
|
6 |
mkdir test-multimerge |
|
7 |
cd test-multimerge |
|
8 |
bzr init -q source |
|
9 |
cd source |
|
10 |
echo content > file |
|
11 |
bzr add -q file |
|
12 |
bzr commit -q -m 'Initial add' |
|
13 |
cd .. |
|
14 |
bzr branch -q source source-branch1 |
|
15 |
cd source-branch1 |
|
16 |
echo morecontent >> file |
|
17 |
echo evenmorecontent > file-branch1 |
|
18 |
bzr add -q file-branch1 |
|
19 |
bzr commit -q -m 'Added branch1 file' |
|
20 |
cd ../source |
|
7604
7c4765d51c3c
tests: shrink wait interval for test-convert-bzr-merges
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7602
diff
changeset
|
21 |
sleep 1 |
7053 | 22 |
echo content > file-parent |
23 |
bzr add -q file-parent |
|
24 |
bzr commit -q -m 'Added parent file' |
|
25 |
cd .. |
|
26 |
bzr branch -q source source-branch2 |
|
27 |
cd source-branch2 |
|
28 |
echo somecontent > file-branch2 |
|
29 |
bzr add -q file-branch2 |
|
30 |
bzr commit -q -m 'Added brach2 file' |
|
7604
7c4765d51c3c
tests: shrink wait interval for test-convert-bzr-merges
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7602
diff
changeset
|
31 |
sleep 1 |
7053 | 32 |
cd ../source |
33 |
bzr merge -q ../source-branch1 |
|
34 |
bzr merge -q --force ../source-branch2 |
|
35 |
bzr commit -q -m 'Merged branches' |
|
36 |
cd .. |
|
37 |
hg convert --datesort source source-hg |
|
38 |
glog -R source-hg |
|
39 |
manifest source-hg tip |