Method: Capistrano::Deploy::SCM::Darcs#diff
- Defined in:
- lib/capistrano/recipes/deploy/scm/darcs.rb
#diff(from, to = nil) ⇒ Object
Returns the command that will do a “darcs diff” for the two revisions. Each revision must be the ‘hash’ identifier of a darcs revision.
46 47 48 |
# File 'lib/capistrano/recipes/deploy/scm/darcs.rb', line 46 def diff(from, to=nil) scm :diff, "--from-match 'hash #{from}'", to && "--to-match 'hash #{to}'" end |