Remove SVN Info from a Folder
Tagged with: delete, find, remove, subversion, svn
Monday, July 7th, 2008 09:41 PM
This command removes the SVN data from a folder.
find -name .svn -exec rm -rf {} \;
This command removes the SVN data from a folder.
find -name .svn -exec rm -rf {} \;
Creating a tag in SVN means that you copy the entire trunk to another folder in the ‘tags’ folder…
svn copy trunk/ tags/TAG_NAME
This is the method that I use to package a SVN Project. For CVS projects, the code is slightly different. Please note that the second line requires bash to work.
This is how I packaged nexty
svn checkout https://nexty.svn.sourceforge.net/svnroot/nexty
find nexty/ -name .svn -exec rm -rf {} \;
tar -czf nexty.tar.gz nexty/
rm -rf nexty/
[tags]svn,package,zip,compress,project,subversion[/tags]
svn import <Folder> <Repository>
Online Repository Example
svn import Nexty https://nexty.svn.sourceforge.net/svnroot/nexty
svn checkout https://nexty.svn.sourceforge.net/svnroot/nexty [<folder>]
svn update
[tags]svn,subversion,version control,command,cli,import,checkout,update[/tags]