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

Re: [TSVN] Possible bug with the property svn:global-ignores

From: Justin MASSIOT <m.just1_at_free.fr>
Date: Tue, 3 Nov 2015 10:58:58 +0100 (CET)

Hello,

I have an update on my original statement, and I must say I'm not able to understand everything...
I am still with TortoiseSVN 1.9.2-26806.

Here is my folders structure:
+ trunk (already versioned)
+-+ folder11 (unversioned)
  +-- folder21 (unversioned)
  +-+ folder22 (unversioned)
    +-- some other folders...
  +-- folder23 (unversioned)
  +-+ folder24 (unversioned)
    +-- some other folders...
When I add folder11, TortoiseSVN understands that *.log files must be ignored inside folder21 and folder23, but not inside folder22 and folder24!
Good piece of news: what I am asking for is already partly functional (tested with a set of 6-level depth folders).
Bad part of the conclusion: as soon as the files/folders which must be globally ignored have a sibling folder, TSVN fails to apply the global-ignore properties.

I have done a more in-depth test with the following structure:
+ trunk (versioned)
+-+ level1 (not versioned yet)
  +-+ level2
    +-+ level3
      +-+ level4
        +-- test4.log (has to be ignored)
        +-+ level5
          +-+ level6
            +-- __Previews (has to be ignored)
            +-- test6.log (has to be ignored)
If I SVN Add the folder "level1" and all of its children, both "__Previews" and "test6.log" are ignored.
If I add a folder called "test" inside "level6", "__Previews" and "test6.log" are both *SVN Added*. Then I "undo add" and delete the "test" folder.
If I add a folder called "_test" inside "level6", "test6.log" is ignored well but the "__Previews" is SVN Added! Then I "undo add" and delete the "_test" folder.
If I add a folder called "__test" inside "level6", "__Previews" and "test6.log" are both correctly ignored!
Sadly, in *none* of the above test cases the test4.log file is properly ignored.

It's absolutely mystic :-)
Can somebody explain that to me?

Justin

----- Mail original -----
> De: "Justin M." <m.just1_at_free.fr>
> À: "users" <users_at_tortoisesvn.tigris.org>
> Envoyé: Lundi 2 Novembre 2015 22:48:33
> Objet: Re: [TSVN] Possible bug with the property svn:global-ignores
>
> Hi Stefan,
>
> Thanks for your feedback.
> I understand your point of view, and I know that there is a
> possibility with the
> configuration file. Yet, the solution with the versionned properties
> is far more
> attractive to me: no need to deploy a configuration on all the
> computers,
> automatic updates if there are any, possibility to have repo-specific
> ignore
> lists, etc. Really, I find them more handy in the daily use (I have
> tested each
> of the two solutions for more than one year).
> That's why I prefer to insist on my proposition: is it a non-sense to
> have the
> option to auto-inherit properties while Adding files and folders,
> even for a
> depth > 1?
>
> Cheers,
> Justin
>
>
>
> Le 02/11/2015 20:25, Stefan Küng a écrit :
> > On 29.10.2015 14:14, Justin M. wrote:
> >> Hello everyone,
> >>
> >> I am using TortoiseSVN 1.9.2-26806 (latest publicly available
> >> release) with Windows Pro 7 x64 and I think that I have found a
> >> problem with the "auto-inheritance" of the "svn:global-ignores"
> >> properties.
> >>
> >> Context:
> >> I have defined some "svn:global-ignores" properties at the top
> >> level of my repo in order for them to propagate into the whole
> >> directory structure recursively (I precise that I haven't ticked
> >> the "Apply property recursively" option).
> >>
> >> What I do / What I obtain:
> >> When I SVN Add a batch of folders and files, the global-ignore
> >> instructions does not seem to apply correctly, resulting in the
> >> addition of files that should have been excluded.
> >> When I SVN Add some files that are to be excluded, contained in an
> >> *already version-controlled folder*, everything works as
> >> expected.
> >>
> >> What I expect:
> >> I would thought that the inherited properties, even if not
> >> existing yet because the container is not version-controlled,
> >> could be (recursively) taken into account at the SVN Add stage.
> > No, sorry. The properties work only on versioned items. When doing
> > an
> > 'add' in unversioned folders, you have to set the ignores in the
> > settings dialog->General->Global ignore pattern
> > That's the ignore settings that's applied to non-versioned folders.
> >
> > Stefan
> >
>
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3145162

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-11-03 10:59:08 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.