copy_strategy, :export still pulling .sv

179 views
Skip to first unread message

russianbandit

unread,
May 20, 2009, 1:25:12 PM5/20/09
to Capistrano
Hi,

I'm using the latest version of Capistrano at this time.
In my recipe I have:

set :deploy_via, :copy
set :copy_strategy, :export
set :copy_cache, true

but I'm still getting .svn directories. I assumed that
setting :copy_strategy to :export would take care of that.
Do I need to specify :copy_exclude to ignore svn stuff?

Lee Hambley

unread,
May 20, 2009, 4:55:19 PM5/20/09
to capis...@googlegroups.com
Russian,

Perhaps they are there from an existing deploy/checkout that you are missing, you need to set something like:

set :copy_exclude, ['.svn']


- Lee

2009/5/20 russianbandit <russia...@gmail.com>

russianbandit

unread,
May 22, 2009, 1:32:46 PM5/22/09
to Capistrano
So what could have happened is that I didn't have copy_strategy set to
export the first time and it checked out .svn stuff and after that
capistrano was reusing the same directory to check out the updates. Is
that it?
So technically if I removed set :copy_cache, true then I would not
get .svn stuff?

On May 20, 2:55 pm, Lee Hambley <lee.hamb...@gmail.com> wrote:
> Russian,
> Perhaps they are there from an existing deploy/checkout that you are
> missing, you need to set something like:
>
> *
> set :copy_exclude, ['.svn']*
>
> More herehttp://wiki.capify.org/index.php/Understanding_Deployment_Strategies#...
>
> - Lee
>
> 2009/5/20 russianbandit <russianban...@gmail.com>

Lee Hambley

unread,
May 23, 2009, 6:29:00 AM5/23/09
to capis...@googlegroups.com
Quite probably, try it and see, changing the deploy_via can be a minefield when swithcing in certain directions

2009/5/22 russianbandit <russia...@gmail.com>
Reply all
Reply to author
Forward
0 new messages