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

Changeset 8752

Show
Ignore:
Timestamp:
01/30/08 05:46:07 (5 months ago)
Author:
minam
Message:

make sure bzr SCM works when revision is unspecified, or is head (closes #9546)

Files:

Legend:

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

    r8751 r8752  
    11*SVN* 
     2 
     3* Make sure bzr SCM works when revision is head (or unspecified) [michiels] 
    24 
    35* Support p4sync_flags and p4client_root variables for Perforce [gseidman] 
  • tools/capistrano/lib/capistrano/recipes/deploy/scm/bzr.rb

    r6463 r8752  
    6464        # simply returned. 
    6565        def query_revision(revision) 
    66           if revision == head 
    67             yield(scm(:revno, repository)).chomp 
    68           else 
    69             revision 
    70           end 
     66          revision 
    7167        end 
    7268 
     
    7470 
    7571          def revswitch(revision) 
    76             if revision == :head 
     72            if revision == :head || revision.nil? 
    7773              nil 
    7874            else