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

Re: Looking for the equivalent of p4 obliterate...

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-01-07 16:23:25 CET

Garrett Rooney wrote:

> Justin Hahn wrote:
>> Perforce has a very handy way of doing this: the "obliterate" command
>> (which requires admin access to the repository, and a bunch of other
>> safeguards.) Is there an equivalent function in svnadmin or the svn?
>> While I can probably live without it, this functionality has been
>> quite valuable on a couple occasions. (You checked in how many gigs?
>> Why the hell? etc.) Even with CVS, if you really new what you were
>> doing, you could pull this off with rm and some editing.
>> The only thing I could find in the archives was a short thread from
>> about a year ago suggesting this was to be implemented.
> well, nobody's saying that we shouldn't have this feature, but due to
> the fact that the file system is designed specifically /not/ to ever
> lose data, it's not exactly a simple change. what you're asking for
> will most likely be implemented post 1.0 as a result.

It is, in fact, planned for after 1.0; see

> that said, if you're willing to get intimately familiar with our dump
> format, you could likely manage to dump the repository, restore
> everything from before the stuff you don't want went in, then
> selectively add in revisions after that point excluding the parts that
> involve the stuff you're trying to get rid of. i'm not positive this
> would work, but i suspect it would, although it would likely not be
> much fun to do.

The easiest way would be to just edit the dump file, removing all
references to the "obliterated" data. It's not exactly the easiest thing
in the world, but it should be possible, but note the warnings in the issue.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 7 16:29:09 2003

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.