RE: Renaming a branch

2010-09-08 Thread Giulio Troccoli
> 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.


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






RE: Renaming a branch

2010-09-08 Thread Jeremy Mordkoff
> > 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




RE: Renaming a branch

2010-09-08 Thread Giulio Troccoli
>


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:j...@zeevee.com]
> Sent: 08 September 2010 14:33
> To: Giulio Troccoli; users@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


Re: Renaming a branch

2010-09-08 Thread Daniel Shahaf
Giulio Troccoli wrote on Wed, Sep 08, 2010 at 14:36:45 +0100:
> 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).
> 

Are you sure?  AFAIK the mergeinfo logic takes care about moves and
interprets peg revisions correctly, etc.

> G