Hi,
I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this?
Hi,
I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this?
Do svn export <url>
to export a clean copy without .svn folders.
ToritiseSVN has an export function. This will create the entire SVN else where without the .svn folders.
Also, a lot of FTP clients have filtering, which you can add .svn to just in you forget one day.
No need for a script. As suggested, use the Export command:
But if you don't want to use svn export (for whatever reason)...
find /path/to/project/root -name '.svn' -type d -exec rm -rf '{}' \;
On a computer:
rsync -avz --exclude=".svn" /yourprojectwithsvninside/ /yourprojectwithoutsvninside/
From the repo:
svn export http://yourserver/svn/yourproject/ ./yourproject/
public static: yes FileZilla has filename filtering. Look under View -> Filename Filters. I checked in v3.1.1
I think most FTP clients have it now.