OK, I've suddenly started to get this error when attempting to deploy
a branch, and after a little investigation, I have found that the
query_revision function in git.rb is attempting to compare a string
(the branch name) with a symbol (the branch name as a symbol) on this
line:

if ref.sub(/refs\/.*?\//, '').strip == revision

This fails, and capistrano craps out, as expected. The problem is that
I have set the branch to a string in my production.rb (using
capistrano-ext). Is there something that is known to cause this?

I'm using git 1.6.1.3, capistrano 2.5.4 and capistrano-ext 1.2.1.

Anyone have any ideas?

Cheers!
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to