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

Re: TSVNCache questions

From: Robert Roessler <robertr_at_rftp.com>
Date: 2007-11-23 22:36:40 CET

Stefan Küng wrote:
> Robert Roessler wrote:
> ...
>> Which brings me to my final (for now) point: the TSVNCache executable
>> from rev 11400 DOES NOT WORK PROPERLY (on my XP SP2 system with NTFS).
>
> See here:
> http://nightlybuilds.tortoisesvn.net/latest/changelog.html#r11402
>
> Please try a nightly build after that fix. And maybe even wait for the
> next one (in case you're using it on Vista, that's strongly recommended).

11426 looks great (vis-a-vis TSVNCache)! :)

The Include/Exclude lists are clearly being processed now, and the Drive
Type entries behave as expected (i.e., as "super" include and exclude
controls).

So, ALL Drive Types UNCHECKED + an Include entry of x:\usr\Play\ now
cause TSVNCache to ONLY examine that folder and its descendants - thanks
again, Stefan.

BTW, regarding the final 'if' in the Include patterns loop:

1) the 'I->size() && ' is still unnecessary, due to the 'I->empty()'
test at the top of the loop

1a) if you are willing to do a 'I->at(I->size()-1)' access immediately
after the 'I->empty()' test at the top, you MUST be willing to perform
the same type of access later in the loop [without repeating the test]

2) the last compare (along with its '||') is unneeded - if you get that
far, you KNOW that the current Include pattern is NOT a prefix of the
current test path, so it can hardly be EQUAL to the test path! ;)

Robert Roessler
robertr@rftp.com
http://www.rftp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Nov 23 22:37:19 2007

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.