You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sumanjit Kaur Brar <SB...@quark.com> on 2008/01/28 13:03:12 UTC

Swapping between branch and trunk

Hi All,
 
Is it possible to move a branch to the place of trunck and trunk to branch. For example my repository structure is like this :
 
TRUNK-> Project A
                    |
                    |    (Project A branched off to A1)
               Project A1         
                    |
                    |    (Project A1 brached off to A11)
               Project A11     
 
 
Now I want my Project A which is in trunk to become a branch and Project A1 to come to main trunk. Is this possible.
Thanks in advance.
 

Regards, 
Suman Brar 
Ext : 9878 

CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail messages appended or attached to it, may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution, or use of the information contained or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone (+91.172.2299878) or return e-mail message (< mailto:sbrar@quark.com>) and delete the original transmission, its attachments, and any copies without reading or saving in any manner. Thank you

 

Re: Swapping between branch and trunk

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 28, 2008, at 07:46, Sumanjit Kaur Brar wrote:

>> On Jan 28, 2008, at 07:03, Sumanjit Kaur Brar wrote:
>>
>>> Is it possible to move a branch to the place of trunck and trunk to
>>> branch. For example my repository structure is like this :
>>>
>>> TRUNK-> Project A
>>>                     |
>>>                     |    (Project A branched off to A1)
>>>                Project A1
>>>                     |
>>>                     |    (Project A1 brached off to A11)
>>>                Project A11
>>>
>>>
>>> Now I want my Project A which is in trunk to become a branch and
>>> Project A1 to come to main trunk. Is this possible.
>>
>> Sure. They're just directories. "svn mv" them around as much as you
>> like.
>
> Thanks for your reply.After moving them the Project A11 which was  
> branched from A1 will be intact and still be related to A1 only.

I'm not sure I understand the question now, but it might be best if  
you just try this scenario in a test repository to make sure it works  
the way you want it to. But I think it does, if I understand you  
correctly.


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

RE: Swapping between branch and trunk

Posted by Sumanjit Kaur Brar <SB...@quark.com>.
Hi Ryan,

Thanks for your reply.After moving them the Project A11 which was branched from A1 will be intact and still be related to A1 only.

Regards, 
Suman Brar 
Ext : 9878 

CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail messages appended or attached to it, may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution, or use of the information contained or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone (+91.172.2299878) or return e-mail message (< mailto:sbrar@quark.com>) and delete the original transmission, its attachments, and any copies without reading or saving in any manner. Thank you



-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
Sent: Monday, January 28, 2008 6:37 PM
To: Sumanjit Kaur Brar
Cc: users@subversion.tigris.org
Subject: Re: Swapping between branch and trunk


On Jan 28, 2008, at 07:03, Sumanjit Kaur Brar wrote:

> Is it possible to move a branch to the place of trunck and trunk to  
> branch. For example my repository structure is like this :
>
> TRUNK-> Project A
>                     |
>                     |    (Project A branched off to A1)
>                Project A1
>                     |
>                     |    (Project A1 brached off to A11)
>                Project A11
>
>
> Now I want my Project A which is in trunk to become a branch and  
> Project A1 to come to main trunk. Is this possible.

Sure. They're just directories. "svn mv" them around as much as you  
like.


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


Re: Swapping between branch and trunk

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 28, 2008, at 07:03, Sumanjit Kaur Brar wrote:

> Is it possible to move a branch to the place of trunck and trunk to  
> branch. For example my repository structure is like this :
>
> TRUNK-> Project A
>                     |
>                     |    (Project A branched off to A1)
>                Project A1
>                     |
>                     |    (Project A1 brached off to A11)
>                Project A11
>
>
> Now I want my Project A which is in trunk to become a branch and  
> Project A1 to come to main trunk. Is this possible.

Sure. They're just directories. "svn mv" them around as much as you  
like.


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