Changeset 8752
- Timestamp:
- 01/30/08 05:46:07 (5 months ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/recipes/deploy/scm/bzr.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r8751 r8752 1 1 *SVN* 2 3 * Make sure bzr SCM works when revision is head (or unspecified) [michiels] 2 4 3 5 * Support p4sync_flags and p4client_root variables for Perforce [gseidman] tools/capistrano/lib/capistrano/recipes/deploy/scm/bzr.rb
r6463 r8752 64 64 # simply returned. 65 65 def query_revision(revision) 66 if revision == head 67 yield(scm(:revno, repository)).chomp 68 else 69 revision 70 end 66 revision 71 67 end 72 68 … … 74 70 75 71 def revswitch(revision) 76 if revision == :head 72 if revision == :head || revision.nil? 77 73 nil 78 74 else