Merging from branch to trunk with 'Merge range of revisions'

后端 未结 2 2047
无人及你
无人及你 2021-02-06 07:44

I have merged in Subversion/TortoiseSVN like this a few times:

Method A:

  • 1) I change the trunk and commit.

  • 2) I make other changes in a

2条回答
  •  走了就别回头了
    2021-02-06 08:06

    Regarding Merge range of revisions versus Reintegrate a branch:

    Following Method B results in having two kinds of commits in branch:

    1. Changes unique to branch
    2. Trunk changes picked from trunk by doing successive Merge range of revisions

    When merging back to trunk, you must pick only changes unique to branch. This is done by Reintegrate a branch.

    Using Merge range of revisions at the end would bring to trunk a mix of both duplicated trunk changes and private branch changes.

提交回复
热议问题