Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Chris Anderson http://jchris.mfdz.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

List files that would be changed in a Capistrano deploy

// description of your code here
Sometimes you want to know before hand which files have been added or changed since your last deploy. Maybe you have to run a migration. Assuming you're using subversion for you source control, this task will list the pending changes.


desc "List the files that would be updated or changed in a deploy."
task :svn_st_up, :roles => :app do
  run "cd #{current_path} && " + "svn st -u"
end


from my blog
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS