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

Re: Is it safe to remove deleted and no longer used branches from the svn:mergeinfo property?

From: Alfred von Campe <alfred_at_von-campe.com>
Date: Fri, 2 Jun 2017 08:40:15 -0400

On Jun 2, 2017, at 8:25, Nico Kadel-Garcia wrote:

> I suspect you're going to hurt yourself if you try this sort of stunt.
> Not that it might not work in theory for some cases, but it's not
> tested and is against the basic "never, never, never, and did I
> mention never alter history" approach to Subversion.

Why? The svn:mergeinfo property just kept track of what revisions have
been merged from a given branch. If I delete the branch the information
is useless, but there is no automatic cleanup of that property.
> What I think you *can* do is an "svnadmin dump | svndumpfilter exclude
> (obsolete branches) | svnadmin load" to another Subversion repo, and
> switch to that repo to have a modified history.

I don’t want to alter history. I want the older branches around so they
can be browsed and inspected for history. I just want to clean up the
svn:mergeinfo property so it’s easier to read.

I would love for one of the Subversion developers to chime in here...

Received on 2017-06-02 14:40:26 CEST

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.