capistrano/capistrano — Issue #152: File Transfer methods put() and upload() don't honor dry-run flag
Author: benissimo
Created: 2012-02-08 16:56:43+00:00
State: open

https://github.com/capistrano/capistrano/blob/master/lib/capistrano/configuration/actions/file_transfer.rb

transfer() honors the dry-run flag.
upload() (and put() which is a wrapper around upload()) doesn't.

This is why, for example, deploy:web:disable doesn't honor the dry-run flag:
https://github.com/capistrano/capistrano/issues/151

But more generally, any task built on put() or upload() will fail to honor the dry-run flag.