Subversion

From Kb

Revision as of 23:17, 13 August 2010 by Jonathan (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Contents

Change repo
svn switch --username newusername --relocate https://domain/svn/repo1 http://domain/svn/repo2 .
Change node
svn switch http://domain/svn/repo/newnode .
Remove all SVN directories
find . -name ".svn" -type d -exec rm -rf {} \;


Ignore

Running these svn commands from the project dir should make your repo ignore the specified files:

svn propset svn:ignore app/config/core.php
svn propset svn:ignore app/config/database.php
svn propset svn:ignore app/config/mode.php
svn propset -R svn:ignore "*" app/tmp/


Revert
svn update -r 197