Jalb, To rule out any other problems, you should remove the remote cache if one exists.. you can expect to find it as a directory not names "releases" or "current" in your deploy_to path… sometimes that directory gets damaged or broken (especially via upgrades) and you run into obscure problems; if it's there - try removing it. (I don't think you will have one..)
The other thing to consider is whether or not the correct version of Git is in the $PATH on the server, I notice you're deploying using a pty, best to verify that your path includes the correct version of git when using a non-login shell. -- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/9/18 Jalb <[email protected]> > > I upgraded git on the server from 1.5.4 to 1.6.5 with no result. I use > capistrano 2.5.9. I tried to regress to capistrano 2.1.0 but others > errors arise. > > On Sep 18, 10:57 am, Lee Hambley <[email protected]> wrote: > > Depends what versions you are running, you should try the latest for best > > results.. also what version of Capistrano are you on? > > -- Lee Hambley > > > > Twitter: @leehambley > > Blog:http://lee.hambley.name/ > > Working with Rails:http://is.gd/1s5W1 > > > > 2009/9/18 Jalb <[email protected]> > > > > > > > > > > > > > Hi, > > > > > I have a local branch named from_scratch > > > > > [code] > > > jalb$ git branch > > > david_routes_modif > > > from_medias > > > * from_scratch > > > master > > > routes_modif > > > [/code] > > > > > I changed set :branch, "origin/from_scratch" to set :branch, > > > "from_scratch" and I get the same error message. Do I need to upgrade > > > Git on the server also ? > > > > > On Sep 18, 10:25 am, Lee Hambley <[email protected]> wrote: > > > > Jalb, > > > > As the error says, specify your branch as "from_scratch" not > > > > "origin/from_scratch" - if there is a reason you can't have that > branch > > > > locally as well you might have problems. > > > > > > -- Lee Hambley > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
