password management / SVN / Capistrano

Hi,

SVN

I have recently put my project on Google Code. I didn't want to put the database.yml in the SVN repository, as it contains my production server db password. I put a "database.yml.template" on the public svn and kept a non managed customized local file "database.yml". I'd like to hear how you manage that issue when putting your code on a public SVN repository ?

Capistrano

Now I am trying Capistrano. Capistrano is seems to not doing a (incremental) update, but a full checkout of the site when deploying a new version. The problem is that it checks out the database.yml.template file. What task I need to change so after the full checkout, the correct database.yml is copied from a backup ?

Thanks for your pointers, Mickael.

Great ! Thanks. Mickael.