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

[RFC] Implementing obliterate as a node-rev-id blacklist

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 09 Dec 2009 22:27:05 +0000

I was wondering whether it would be possible to implement Julian's dd1
model of obliterate, where obliterate causes file and directory nodes
to be removed from the history, as a node-rev-id blacklist. Rather
than have obliterate modify history by rewriting previous revisions
libsvn_repos would simply add the obliterated nodes to a blacklist,
with storage provided by the fs layer, and then libsvn_repos would
query the blacklist before sending out node information. Think of it
as a path based auth system built into libsvn_repos.

One advantage of doing it this way would be that, apart from some
relatively simple fs storage/query stuff, the clever bits all happen
at the repos level and so only have to be implemented once to get both
FSFS and BDB implementations.

One disadvantage is that the querying would add some overhead to all
repos operations, although we could probably arrange for this to be
minimal on repositories that are configured not to support
obliteration.

One feature that could be viewed as either an advantage or a
disadvantage is that obliteration could even be reversible. Removing
a blacklisted node-rev-id from the blacklist would "unobliterate" it.

-- 
Philip
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2429030
Please start new threads on the <dev_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <dev-subscribe_at_subversion.apache.org>.
Received on 2009-12-09 23:27:37 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.