Submitting svnignore for inclusion in contrib/client-side
From: Christopher Boumenot <boumenot_at_gmail.com>
Date: 2006-11-12 19:14:58 CET
I wanted to submit this simple script for inclusion in subversion. It
The script works by running svn status from the current directory. Any
It is released under the same license as subversion.
Is there any interest in this?
Regards,
#!/usr/bin/env ruby
require 'tempfile'
h = Hash.new
`svn status .`.each do |line|
fn = File.basename(line)
h[dn] ||= Array.new
h.each do |k,v|
tmp = Tempfile.new("svnignore.")
%x{svn propset svn:ignore --file #{tmp.path} #{k}}
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.