Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

Resolve all conflicts in SVN

Use caution! Resolve all your conflicted files.

svn st|awk '/^C/{ print $2; }'|xargs svn resolved

Subversion Repository Move

# 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 .