Permalink
Browse files

Fix GH #76. Newline breaks bzr checkout.

  • Loading branch information...
1 parent 73206df commit 217486aaa1a9987355d45116010a55958fc1266d @leehambley leehambley committed Sep 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/recipes/deploy/scm/bzr.rb
View
2 lib/capistrano/recipes/deploy/scm/bzr.rb
@@ -76,7 +76,7 @@ def revswitch(revision)
if revision == :head || revision.nil?
nil
else
- "-r #{revision}"
+ "-r #{revision}".chomp
end
end
end

0 comments on commit 217486a

Please sign in to comment.