Sorry, I should have been more specific : I'm not explicitly adding an item
that is ignored. Rather, I'm adding a folder that contains ignored items.
And Tortoise is behaving differently from core Subversion.
Consider the following working copy, with the property svn:global-ignores
set to "*.log" on "/trunk" :
/trunk/
/trunk/folder1/
Then create the following files and directory :
/trunk/folder1/app/
/trunk/folder1/app/run.log
/trunk/folder1/app/main.cpp
With the core Subversion command-line, if you run "svn add app" from the
"folder1" directory, svn will respect the inherited svn:global-ignores
property, and add "app/" and "main.cpp", but *not* "run.log".
With TortoiseSVN, if you execute the "Add" command on the "app" directory,
TSVN will *not* respect the svn:global-ignores, and will add everything,
including "run.log". I feel that in the "Add" dialog, the ignored files and
folders should at least be unchecked by default. Maybe they should even not
appear at all.
Julien Cugnière
2014-04-03 12:25 GMT+02:00 Andy Levy <andy.levy_at_gmail.com>:
> Subversion does exactly what you tell it to. What you've observed is not
> TortoiseSVN but core Subversion. If you explicitly add an item that is
> ignored, Subversion assumes you know what you're doing and lets you do it.
>
> To do otherwise would become a major usability problem as you'd have to
> manually change global-ignores anytime you need to override it.
> On Apr 3, 2014 6:00 AM, "Julien Cugnière" <julien.cugniere_at_gmail.com>
> wrote:
>
>> Hello,
>>
>> I noticed that the command line "svn add" on a folder respects the
>> svn:global-ignore property, while the Add command from TortoiseSVN does
>> not. Is this by design ? This unfortunately limits the usefulness of the
>> global-ignores property.
>>
>> Julien Cugnière
>>
>
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3075764
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-04-03 13:48:10 CEST