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

Version Path
schubert-minglr-1.0.6 tasks/svn.sample.rake
schubert-minglr-1.1.0 tasks/svn.sample.rake
schubert-minglr-1.2.0 tasks/svn.sample.rake
schubert-minglr-1.3.0 tasks/svn.sample.rake
schubert-minglr-1.3.1 tasks/svn.sample.rake
schubert-minglr-1.3.11 tasks/svn.sample.rake
schubert-minglr-1.3.2 tasks/svn.sample.rake
schubert-minglr-1.3.3 tasks/svn.sample.rake
schubert-minglr-1.3.5 tasks/svn.sample.rake
schubert-minglr-1.3.8 tasks/svn.sample.rake
schubert-minglr-1.3.9 tasks/svn.sample.rake
stephenchu-minglr-0.1.0.0 tasks/svn.sample.rake
stephenchu-minglr-0.1.0.1 tasks/svn.sample.rake
minglr-1.3.11 tasks/svn.sample.rake