Mercurial > hg
comparison tests/svn/svndump-move.sh @ 8884:8b603c7c808e
convert/svn: remove dead code from entry deletion code path
It was made obsolete when multi-branches commit were split into multiple
Mercurial commits.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 21 Jun 2009 23:04:02 +0200 |
parents | 90d8dfb481e7 |
children | 55abde5cba43 |
comparison
equal
deleted
inserted
replaced
8883:ede2247e61aa | 8884:8b603c7c808e |
---|---|
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 |