I have been working a lot lately using SubVersion ‘s to maintain all the projects that I and some times others are all working on.
A firm that I contract to has recently set up a SVN Server on a dedicated machine with ActiveCollab and Versions to manage our projects. This means that we have versions and versions of manageable projects.
Today, I pulled down a part of a project to use inside another project, but the directories still contained the .svn data from the original project.
So here is a quick command to strip out all the .svn data from a project.
rm -rf `find . -name .svn`
A better way is to svn export the project rather than simply copying the working copy. This will result in a clean structre without the .svn directories.
That’s true,
You can also use the shell command SVN CO
eg ( for my server that uses SSH );
svn co svn+ssh://svu_username@svn.server.co.nz/svn_dump_name