[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Strange behavior

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Mon, 12 Aug 2013 15:38:29 -0500

On Aug 12, 2013, at 14:52, Andrew Reedick wrote:

> Plan B might be to use svn_load_dirs.pl: http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svn_load_dirs/
>
> It has a "glob_ignores" option, or will try to read your global-ignores from your local svn config file.
>
> From the script:
> ===============
> # If no glob_ignores specified, try to deduce from config file,
> # or use the default below.
> my $ignores_str =
> '*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store';
>
> if ( defined $opt_glob_ignores)
> {
> $ignores_str = $opt_glob_ignores;
> }
> elsif ( -f "$ENV{HOME}/.subversion/config" )
> {
> open my $conf, "$ENV{HOME}/.subversion/config";
> while (<$conf>)
> {
> if ( /^global-ignores\s*=\s*(.*?)\s*$/ )
> {
> $ignores_str = $1;
> last;
> }
> }
> }

svn_load_dirs is for loading multiple versions of an old project into a version control system for the first time. The user hasn't said anything about wanting to do that so I don't think there's any need to jump to svn_load_dirs. It seems like its glob_ignores just does what the built-in global-ignores already does.
Received on 2013-08-12 22:39:27 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.