comparison tests/fixtures/branch_create_with_dir_delete.sh @ 304:ce676eff002b

First merge, totally untested.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 01 May 2009 10:28:59 +0200
parents c0063328587f
children
comparison
equal deleted inserted replaced
303:f423a8780832 304:ce676eff002b
1 #!/bin/sh
2 mkdir temp
3 cd temp
4 svnadmin create repo
5 svn co file://`pwd`/repo wc
6 cd wc
7 mkdir branches trunk tags
8 svn add *
9 svn ci -m 'btt'
10 cd trunk
11 for a in alpha beta gamma delta ; do
12 echo $a > $a
13 svn add $a
14 done
15 svn ci -m 'Add files.'
16 mkdir al
17 echo foo > al/foo
18 svn add al
19 svn ci -m 'add directory al to delete on the branch'
20 cd ..
21 svn up
22 svn cp trunk branches/dev_branch
23 svn rm branches/dev_branch/al
24 svn ci -m 'branch'
25 cd branches/dev_branch
26 svn rm delta
27 echo narf > alpha
28 echo iota > iota
29 svn add iota
30 svn ci -m 'branch changes'
31 cd ../../../..
32 svnadmin dump temp/repo > branch_create_with_dir_delete.svndump
33 echo
34 echo 'Complete.'
35 echo 'You probably want to clean up temp now.'
36 echo 'Dump in branch_create_with_dir_delete.svndump'
37 exit 0