comparison tests/fixtures/project_name_with_space.sh @ 512:c421e6bf0d95

tests: test paths with spaces
author Augie Fackler <durin42@gmail.com>
date Thu, 24 Dec 2009 13:38:06 -0600
parents
children
comparison
equal deleted inserted replaced
511:0e2564d4257d 512:c421e6bf0d95
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 'project name'
8 cd 'project name'
9 mkdir branches trunk tags
10 cd ..
11 svn add *
12 svn ci -m 'btt'
13
14 cd 'project name'/trunk
15 for a in alpha beta gamma delta ; do
16 echo $a > $a
17 svn add $a
18 done
19 svn ci -m 'Add files.'
20
21 mkdir al
22 echo foo > al/foo
23 svn add al
24 svn ci -m 'add directory al'
25
26 cd ..
27 svn up
28 svn cp trunk branches/dev_branch
29 svn ci -m 'branch'
30
31 cd branches/dev_branch
32 svn rm delta
33 echo narf > alpha
34 echo iota > iota
35 svn add iota
36 svn ci -m 'branch changes'
37
38 cd ../../../../..
39 svnadmin dump temp/repo > project_name_with_space.svndump
40
41 echo
42 echo 'Complete.'
43 echo 'You probably want to clean up temp now.'
44 echo 'Dump in project_name_with_space.svndump'
45
46 exit 0