In the example, the non-versioned folder "SubFolder" is _always_ a child of
"Code". It is not being moved. "SubFolder"s parents are not changing but
the properties being inherited are.
If you are saying that it's expected for the ignore property of "Code" to
not be applied to the file
"trunk/Code/NonVersionedSubDirectory/shouldbeignored.txt2" when committing
from "trunk", then that is inconsistent with how versioned directories are
behaving.
Consider these four cases:
1. When committing relative to "trunk", the file
"trunk/Code/NonVersionedSubDirectory/shouldbeignored.txt2" will be shown in
the Tortoise commit/add views.
2. When committing relative to "trunk", the file
"trunk/Code/VersionedSubDirectory/shouldbeignored.txt2" will NOT be shown
in the Tortoise commit/add views.
3. When committing relative to "Code", the file
"trunk/Code/NonVersionedSubDirectory/shouldbeignored.txt2" will NOT be
shown in the Tortoise commit/add views.
4. When committing relative to "Code", the file
"trunk/Code/VersionedSubDirectory/shouldbeignored.txt2" will NOT be shown
in the Tortoise commit/add views.
The only difference between cases 1 and 2 is if the subdirectory (child of
"Code") is versioned or not. I would expected the results to be the same
for cases 1 and 2.
I understand what you're saying about the status command not showing
contents of non-versioned folders. The recursive `svn add` command is a
better example.
>From the "trunk" directory, calling `svn add
Code/NonVersionedSubDirectory/` will NOT add the file located at
"trunk/Code/NonVersionedSubDirectory/shouldbeignored.txt2".
>From the "Code" directory, calling `svn add NonVersionedSubDirectory` will
NOT add the file located at
"trunk/Code/NonVersionedSubDirectory/shouldbeignored.txt2".
Regardless of the current directory, calling `svn add
path/to/NonVersionedDirectory` will always result in the ignore property
from the "Code" directory being inherited by the child
("NonVersionedSubDirectory") and it's contents.
On Mon, 19 Nov 2018 at 13:21, Stefan via TortoiseSVN <
[email protected]> wrote:
>
>
> On Monday, November 19, 2018 at 5:50:37 AM UTC+1, Zander Milroy wrote:
>>
>> In my example, the files being committed are within the "Code" directory.
>> "trunk\Code\SubDirectory\shouldbeignored.txt2"
>>
>> The svn 'status' command does not exhibit the behavior I'm trying to
>> describe. The global-ignores property of a parent folder is inherited by
>> child folders and files regardless of where in the hierarchy the status
>> command is called from.
>>
>>
> You've set the property on trunk/Code.
> When you commit from trunk/Code or any folder below that it works.
> But if you commit from trunk, it doesn't. That's because trunk is a *parent
> *of trunk/Code and properties are inherited by *children*, not parents.
>
>
>
>> Calling 'svn ststus' from either parent directory ("trunk" or "Code")
>> does not list the files within the "Code" directory that match the *.txt2
>> rule.
>>
>>
> That's because 'svn status' does not show files *i*n unversioned folders
> but only the unversioned folders by default.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TortoiseSVN" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tortoisesvn/EwtsFEk84BA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tortoisesvn/094d57bc-d717-474c-8b59-941fcda0080d%40googlegroups.com
> <https://groups.google.com/d/msgid/tortoisesvn/094d57bc-d717-474c-8b59-941fcda0080d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tortoisesvn/CAN9Dxq%2BZa1RUfS4TNnfwkN85sfZj3CWheO6bJHubjonvfkRmcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.