Changeset 8902
- Timestamp:
- 02/19/08 23:23:24 (7 months ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/recipes/deploy/scm/bzr.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r8901 r8902 1 1 *SVN* 2 3 * Use a proper export command for bzr SCM [drudru] 2 4 3 5 * Use checkout instead of merge for git SCM [nuttycom] tools/capistrano/lib/capistrano/recipes/deploy/scm/bzr.rb
r8753 r8902 34 34 end 35 35 36 # The bzr 'export' command would work fine, except it doesn't let you 37 # specify the repository itself, so it only works if there is a working 38 # tree handy, locally. Since this needs to work even on a remote host 39 # where there is no working tree, we'll just do a checkout, followed 40 # by a deletion of the ".bzr" metadata directory. 36 # The bzr 'export' does an export similar to other SCM systems 41 37 def export(revision, destination) 42 [checkout(revision, destination) && "rm -rf #{destination}/.bzr"].join(" && ")38 scm :export, revswitch(revision), destination, repository 43 39 end 44 40