[英]SVN Update to a revision in revision history got through merge
I have two branches maintained in an SVN repository. 我在SVN信息库中维护了两个分支。 Developers commit changes to one branch and an automated process merges the changes to second branch.
开发人员将更改提交到一个分支,然后自动化流程将更改合并到第二个分支。 I can see all the revision history in second branch.
我可以在第二个分支中看到所有修订历史记录。 Now I have a working copy pointing to second branch.
现在,我有一个指向第二个分支的工作副本。 Here I can see all the revisions;
在这里,我可以看到所有修订; but I could not update to a revision propagated through merge.
但我无法更新到通过合并传播的修订。 Is there anyways to perform a merge to get revisions in both the branches?
无论如何,是否有执行合并以在两个分支中获取修订的内容?
I am not sure I understand the question, so please bear with me. 我不确定我是否理解这个问题,请耐心等待。
It seems you want to update to a specific revision of branch 1
which corresponds to a specific revision of branch 2
. 似乎您想更新到
branch 1
的特定版本,该版本对应于branch 2
的特定版本。
One way to do it is to tag branch 1
right before you merge it into branch 2
. 一种方法是在合并
branch 2
之前标记branch 1
。
You can't update WC to revision, which change content below WC-root. 您无法将WC更新为修订版本,从而无法在WC-root下更改内容。 In your case, if WC-root is branch2-root, you can
在您的情况下,如果WC-root是branch2-root,则可以
/branches
) of checkout new WC from /branches (which will have all existing branches under /branches
in it) /branches
)的父文件夹(其中所有现有分支都在/branches
下)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.