lib/capistrano/recipes/deploy/scm/accurev.rb
# Returns the command needed to show the changes that exist between the two revisions.
Returns the command needed to show the changes that exist between the two revisions.
Returns the command needed to show the changes that exist between the two revisions .
def log(from, to=head)
          logger.info("Getting transactions between #{from} and #{to}")
          from_rev = InternalRevision.parse(from)
          to_rev = InternalRevision.parse(to)
          [
            scm(:hist, '-s', from_rev.stream, '-t', "#{to_rev.transaction_id}-#{from_rev.transaction_id}"),
            "sed -e '/transaction #{from_rev.transaction_id}/ { Q }'"
          ].join(' | ')
        end
def log ( from , to = head ) logger . info ( "Getting transactions between #{from} and #{to}" ) from_rev = InternalRevision . parse ( from ) to_rev = InternalRevision . parse ( to ) [ scm ( :hist , '-s' , from_rev . stream , '-t' , "#{to_rev.transaction_id}-#{from_rev.transaction_id}" ) , "sed -e '/transaction #{from_rev.transaction_id}/ { Q }'" ] . join ( ' | ' ) end
Returns the command needed to show the changes that exist between the two revisions.
Returns the command needed to show the changes that exist between the two revisions .
from
<not_specific>
to
<not_specific>
head
<not_specific>