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

Improved overlay icon path filter settings

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sat, 20 Mar 2010 18:09:03 +0100

Hi all,

the TSVNCache process has been the source of
many user complaints. Of course, you can set the
exclude / include paths. But that didn't really seam
to help. Until recently.

About I week ago, I finally learned that you have
to add an '*' to exclude the whole sub-tree. That's
when I thought: If even I can't get it right, how is
the average user supposed to do the Right Thing?

Long story short, this is how it works effective r19027:

* default is now "apply to whole sub-folder";
  a '*' may be specified optionally
* to specify that only a single path is meant,
  add a '?'

For most people, this will accomplish what their
settings intended. A few rare cases may need
to adapt.

Once I was at it, I made the lookup more flexible:

* if there is no setting for the given path,
  apply the parent path's setting
* if there is no such setting, default to "include"
* if more than one setting applies, resolve the
  conflict as follows
  - a non-recursive setting trumps recursive ones
    (but only for this path; not the sub-tree)
  - inclusion trumps exclusion

Example:

exclude
        C:,
        C:\develop\?
        C:\develop\tsvn\obj
        C:\develop\tsvn\bin
include:
        C:\develop

These settings enable icon overlays for all projects
below c:\develop will ignore that folder itself. Also,
the high-churn binary folders won't trigger status
updates.

-- Stefan^2.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-20 18:09:14 CET

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