equal
deleted
inserted
replaced
55 # Copy a file from a past revision |
55 # Copy a file from a past revision |
56 svn copy -r 7 $svnurl/subproject/trunk/d2/d $svnurl/subproject/trunk -m copyfilefrompast |
56 svn copy -r 7 $svnurl/subproject/trunk/d2/d $svnurl/subproject/trunk -m copyfilefrompast |
57 # Copy a directory from a past revision |
57 # Copy a directory from a past revision |
58 svn copy -r 7 $svnurl/subproject/trunk/d2 $svnurl/subproject/trunk -m copydirfrompast |
58 svn copy -r 7 $svnurl/subproject/trunk/d2 $svnurl/subproject/trunk -m copydirfrompast |
59 fi |
59 fi |
|
60 |
|
61 # Copy a directory while removing a subdirectory |
|
62 svn up |
|
63 mkdir -p subproject/trunk/d3/d31 |
|
64 echo e > subproject/trunk/d3/d31/e |
|
65 echo f > subproject/trunk/d3/f |
|
66 svn add subproject/trunk/d3 |
|
67 svn ci -m "add d3" |
|
68 svn copy subproject/trunk/d3 subproject/trunk/d4 |
|
69 svn rm subproject/trunk/d3/d31 |
|
70 svn ci -m "copy dir and remove subdir" |
60 cd .. |
71 cd .. |
61 |
72 |
62 svnadmin dump svn-repo > ../move.svndump |
73 svnadmin dump svn-repo > ../move.svndump |