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

RE: Renaming a branch

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Wed, 8 Sep 2010 14:36:45 +0100

>

Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

-----Original Message-----

> From: Jeremy Mordkoff [mailto:jlm_at_ZeeVee.Com]
> Sent: 08 September 2010 14:33
> To: Giulio Troccoli; users_at_subversion.apache.org
> Subject: RE: Renaming a branch
>
> > > Is there a safe way to rename a branch? I'm worried about all my
> > > mergeinfo's
> >
> > If you have merged only from trunk and haven't merged from this
> branch, I don't see a problem
> > in using s imple svn mv.
> >
> I wish it was that simple
>
> branches/rel_2_5_3 merges to branches/rel_2_5 which merges to trunk
>
> I want to rename rel_2_5 to rel_2_6

rel_5_2 has *only* received merges, either from trunk or any other branch, is that correct? Then again a move is sufficient. The mergeinfo in the new branch, rel_2_6, will refer to rel_2_5_3 which you are not renaming. The problem would be if you had merged rel_2_5 to, let's say, rel_3_0. In that case you would need to edit the svn:mergeinfo property (using svn propedit not svn propset).

G
Received on 2010-09-08 15:37: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.