# File lib/capistrano/recipes/deploy/scm/accurev.rb, line 149 def initialize(stream, transaction_id) @stream = stream @transaction_id = transaction_id end
# File lib/capistrano/recipes/deploy/scm/accurev.rb, line 140 def self.parse(string) match = /([^\/]+)(\/(.+)){0,1}/.match(string) raise "Unrecognized revision identifier: #{string}" unless match stream = match[1] transaction_id = match[3] || 'highest' InternalRevision.new(stream, transaction_id) end
# File lib/capistrano/recipes/deploy/scm/accurev.rb, line 162 def ==(other) (stream == other.stream) && (transaction_id == other.transaction_id) end
Generated with the Darkfish Rdoc Generator 2.