Re: What does -> "else" :: means ?

35 views
Skip to first unread message
Message has been deleted

Jonathan del Strother

unread,
Sep 9, 2013, 5:05:36 AM9/9/13
to capis...@googlegroups.com
On Friday, 3 May 2013 13:50:40 UTC+1, geoffroy....@gmail.com 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.
Reply all
Reply to author
Forward
0 new messages