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

Re: [TSVN] Too much recursion going on in TSVN?

From: SteveKing <stefankueng_at_gmail.com>
Date: 2004-10-28 12:56:47 CEST

On Thu, 28 Oct 2004 12:21:34 +0200, Amir Kolsky <amir@xpandsoft.com> wrote:

> I have to disagree with you here stefan, the service runs at the background
> doing virtually nothing, and taking up almost zero resources. The

That's where you're wrong. It _will_ use resources, and it will be
called whenever a file/folder changes (which can be a lot when you
e.g. compile a project).

> TortoiseReparseService (TPS) wakes up only when folders that it set up
> reparse points for are touched. And all it does then is propagate the status
> information upwards, and only if the relevent entity had its status changed.

True. But:
- Reparse Points are only available for NTFS on Win2k and later. NT4
doesn't have those. and Win98 doesn't even have services.
- you need to write a file system filter, which is a _driver_(!!). And
since we're open source with no money, we can't let the driver getting
signed by MS and therefore each user will be a little shocked when
during TSVN's installation a big warning dialog pops up about unsigned
drivers being installed.
Also: just _one_ little bug in a driver can crash the whole system,
not just the shell or the program itself.

> I.e., if you have a file 10 levels deep changed for the first time (relative
> to the base) the change will update every directory's status on the way up.

And while gathering the status, you will get multiple change
notifications too, which would either end up in an endless loop, or we
would have to write a complicated system to filter the notifications
occuring from gathering the status out. And that would mean
communication between the status process and the driver, which is
something that shouldn't be done for security reasons.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 28 13:57:44 2004

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

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