Svn exports all but a few directories

I am exporting the svn repo to a temporary location, then I delete some directories before copying the code base to the deployment directory.

Is there any way to "exclude" the directory list during the "export" command?

The reason for this is because the export is faster (no need to retrieve the content that I delete in this expandable one) and therefore the deployment of the script is faster.

+5
source share
1 answer

You can use the concept to achieve this Sparse Directories Exclusion. You can read more about this here .

This blog post also explained the concept above.

, , - . , Subversion - . , Subversion :

$ cd ~/projects/subversion/trunk 
$ svn update --set-depth=exclude www
D         www 
$ ls www ls: cannot access www: No such file or directory 
$ 

. , www. , , " " :

$ svn update --set-depth=infinity www 
A    www 
A    www/links.html 
A    www/testing-goals.html 
… 
A    www/tigris-permissions.html 
A    www/webdav-usage.html Updated to revision 36292. 
$
+3

All Articles