Subversion/Migrating part of repository
From Sidvind
Code: |
svnadmin dump /part/to/repo | svndumpfilter include --drop-empty-revs --renumber-revs /repo/part | \ sed '32,39 d' | sed 's/Node-path: \/repo\/part\//Node-path: /g' | sed 's/Node-copyfrom-path: \/repo\/part\//Node-copyfrom-path: /g' > repo.dump svnadmin create /part/to/new/repo svnadmin load --ignore-uuid /part/to/new/repo < repo.dump |
The first sed command (sed '32,39 d') removes the creation of the old folders, most likely you have to change these row numbers.