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

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

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2006-12-08 10:05:02 CET

Hi Stefan,

I have a similar problem, but the other way round. I have a source folder
linked to a repository on my C: drive, that contains some library stuff. I
want to exclude everything on C: from the cache apart from this folder. I
can't make TortoiseSVN do-the-right-thing, no matter which include/exclude
paths I tried.

Overlay Settings:
Cache -> Standard
Drive types -> Local Drives, everything else unchecked

 1 C:\Delphi contains
+5 five versioned and
+3 three unversioned folders.
+2 Two of the five versioned folders contain an unversioned subfolder.
11 Foldes to watch in total

The unversioned folders contain many (hundreds of) subfolders which should
be ignored.

I don't know the internals of the cache, but if I get the include/exclude
settings right, I would expect TSVNCache to monitor 11 folders.

I tried the following different include/exclude settings:
Case 1: Exclude: C:\*
A)
Include: C:\Delphi\
Result: 1 (Cached Directory) / No (overlay on C:\Delphi) / No (overlays on
folders in C:\Delphi\)

B)
Include: C:\Delphi\*
Result: 12 / No / Yes

C)
Include: C:\Delphi
Result: 10 / Yes / No

Case 2: Exclude: C:\
D)
Include: C:\Delphi\
Result: 36 / Yes / Yes

E)
Include: C:\Delphi\*
Result: 36 / Yes / Yes

F)
Include: C:\Delphi
Result: 36 / Yes / Yes

Is this some edge case with C:\Delphi being a working copy at the root of an
exclude path?

My desired/expected result would be: 11 / Yes / Yes

Since we are talking about exclude *paths*, I would expect A) or C) to
deliver the correct result.
"Exclude C:*" excludes every folder in C:\.
"Include: C:\Delphi\" or "Include: C:\Delphi" should then add the folder to
watch
(we can argue whether a trailing slash is needed later).

Case B) is needed when we want to add a folder containing WCs.

I know that D)-F) produce the correct overlays, but the behaviour of A)..C)
doesn't look right to me.

Food for thought :)

Cheers
- Lübbe

--
       ___
  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 Fri Dec 8 10:05:15 2006

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