comparison tests/fixtures/branch_delete_parent_dir.sh @ 473:45df4d9320fa

Fix 'parent dir of a branch is deleted' refactoring from 343da84.
author Max Bowsher <maxb@f2s.com>
date Sat, 04 Jul 2009 18:12:18 +0100
parents
children
comparison
equal deleted inserted replaced
472:ba65e97538d1 473:45df4d9320fa
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 echo foo > trunk/foo
11 svn add trunk/foo
12 svn ci -m 'add file'
13 svn up
14 svn cp trunk branches/dev_branch
15 svn ci -m 'branch'
16 svn up
17 svn rm branches
18 svn ci -m 'delete branches dir'
19 cd ..
20 cd ..
21 svnadmin dump temp/repo > branch_delete_parent_dir.svndump
22 echo
23 echo 'Complete.'
24 echo 'You probably want to clean up temp now.'
25 echo 'Dump in branch_delete_parent_dir.svndump'
26 exit 0