Mercurial > hg
annotate tests/test-convert-bzr-merges @ 7425:14ed6662af48
tests: disable test-convert-darcs properly for darcs 2
The x bit was disabled without notice in 8046f0a070a6
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 23 Nov 2008 20:16:29 +0100 |
parents | 9e6d6568bf7a |
children | d65671beee7f |
rev | line source |
---|---|
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 | |
21 echo content > file-parent | |
22 bzr add -q file-parent | |
23 bzr commit -q -m 'Added parent file' | |
24 cd .. | |
25 bzr branch -q source source-branch2 | |
26 cd source-branch2 | |
27 echo somecontent > file-branch2 | |
28 bzr add -q file-branch2 | |
29 bzr commit -q -m 'Added brach2 file' | |
30 cd ../source | |
31 bzr merge -q ../source-branch1 | |
32 bzr merge -q --force ../source-branch2 | |
33 bzr commit -q -m 'Merged branches' | |
34 cd .. | |
35 hg convert --datesort source source-hg | |
36 glog -R source-hg | |
37 manifest source-hg tip |