You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ramanathan Muthaiah <ru...@gmail.com> on 2007/01/06 21:46:43 UTC
[Subversion] : Questions on svnignore
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" ?
/Ram
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [Subversion] : Questions on svnignore
Posted by Ramanathan Muthaiah <ru...@gmail.com>.
> > Client's global ignores option.
>
> And please keep such questions on the users@ list. Or read the book.
Thanks Danny, I did overlook this part in the book.
Branko,
I did think about this after posting to DEV list. Will rectify for
future posts and thanks for your patience.
/Ram
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [Subversion] : Questions on svnignore
Posted by Branko Čibej <br...@xbc.nu>.
Danny van Heumen wrote:
> 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.
And please keep such questions on the users@ list. Or read the book.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [Subversion] : Questions on svnignore
Posted by Danny van Heumen <da...@hccnet.nl>.
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