Skip to content

Commit

Permalink
Use checkout --lightweight for bzr checkout, instead of branch (close…
Browse files Browse the repository at this point in the history
…s #9547)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jamis committed Jan 30, 2008
1 parent 992bb7a commit 9690865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/recipes/deploy/scm/bzr.rb
Expand Up @@ -21,7 +21,7 @@ def head
# 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
Expand Down

0 comments on commit 9690865

Please sign in to comment.