On Friday, 3 May 2013 13:50:40 UTC+1, [email protected] wrote:
> Hello
>
> I've just upgraded to Capistrano v2.15.4 and when I deploy, I get new
> lines like
> * executing multiple commands in parallel
> -> "else" :: "cp -
>
> What does -> "else" mean ?
>
>
It's kind of ugly - there's a "parallel" command where you specify :
parallel do |session|
session.when "in?(:app)", "run_this"
session.else "run_that"
end
which gives output like:
"in?(:app)" :: "run_this"
"else" :: "run_that"
The more basic "run" command is built on top of the same thing, and since
it doesn't take conditionals it basically just does the same thing as
session.else() from the first example.
So when you see "else" it just means your run() command is executing as
normal. It used to not show the "else" in the output in either case, up
until
https://github.com/mpapis/capistrano/commit/dff71ce0a867506512cb8dce7a09ae7e6aad3a37
-
I think I preferred the previous behaviour.
--
--
* 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.com/group/capistrano?hl=en
---
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.