comparison tests/fixtures/copybeforeclose.sh @ 397:1b9d004a8c0a

branches: correctly deal with branch closing directly after copy/rename
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 11 Jun 2009 18:00:58 +0200
parents
children
comparison
equal deleted inserted replaced
396:11c4c7242a36 397:1b9d004a8c0a
1 #!/bin/sh
2
3 mkdir temp
4 cd temp
5 svnadmin create repo
6 svn co file://`pwd`/repo wc
7 cd wc
8 mkdir branches trunk tags
9 svn add *
10 svn ci -m 'btt'
11 cd trunk
12
13 echo a > a
14 svn add a
15 svn ci -m 'Add file.'
16 svn up
17
18 cd ..
19 svn cp trunk branches/test
20 svn ci -m 'Branch.'
21 svn up
22
23 cd branches/test/
24 svn mv a b
25 svn ci -m 'Move on branch.'
26 svn up
27
28 cd ../../
29 svn up
30 svn rm branches/test
31 svn ci -m 'Close branch.'
32
33 cd ../..
34 svnadmin dump temp/repo > copybeforeclose.svndump
35 echo
36 echo 'Complete.'
37 echo 'You probably want to clean up temp now.'
38 echo 'Dump in copybeforeclose.svndump'
39 exit 0