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

Re: svnignore?

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Fri, 29 Dec 2017 19:55:08 +0100

On Fri, 29 Dec 2017 19:05:06 +0100, Bo Berglund
<bo.berglund_at_gmail.com> wrote:

>On Fri, 29 Dec 2017 09:24:10 -0800, David Chapman <dcchapman_at_acm.org>

>But if I add the content of my cvsignore file to the config file as a
>whitespace separated list on one line that line becomes VERY log (over
>600 chars).
>Can I put the info in separate lines?
It turns out that enabling this option by removing the # character
makes SmartSvn barf when I want to check out a project!
So it is necessary also to remove all whitespace *before* the
global-ignores text. After this whitespace is permissible.

This is how my file looks now for ignores (the ignore globs are all on
one line, the newsreader has added the line breaks):

### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.
 global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc
*.pyo *.a *.aps *.bak *.BAK *.bpt *.bro *.bsc *.cdb *.cfg
*.cgl *.class *.compiled *.clw *.db *.dbg *.dcu *.DCU *.ddp
*.dsk *.dti *.err *.exp *.gid *.gz *.identcache *.ilk *.jar
*.lnk *.local *.log *.lps *.lrt *.mod *.MOD *.ncb *.NCB *.ocx
*.OPT *.opt *.pch *.pjt *.plg *.PLG *.pdb *.PDB *.ppu *.o
*.obj *.OBJ *.or *.rsj *.rst *.sbr *.scc *.SID *.sln *.tar
*.tds *.tlh *.tli *.trg *.vbw *.zip __history bak *.~* .#*

I guess it is not valid to split the list on several lines in they
config file?

Bo Berglund
Developer in Sweden
Received on 2017-12-29 19:55:30 CET

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