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

Re: [Subversion] : Questions on svnignore

From: Danny van Heumen <danny.vanheumen_at_hccnet.nl>
Date: 2007-01-07 01:29:15 CET

Ramanathan Muthaiah wrote:
> Below is the scenario:
>
> created a new file, "A", in the local working copy but did not run
> "svn add" yet.
>
> I also have a file "B~" which is created by editor (as backup copy)
> while am editing file "B" which is under versino control.
>
> edited the "svnignore" property and added the file name "A" ONLY.
>
> Now, running the command "svn status /path/to/wc --no-ignore" shows
> the file "A" and also the file "B~".
>
> Where / how does "svnignore" know that the file "B~" also should be
> included along with file "A" ?

Client's global ignores option.

If you haven't specified any global ignores (subversion client config),
and the the global-ignores option is still commented out, then
subversion will default to the same set of ignores that were also the
default for CVS.

http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html
(4th paragraph)

I do find this a bit strange. With no global ignores set I would expect
the client not to use global ignores, instead it uses a default set.

It would seem more clear to me to have a default client configuration
with a global-ignores entry already filled with the default set.
That way it's clear to people when they're searching for those
"invisible" ignores and look inside the client configuration that there
are actually global ignores active. (Or maybe this is just my Windows
logic :P)

Danny

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 7 01:29:16 2007

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.