Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7860

Show
Ignore:
Timestamp:
10/13/07 16:21:09 (10 months ago)
Author:
minam
Message:

Prefer 'Last Changed Rev' over 'Revision' when querying latest revision via Subversion

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/capistrano/CHANGELOG

    r7859 r7860  
    11*SVN* 
     2 
     3* Prefer 'Last Changed Rev' over 'Revision' when querying latest revision via Subversion [Jamis Buck] 
    24 
    35* Explicitly require 'stringio' in copy_test [mislav] 
  • tools/capistrano/lib/capistrano/recipes/deploy/scm/subversion.rb

    r7858 r7860  
    5757          yaml = YAML.load(result) 
    5858          raise "tried to run `#{command}' and got unexpected result #{result.inspect}" unless Hash === yaml 
    59           yaml['Revision'] 
     59          yaml['Last Changed Rev'] || yaml['Revision'] 
    6060        end 
    6161