Sha256: f43b29c421f183512b2357ae9428ffa46396c7b235f276f09683d921af874fc9
Contents?: true
Size: 590 Bytes
Versions: 14
Compression:
Stored size: 590 Bytes
Contents
namespace :svn do desc "Updates your local WC" task :up do `svn up` end desc "Adds new local WC files" task :add do `svn st | grep '^?' | xargs svn add` end desc "Removes deleted local WC files" task :rm do `svn st | grep '^!' | xargs svn rm` end desc "Check-in your local WC changes" task :ci do `svn ci -m "#{@commit_message || ENV['commit_message']}"` end desc "Checks if your WC has merge conflicts." task :conflict_check do `svn st | awk '{ if( $1 == "C" ) exit 1}'` raise 'You have conflicts!' unless $?.success? end end
Version data entries
14 entries across 14 versions & 3 rubygems