Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing .svn folders from project for deployment

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?

like image 337
public static Avatar asked Oct 02 '08 01:10

public static


2 Answers

Use

svn export <url-to-repo> <dest-path>

It gets just the source, nothing else. Look in svn export (in Version Control with Subversion) for more information.

like image 72
Doug T. Avatar answered Oct 06 '22 00:10

Doug T.


TortoiseSVN has an export function. This will create the entire SVN tree elsewhere without the .svn folders.

Also, a lot of FTP clients have filtering, which you can add .svn to just in case you forget one day.

like image 28
Darryl Hein Avatar answered Oct 05 '22 22:10

Darryl Hein