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

Re: AW: How to find out the rev number where a file was deleted?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 28 Nov 2010 19:35:15 +0200

Stefan Sperling wrote on Sun, Nov 28, 2010 at 16:48:30 +0100:
> The real problem is that we want to be able to answer these questions
> very fast, and some design aspects work against this. For instance,
> FSFS by design does not allow modifying old revisions. So where do
> we store the copy-to information for a given path_at_N?

copy-to information is immutable (never changes once created), so we
could add another hierarchy (parallel to revs/ and revprops/) in which
to store that information. Any 'cp foo_at_N bar' operation would need to
create/append a file in that hierarchy.

Open question: how to organize $new_hierarchy/16/16384/** to make it
efficiently appendable and queryable (and for what queries? "Iterate
all copied-to places" is one).

Makes sense?

> The best idea we've had so far was using an sqlite database. But
> that's really a hack around a design that doesn't support all the
> features we want.
> Stefan
Received on 2010-11-28 18:37:11 CET

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.