comparison tests/fixtures/simple_branch.sh @ 542:bb00f7ca5b8c

Rewrite simple_branch.sh fixture from svn dump I needed it to reproduce the space in branch issue, but failed to do so. At least I recreated the fixture, so here it is.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 02 Feb 2010 23:20:42 +0100
parents
children
comparison
equal deleted inserted replaced
541:d380e7e4175a 542:bb00f7ca5b8c
1 #!/bin/sh
2 #
3 # Generate simple_branch.svndump
4 #
5
6 mkdir temp
7 cd temp
8
9 mkdir project-orig
10 cd project-orig
11 mkdir trunk branches tags
12 cd ..
13
14 svnadmin create testrepo
15 svnurl=file://`pwd`/testrepo
16 svn import --username durin project-orig $svnurl -m "Empty dirs."
17
18 svn co $svnurl project
19 cd project
20 echo 'file: alpha' > trunk/alpha
21 svn add trunk/alpha
22 svn ci --username durin -m 'Add alpha'
23 echo 'Data of beta' > trunk/beta
24 svn add trunk/beta
25 svn ci --username durin -m 'Add beta'
26 svn up
27 svn cp trunk branches/the_branch
28 svn ci --username durin -m 'Make a branch'
29 cd ..
30
31 svnadmin dump testrepo > ../simple_branch.svndump