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

Re: Copy-To (forward reference) info in FSFS or BDB?

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 11 Nov 2009 17:01:22 +0100

On Wed, Nov 11, 2009 at 01:51:14PM +0000, Julian Foad wrote:
> On Wed, 2009-11-11 at 14:33 +0100, Branko Čibej wrote:
> > Branko Čibej wrote:
> > > Julian Foad wrote:
> > >
> > >> For obliteration, I need to be able to find all back-references from
> > >> newer revisions to the node-rev I'm obliterating.
> > >>
> > >> Did we ever get anywhere with implementing a table to cache forward
> > >> references ("copy-to")?
> > >
> > > No ... and IIRC building that list is one of the more expensive
> > > operations you can think of.
>
> However expensive it is, it's worth it in the long run.

Yes!

I've done that before. I once made a patch implementing copy-to information
stored in regular properties attached to paths (much like
svn:mergeinfo). Running through a largish (1 or 2 GB?) repository and
adding the info everywhere didn't take an unmanagable amount of time.

It might take longer when changing FSFS data structures directly though.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2416620
Received on 2009-11-11 17:01:58 CET

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.