1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Use checkout --lightweight for bzr checkout, instead of branch (closes #9547)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2008-01-30 05:49:16 +00:00
parent dc8719d7cb
commit 917509832b
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Use checkout --lightweight for bzr checkout, instead of branch [michiels]
* Make sure bzr SCM works when revision is head (or unspecified) [michiels]
* Support p4sync_flags and p4client_root variables for Perforce [gseidman]

View file

@ -21,7 +21,7 @@ module Capistrano
# Returns the command that will check out the given revision to the
# given destination.
def checkout(revision, destination)
scm :branch, revswitch(revision), repository, destination
scm :checkout, "--lightweight", revswitch(revision), repository, destination
end
# The bzr 'update' command does not support updating to a specific