Thursday, September 6, 2007

export instead of checkout in Capistrano 2

A quick PSA: In capistrano 2 there's a change to the way you get svn to export instead of checkout during a deploy.

Old way:

set :checkout, 'export'


New way:

set :deploy_via, :export

2 comments:

TheOtherShoe said...

Ah; I followed some old instructions and was wondering why I still had .svn directories on my server.

This was very helpful. Thank you!

Chris said...

Very helpful - thanks!