Using svnversion to capture svn revision number
Merge pull request #1013 from theunraveler/svnversion

Use svnversion to capture svn revision number
Use self. for clarity in class method definition

class << self is confusing for many people
Refactor and improve Host and Role Filtering

Update CHANGELOG and README
Replace HostFilter and RoleFilter with Filter in Configuration
Create list of filters from command arguments and ENV vars
Intercept the existing on() method to apply external filters
Update roles_for() and fetch_primary() to use internal filters
Improve Filter code

Split only valid lists of host names to avoid splitting a regex
containing a comma.
Define // syntax for regex in role filters
Treat all host/role filtering options the same

Command line —host and —role options
Environment variables ROLES and HOSTS
Filter variable hash keys :role and :host
Override netssh_options and use super

The existing method of using aliases is confusing
and unnecessary
Fix bug with filtering single server

Manifested by on primary() construct
Merge pull request #1140 from townsen/on_filters

Host and Role filtering improvements
fix remote_task inside a namespace

Previously defining `remote_task` inside a namespace resulted in
scoping the file name to the namespace. For example file named
config/database.yaml inside shared namespace would result in:
shared:config/database.yml

That is surely unwanted behaviour. Fix is simple. Introducing
Capistrano::UploadTask that inherits from Rake::FileCreationTask.
These Rake File tasks are not carrying the namespace in their name.
Merge pull request #1144 from mikz/upload-namespace

fix remote_task inside a namespace
Fix matching on hosts with custom ports or users set

This is an update of PR #1072 with passing tests
Thanks @cheald

Fixes #1071
Closes #1072
Merge pull request #1157 from shaneog/issue-1071

Fix matching on hosts with custom ports or users set
Disable loading stages configs on `cap -T`
Merge pull request #1078 from sponomarev/remove_stages_from_load_imports

Disable loading stages configs on `cap -T`
Do not raise exceptions when stdio is closed 

Question was calling methods on nil and `Errno::EIO` was raised.

This way you can properly handle `Interrupt` exception.
Merge pull request #1172 from mikz/patch-2

Do not raise exceptions when stdio is closed
remove Question dependency on env

* Question was setting itself to the env but env itself persists it
* Env#fetch saves everyting that responds to #call by set
made the deploy.rb template show better examples of how to set linked_dirs and linked_files.  refs #922
Merge pull request #1179 from betesh/master

made the deploy.rb template show better examples of how to set linked_dirs and linked_files.  refs #922