search for: get_revision

Displaying 1 result from an estimated 1 matches for "get_revision".

2006 Feb 09
1
SwitchTower with multiple repositories
...uff from the app role, etc. I don''t mind redefining SwitchTower::SCM::Subversion.checkout. But I''m not sure the best way to do it. How would that method parameterize the repository based on role? It''d be something like this: command = "#{svn} #{op} -q -r#{get_revision(role)} #{get_repository(role)} #{actor.release_path} &&" I would need to know what "role" is here, and would have to define the get_revision and get_repository methods somewhere. Is there already a way to do this? Or is there an easier approach? FYI, the reason I''...