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.

Reply via email to