lib/capistrano/recipes/deploy/scm/accurev.rb
# Returns the command needed to show the diff between what is deployed and what is 
# pending. Because Accurev can not do this task without creating some streams,
# two time basis streams will be created for the purposes of doing the diff.
Returns the command needed to show the diff between what is deployed and what is
pending. Because Accurev can not do this task without creating some streams,
two time basis streams will be created for the purposes of doing the diff.
Returns the command needed to show the diff between what is deployed and what is pending . Because Accurev can not do this task without creating some streams two time basis streams will be created for the purposes of doing the diff .
def diff(from, to=head)
          from = InternalRevision.parse(from)
          to = InternalRevision.parse(to)
          from_stream = "#{from.stream}-capistrano-diff-from"
          to_stream = "#{to.stream}-capistrano-diff-to"
          [
            change_or_create_stream(from_stream, from),
            change_or_create_stream(to_stream, to),
            scm(:diff, '-v', from_stream, '-V', to_stream, '-a')
          ].join(' && ')
        end
def diff ( from , to = head ) from = InternalRevision . parse ( from ) to = InternalRevision . parse ( to ) from_stream = "#{from.stream}-capistrano-diff-from" to_stream = "#{to.stream}-capistrano-diff-to" [ change_or_create_stream ( from_stream , from ) , change_or_create_stream ( to_stream , to ) , scm ( :diff , '-v' , from_stream , '-V' , to_stream , '-a' ) ] . join ( ' && ' ) end
Returns the command needed to show the diff between what is deployed and what is
pending.
Returns the command needed to show the diff between what is deployed and what is pending .
from
<not_specific>
to
<not_specific>
head
<not_specific>