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

Re: Include / Exclude Path woes Was: TSVNCache and Handles on USB Dri ve

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-16 10:05:07 CET

Lübbe Onken wrote:

> Thats what I would have expected too. I wonder why I have to add a '*' to a
> path to in-/exclude sub paths. Since I don't understand for what it is for,
> I play heretic and doubt its necessity:
> - What is the original reason for this?
> - Isn't this too complicated?
> - Is it necessary?
> - Do we need the '*' to achieve anything that we can't achieve without it?
>
> "Exclude C:\" -> Exclude the C: drive and all its folders
> "Include C:\Delphi" -> Include C:\Delphi and all its versioned subfolders.
>
> What does the '*' give me on top of that?

There is a reason :)

Some people have unversioned folders inside versioned ones. And they
don't want those to be included in the cache.

Imagine the following wc-layout:

c:\Delphi
c:\Delphi\src
c:\Delphi\generatedoutput

Now, if you set c:\Delphi* as the include pattern, then
c:\Delphi\generatedoutput is included too. That's because the include
pattern has priority over the exclude pattern. And the priority is that
way because you have a *lot* more to exclude than to include. That way,
you can exclude whole drives and just include *some* folders. If the
priority were the other way around, you'd have to exclude all your
unversioned folders separately.

But the tooltips on the pattern edit boxes *clearly* state that you have
to add a '*' to the pattern if you want the subfolders too.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Dec 16 10:05:15 2006

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.