|
git + deploy:pending == not working right?: msg#00121lang.ruby.capistrano.general
Hi, Doing a cap deploy:pending seems to show me all the commits that are in the deployed version, not the commits that are between the deployed version and the HEAD. deploy:pending:diff works as expected though. Also, since my git wasn't in my PATH, I had to change capistrano slightly to get the git deploy stuff to work: --- git.rb.old 2007-12-18 13:47:26.000000000 -0800 +++ git.rb 2007-12-18 13:49:57.000000000 -0800 @@ -125,12 +125,12 @@ module Capistrano # Merges the changes to 'head' since the last fetch, for remote_cache # deployment strategy def sync(revision, destination) - execute = "cd #{destination} && git fetch origin && " + execute = "cd #{destination} && #{command} fetch origin && " if head == 'HEAD' - execute += "git merge origin/HEAD" + execute += "#{command} merge origin/HEAD" else - execute += "git merge #{head}" + execute += "#{command} merge #{head}" end execute |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problem with a new role: 00121, alexander.graefe-gM/Ye1E23mwN+BqQ9rBEUg@xxxxxxxxxxxxxxxx |
|---|---|
| Next by Date: | christmas soon...: 00121, janijohnetta-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
| Previous by Thread: | Problem with a new rolei: 00121, alexander.graefe-gM/Ye1E23mwN+BqQ9rBEUg@xxxxxxxxxxxxxxxx |
| Next by Thread: | Re: git + deploy:pending == not working right?: 00121, Jamis Buck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |