On Jan 27, 2007, at 12:16, Danny van Heumen wrote:
> Jeff Smith wrote:
>
>> It seems I've had the opposite problem. I tried to 'compact'
>> unused revision numbers after removing some paths from the
>> repository using svndumpfilter, but it keeps these empty revisions
>> as placeholders.
>
> That is intended.
> Having large files in your repository costs a lot of space and this
> space simply can't be won back unless you rebuild your repositoy
> without the files in it (like with dumping and loading a dumpfile).
> Subversion has revision numbers in abundance and it actually
> *tries* to keep the same revision for every commit because you
> could have used these numbers in log messages and such. (You
> wouldn't want a log message to say: Fixing a bug that occurred in
> r854 while you only have 700 revisions :-P.)
>
> I don't think it's going to be easy to "recycle" those wasted
> numbers. And I also think you shouldn't want to...
"svndumpfilter exclude" has some options which may be of interest, in
particular --renumber-revs and --drop-empty-revs:
$ svndumpfilter help exclude
exclude: Filter out nodes with given prefixes from dumpstream.
usage: svndumpfilter exclude PATH_PREFIX...
Valid options:
--drop-empty-revs : Remove revisions emptied by filtering.
--renumber-revs : Renumber revisions left after filtering.
--preserve-revprops : Don't filter revision properties.
--quiet : Do not display filtering statistics.
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 27 22:49:40 2007