Sha256: f6569808a5d5d7d74a2892aeff28036bd9206f6aac1f27d3217e1e30fdca9014
Contents?: true
Size: 484 Bytes
Versions: 4
Compression:
Stored size: 484 Bytes
Contents
#!/usr/bin/ruby require "knj/autoload" path_to = ARGV[0] Dir.glob(File.join("**", ".svn")).each do |dir| newdir = path_to + "/" + dir #print dir + "\n" #print newdir + "\n" if File.exists?(newdir) print "Remove: " + newdir.to_s + "\n" FileUtils.rm_r(newdir) end begin #print "Move: " + dir + "\n" #FileUtils.mv(dir, newdir) print "Copy: " + dir + "\n" FileUtils.cp_r(dir, newdir) rescue => e print "Failed: " + e.message + "\n" end #print "\n" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
knjrbfw-0.0.8 | lib/knj/scripts/svn_merge.rb |
knjrbfw-0.0.7 | lib/knj/scripts/svn_merge.rb |
knjrbfw-0.0.4 | lib/knj/scripts/svn_merge.rb |
knjrbfw-0.0.3 | lib/knj/scripts/svn_merge.rb |