[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: Cooke, Mark <mark.cooke_at_siemens-healthineers.com>
Date: Fri, 2 Jun 2017 12:45:18 +0000

> -----Original Message-----
> From: Alfred von Campe [mailto:alfred_at_von-campe.com]
> Sent: 02 June 2017 13:40
>
> 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.

How did you "delete the branch"? Unless you performed a dump/filter/load then they are all still there, in all those revisions referenced by the merge info property... Hence the information is still valid.

I seem to remember that new commands (or a script) are available to try to consolidate svn:mergeinfo, have you seen or tried any of those?

> > 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...
>
> Alfred

(I'm not a svn dev)

~ Mark C
Received on 2017-06-02 14:45:39 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.