I was curious if anyone knows how to redefine the :repository
variable.  We have this really really really really legacy nasty app,
that makes it difficult to svn external a particular external.

I was hoping to chain an additional svn checkout, but once :repository
is set, I cannot redefine it.  Anyone know some trickery to get around
this?

Here is what I am attempting to do, yes it is ugly, but a temporary
solution.

set :repository,  "http://path/to/rails/app";

##
# Additional tasks.
after :after_deploy, :after_after_deploy

desc "Additional after update."
task :after_after_deploy do
  ### Reset repository to install extrovert inline with
#{application}.
  util.determine_repository_path
  set :repository,  "http://path/to/other/external_models"; ### will
live inside :deploy_to
  deploy.update_code
end


The after_after_deploy task fires, but it uses the original value
of :repository.  Any ideas?

Thanks -
John
--~--~---------~--~----~------------~-------~--~----~
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