Method: Capistrano::Deploy::SCM::Darcs#log

Defined in:
lib/capistrano/recipes/deploy/scm/darcs.rb

#log(from, to = nil) ⇒ Object

Returns the log of changes between the two revisions. Each revision must be the ‘hash’ identifier of a darcs revision.



52
53
54
# File 'lib/capistrano/recipes/deploy/scm/darcs.rb', line 52

def log(from, to=nil)
  scm :changes, "--from-match 'hash #{from}'", to && "--to-match 'hash #{to}'", "--repo=#{repository}"
end