svnadmin dump /srv/svn/old-repo | svndumpfilter include --drop-empty-revs --renumber-revs /directory-name > directory.svndump svnadmin load /srv/svn/new-repo < directory.svndumpPlease note, that if directory structure needs to be changed (for example, from /old-repo/projects/dir to /new-repo/dir) manual edit of dump file will not help. Instead, sed must be combined with svndumpfilter. Additional info regarding this topic can be found here.
Showing posts with label subversion. Show all posts
Showing posts with label subversion. Show all posts
2009-12-04
Subversion repository part migration
2009-08-26
How to remove absolute path in svn+ssh
As you may or may not know there is a path difference between svn and svn+ssh links in case if subversion server is configured with default root directory:
/etc/sysconfig/svnserve
/etc/sysconfig/svnserve
SVNSERVE_OPTIONS="-d -R -r /path-to-repos"This way repository can be checked out using following commands (consider ssh is set up and working):
svn co svn://server.com/repository directoryor
svn co svn+ssh://server.com/path-to-repos/repository directory
Subscribe to:
Posts (Atom)