[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: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-11-11 00:00:46 CET

On Thu, 2005-11-10 at 13:06 -0500, Mark Phippard wrote:
> 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?

Yes, but the way he described it, it sounded like it combined a display
of those directories from the wc, plus the ones that had svn:externals,
and made those with svn:externals have a different color.

If it's really trying to gang-lookup all the svn:external properties in
a repository directory (IE a url), this won't help at all.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 11 00:03:59 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.