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

Re: Faster svn:externals detection

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-11-10 19:06:30 CET

Daniel Berlin <dberlin@dberlin.org> wrote on 11/10/2005 01:00:06 PM:

> On Thu, 2005-11-10 at 16:34 +0100, Leon Zandman wrote:
> > Hi,
> >
> > On the TortoiseSVN mailing list I asked for a feature that would
> > explicitly show svn:externals directories when browsing through a
> > repository, i.e. by displaying those folders in a different colour.
> > Currently TSVN's Repo(sitory) Browser doesn't show externals. Only
when
> > you look at the properties of the directory you can find out if it
> > contains externals.
> >
> > Stefan, TSVN's primary coder, responded that he'd like such a feature
> > too. But he said it could only be implemented if TSVN looked at the
> > properties of each directory in the repository, which would heavily
slow
> > down the browsing process.
> >
> > So I think from a TSVN perspective there's no easy way to solve this.
> > But maybe something can be added to Subversion itself? Would it be
> > possible for Subversion to indicate to a client that a folder contains
> > externals, without requiring the extra round-trip to fetch the
> > properties?
>
> The wc-propcaching branch is adding code to do just this.
>
> In fact, i posted a patch this morning that caches whether this property
> exists or not so that it's not expensive to try to get it on every
> directory.

This is an svn ls against the repository scenario. Doesn't your proposal
only speed up the WC?

I guess they are asking that the API underneath svn ls have an ability to
communicate the svn:externals property. I believe the lock information
was recently added to this API, so I imagine that is partly inspiring this
request.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 10 19:12:30 2005

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

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