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

Re: The cost of svn_io_get_dirents2 and early error messages

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-11-14 02:28:41 CET

On 11/13/05, Greg Stein <gstein@lyra.org> wrote:
> On Fri, Nov 11, 2005 at 12:19:17PM -0500, Daniel Berlin wrote:
> >...
> > This would mean they would be issued a bit later. In the
> > file->directory case, it wouldn't happen until you received updates to
> > that file.
>
> What if you never received updates? For example, svn's /trunk/COPYING
> is a couple years old. If that was replaced with a directory, then I'd
> want to have some kind of signal about it "soon", rather than several
> years later when somebody tweaks the license.

This seems kind of silly, but why would you want some kind of signal?
Or, more to the point, why would you expect subversion to notice such
a thing?

This is in the user's working copy, if something has turned a file
into a directory, it's something the user did. If we tried to notice
everything a user could possibly do to mess up their working copy at
every opportunity we'd never get anything done. It's one thing to
notice a problem (and produce a useful error message) when it
intersects with a part of the working copy that we're already involved
with, it's another to go out of our way to check parts of the working
copy we don't otherwise care about.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 14 02:29:57 2005

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

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