Saturday 19 October 2013

SVN export using capistrano

If you are using SVN for version control and
capistrano for deployments, capistrano does code checkout from the application machines. It is often preferable to use svn export instead of svn checkout. Capistrano defaults to checkout, but it can be configured to use export by setting the :deploy_via parameter to 'export' in deployment script.

2 comments:

Unknown said...

Can you please explain why is export preferable to checkout?

Phoenix said...

Sure. For older SVN versions (I think 1.4, 1.5 and probably 1.6 also), checkout creates .svn folder within every subfolder of the repo. This can sometimes cause security concerns.