subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Maher <>
Subject RE: Strange behavior
Date Tue, 13 Aug 2013 13:24:28 GMT
An excellent alternative.  I will keep this in mind.

Thanks Andrew

-----Original Message-----
From: Andrew Reedick [] 
Sent: Monday, August 12, 2013 3:52 PM
To: John Maher;
Subject: RE: Strange behavior

> -----Original Message-----
> From: John Maher []
> Sent: Monday, August 12, 2013 3:27 PM
> To: Bob Archer; Edwin Castro;
> Subject: RE: Strange behavior
> Thanks Bob, that may be exactly what I am looking for.  Something that 
> would affect all the files without having to issue over 200 commands 
> or build a dummy directory just for importing.  Although that second 
> suggestion provided by Andrew is definitely better than the first.
> I couldn't find where it discusses the global config in the book, if 
> it does at all.  And even if it does I doubt it would help because it 
> won't tell me where to find the file.  Unless there is a command to 
> edit it.  I tried a search and someone says there is a site-wide 
> config (what I need) and a user config but not where they are.  I am 
> using Windows XP and an having a difficult time finding this file.
> I can't even find the name of it.  If someone can provide that I could 
> at least search for it and hope it has some clue inside as how to 
> alter it.

Plan B might be to use

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;

View raw message