From 917509832b41e86dd40ea847751ca592e42d6fb6 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Wed, 30 Jan 2008 05:49:16 +0000 Subject: [PATCH] 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 --- CHANGELOG | 2 ++ lib/capistrano/recipes/deploy/scm/bzr.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1afbf83e..6b9e84cc 100644 --- a/CHANGELOG +++ b/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] diff --git a/lib/capistrano/recipes/deploy/scm/bzr.rb b/lib/capistrano/recipes/deploy/scm/bzr.rb index f170ab8f..cf84ddbc 100644 --- a/lib/capistrano/recipes/deploy/scm/bzr.rb +++ b/lib/capistrano/recipes/deploy/scm/bzr.rb @@ -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