简体   繁体   English

如何使用Tortoise SVN将SVN合并到一个分支(SVN 1.6)中

[英]How to SVN merge trunk into a branch (SVN 1.6) using Tortoise SVN

I created a branch and then made changes to trunk which need merging into the branch. 我创建了一个分支,然后对trunk进行了更改,需要合并到分支中。 TortoiseSVN has a nice handy merge branch->trunk utility, but to do it this way round do I have to manually merge specific revision ranges? TortoiseSVN有一个非常方便的合并分支 - >中继实用程序,但要这样做,我必须手动合并特定的修订范围?

Bringing a branch up to date with trunk is usually very simple with SVN 1.6. 使用SVN 1.6,使用树干更新分支通常非常简单。 This version keeps track of the specific trunk revisions already in the branch and knows how to only merge in the revisions you don't have in the branch. 此版本跟踪分支中已有的特定主干修订,并知道如何仅合并分支中没有的修订。 TortoiseSVN takes full advantage of SVN's merge tracking feature. TortoiseSVN充分利用了SVN的合并跟踪功能。

When merging new trunk changes into a branch, choose the "Merge a range of revisions" option. 将新的主干更改合并到分支时,请选择“合并一系列修订”选项。 Leaving the revision range entry blank will cause Tortoise to merge all new changes from trunk without you having to figure out what revisions those are. 将修订范围条目保留为空将导致Tortoise合并来自trunk的所有新更改,而无需弄清楚它们的修订版本。

Here is the TortoiseSVN documentation on merge tracking . 这是关于合并跟踪的TortoiseSVN文档。

如果您使用1.6创建分支,则分支将具有允许自动从主干到分支合并的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM