Hi, How to make capistrano (2.5.5) ask for http password when checking out from mercurial repository ?
Here is relevant part of my config/deploy.rb : set :application, "myapp" set :domain, "myserver.net" set :repository, "http://hg.myserver.net/#{application}" set :user, "pierre" set :runner, "pierre" set :deploy_to, "/path/to/rails/#{application}" set :scm, :mercurial set :scm_username, "pierre" set :scm_prefer_prompt, :true --- $ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' executing locally: "hg log -r tip --template '{node|short}'" * executing "hg clone --noupdate http://hg.myserver.net/myapp /path/ to/rails/myapp/releases/20090317232749 && hg update --repository /path/ to/rails/myapp/releases/20090317232749 --clean 53d94d2b74cf && (echo 53d94d2b74cf > /path/to/rails/myapp/releases/20090317232749/REVISION)" servers: ["myserver.net"] [myserver.net] executing command ** [myserver.net :: err] abort: http authorization required command finished I use ssh to connect to my server, I set the keys and I allowed the ssh agent forwarding in ~/.ssh/config Regards, -- Pierre Yager --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---