Class | Capistrano::Deploy::SCM::Accurev |
In: |
lib/capistrano/recipes/deploy/scm/accurev.rb
|
Parent: | Base |
Accurev bridge for use by Capistrano. This implementation does not implement all features of a Capistrano SCM module. The ones that are left out are either exceedingly difficult to implement with Accurev or are considered bad form.
When using this module in a project, the following variables are used:
* :repository - This should match the depot that code lives in. If your code exists in a subdirectory, you can append the path depot. eg. foo-depot/bar_dir * :stream - The stream in the depot that code should be pulled from. If left blank, the depot stream will be used * :revision - Should be in the form 'stream/transaction'.
Pops a copy of the code for the specified Accurev revision identifier. The revision identifier is represented as a stream & transaction ID combo. Accurev can only pop a particular transaction if a stream is created on the server with a time basis of that transaction id. Therefore, we will create a stream with the required criteria and pop that.