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

Re: removing stuff from repository, permanently

From: <cmpilato_at_collab.net>
Date: 2003-03-06 16:26:03 CET

Alexander Sabourenkov <screwdriver@lxnt.info> writes:

> By dumping in carefully selected ranges of revisions and loading
> those dumps excluding even more carefully selected paths it would be
> possible to get rid of any undesired information.
>
> Is this worth doing?

Speaking as a guy who has actually edited a dumpfile to prune out all
paths at or under some directory I no longer wanted, I'd say, "Sure,
it's worth doing." This would provide a really easy way to do a
repository splice. Using our current repository as an example:

   $ svnadmin dump old-svn > dumpfile
   $ svnadmin load --excludes="/clients" svn < dumpfile
   $ svnadmin load --includes="/clients" svn-clients < dumpfile

Default action for revisions in which no nodes changed (as a result of
the filtering) would be to simply create an empty revision (so that
numbering is preserved). You'd probably also want a --drop-empty-revs
option which would cause the loader to not bother creating new
revisions where all the changes were filtered out.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 16:28:43 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.