You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian McCann <Br...@viziant.net> on 2007/09/06 16:23:40 UTC

Renaming a branch

Hi,
 
I created a branch a few days ago, code has been committed to the branch since it was created

Is it possible to rename a branch? There is an error in its name I would like to fix


Thanks,
Brian
 
 

Re: Renaming a branch

Posted by Andy Levy <an...@gmail.com>.
On 9/6/07, Brian McCann <Br...@viziant.net> wrote:
>
>
> Hi,
>
> I created a branch a few days ago, code has been committed to the branch
> since it was created
>
> Is it possible to rename a branch? There is an error in its name I would
> like to fix

A branch is just a directory, rename it the same way you would any
other. svn mv <url_to_old_name> <url_to_new_name> (if you don't have a
WC checked out from the parent directory).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Renaming a branch

Posted by "Tjernstrom, Staffan" <st...@mail.esignal.com>.
Ni Brian,

 

You can use svn move (or svn rename) on the branch.

 

The only trick is that if anyone has a working copy pointing to anything in that branch (or below it), they'll have do svn switch that working copy to point to the new name.

 

HTH

Rgds 

Staffan Tj. 

Staffan Tjernström | Sr. Software Engineer - Market Data Systems | www.esignal.com <http://www.esignal.com/> 
eSignal, Interactive Data Desktop Solutions (NYSE: IDC)
3955 Point Eden Way | Hayward, CA 94545-3720 | 510.723.1723 | FAX: 510.266.6100

________________________________

From: Brian McCann [mailto:Brian.McCann@viziant.net] 
Sent: Thursday, 06 September, 2007 09:24
To: users@subversion.tigris.org
Subject: Renaming a branch

 

Hi,

 

I created a branch a few days ago, code has been committed to the branch since it was created

Is it possible to rename a branch? There is an error in its name I would like to fix

Thanks,

Brian

 

 



DISCLAIMER: This message (including any files transmitted with it) may contain confidential and / or proprietary information, is the property of Interactive Data Corporation and / or its subsidiaries and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution or use of this message, or any attachments, is prohibited and may be unlawful.