You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by nihar <ni...@mindtree.com> on 2009/07/06 14:30:54 UTC

RE: Questions on SVN

Hi Andy,

Many thanks for your response. I have one more question, if you can help.
I have created a branch and deleted the same. I'm using subversive plug-in over eclipse. I have gone to SVN Repo view, created a branch out of trunk and deleted the same. Now I want to get back the deleted branch. How can I do that using eclipse or Tortoise ? Now if I go to Repo View in eclipse or in Tortoise I'm not able to see that deleted branch. Please help me finding the solution.


Thanks in Advance,
Nihar



-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Monday, June 29, 2009 7:14 PM
To: Nihar Pattanaik
Cc: users@subversion.tigris.org
Subject: Re: Questions on SVN

On Mon, Jun 29, 2009 at 09:29, nihar<ni...@mindtree.com> wrote:

> How can I list all the branches (sub-branches) created from another branch ?

You can't, really. There isn't "forward history"; you can see where a
particular branch came from via svn log,but you can't see what
branches were created from a particular point.

> I have noticed when I created a Branch from another branch, the sub-branch
> is created under the root.

The sub-branch is created wherever you tell Subversion to create it.

Subversion doesn't know the difference between between branches, tags,
trunk, etc. - they're just directories. There is nothing internal to
Subversion which distinguishes between a branch and your trunk.

http://www.mindtree.com/email/disclaimer.html

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368386

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Questions on SVN

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 6, 2009, at 09:30, nihar wrote:

> I have created a branch and deleted the same. I'm using subversive  
> plug-in over eclipse. I have gone to SVN Repo view, created a  
> branch out of trunk and deleted the same. Now I want to get back  
> the deleted branch. How can I do that using eclipse or Tortoise ?  
> Now if I go to Repo View in eclipse or in Tortoise I'm not able to  
> see that deleted branch. Please help me finding the solution.

You will want to use a peg revision (as opposed to the usual  
operative revision) to copy the branch back from a revision in which  
it did exist. You can read about peg revisions in the book:

http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html



If you need help specifically with how to use peg revisions in  
eclipse or TortoiseSVN, you should ask in their support venues.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368601

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].