# Subversion Management
# create a gzipped dumpfile of a repository
svnadmin dump path-to-old-repo | gzip > ~/dumpfile.gz
# import into another repository from a gzipped dumpfile
gunzip -c ~/dumpfile.gz | svnadmin load path-to-new-repo
# relocated any existing working copies.
# See also http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html
cd path-to-working-copy-from-old-repo
svn switch --relocate file:///path/to/old-repo file:///path/to/new-repo .
# create a gzipped dumpfile of a repository
svnadmin dump path-to-old-repo | gzip > ~/dumpfile.gz
# import into another repository from a gzipped dumpfile
gunzip -c ~/dumpfile.gz | svnadmin load path-to-new-repo
# relocated any existing working copies.
# See also http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html
cd path-to-working-copy-from-old-repo
svn switch --relocate file:///path/to/old-repo file:///path/to/new-repo .
No comments:
Post a Comment