Answer the question
In order to leave comments, you need to log in
How to create a branch in svn?
There is a classic repository: trunk, branches, tags. You need to create a new branch from the trunk. I create a new directory mybranch in branches. I make svn copy https://svn.adv.ru/svn/project/trunk https://svn.adv.ru/svn/project/branches/mybranch. After that, the trunk directory itself appears in mybranch along with the contents, and in theory there should be only the contents of the trunk. What am I doing wrong?
Question 2: in further development, when changes occur in the trunk, will they be automatically uploaded to mybranch upon checkout, or do I need to merge trunk changes into mybranch myself?
Answer the question
In order to leave comments, you need to log in
The catalog did not need to be created. You can do it through svn copy or even svnmucc cp without creating a working copy.
I won’t write an example with svnmucc right away. With SVN 1.7, if I'm not mistaken, you can use the ^ character to indicate the root of the repository instead of the full URL when specifying the path.
After creating a branch, nothing will be automatically merged, you need to do it manually every time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question