comparison tests/fixtures/spaces-in-path.sh @ 488:a739568f8d48

Add a test for URLs that have spaces in them.
author Augie Fackler <durin42@gmail.com>
date Tue, 15 Sep 2009 21:57:17 -0400
parents
children
comparison
equal deleted inserted replaced
487:6b481331c355 488:a739568f8d48
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 mkdir tags/versions
9 mkdir tags/blah
10 svn add *
11 svn ci -m 'btt'
12 cd trunk
13 for a in alpha beta gamma delta ; do
14 echo $a > $a
15 svn add $a
16 done
17 svn ci -m 'Add files.'
18
19 echo 'foo bar' > 'foo bar'
20 svn add 'foo bar'
21 svn ci -m 'Add files.'
22
23 mkdir 'blah blah'
24 echo 'another file' > 'blah blah/another file'
25 svn add 'blah blah'
26 svn ci -m 'Add files.'
27
28 cd ..
29 svn up
30 svn cp trunk branches/dev_branch
31 svn ci -m 'Make a branch'
32 cd ../..
33
34 svnadmin dump temp/repo > spaces-in-path.svndump
35 echo
36 echo 'Complete.'
37 echo 'You probably want to clean up temp now.'
38 echo 'Dump in spaces-in-path.svndump'
39 exit 0