You could set the repository in the config/deploy/testing.rb and
config/deploy/production.rb files, so that each stage gets its own
repository variable.

- Jamis

On 7/28/07, Thibaut Barrère <[EMAIL PROTECTED]> wrote:
>
> Hi Adam
>
> I think the multistage extension (http://weblog.jamisbuck.org/
> 2007/7/23/capistrano-multistage) should do the trick, together with
> something like:
>
> set(:repository) { "..." }
>
> Not sure how to retrieve the current stage though in the block;
> someone else will chime in (could be current_stage or stage ?)
>
> best
>
> Thibaut
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to