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

Remove revision range from repository

From: Josef Wolf <jw_at_raven.inka.de>
Date: Thu, 5 Dec 2019 10:56:58 +0100

Hello,

I need to permanently remove a range of revisions from a repository, which are
not the latest.

None of the working copies have such a revision checked out (I guess, that
might be a show-stopper).

I know, I can do:

# svnadmin dump /original/repo -r0:1234 > /path/to/dumpfile_1.dmp
# svnadmin dump /original/repo -r2345:HEAD --incremental > /path/to/dumpfile_2.dmp
# svnadmin create /new/repo
# svnadmin load /new/repo < /path/to/dumpfile_1.dmp
# svnadmin load /new/repo < /path/to/dumpfile_2.dmp

But that would renumber the revisions of the second load command.

Is there any way to insert empty revisions, so that the revision numbers would
be stable?

BTW: I guess, I'd need to set the uuid to the uuid of the old repository if I
     don'w want existing working copies to get into trouble?

-- 
Josef Wolf
jw_at_raven.inka.de
Received on 2019-12-05 11:00:17 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.