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

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to