Merge trunk to branch in Subversion

前端 未结 3 1355
攒了一身酷
攒了一身酷 2020-12-12 10:53

I\'m using Subversion 1.4.6, and I cannot upgrade to version 1.5 right now.

The situation:

  1. The trunk has a lot of structural changes (i.e. moving fi

相关标签:
3条回答
  • 2020-12-12 11:15

    Last revision merged from trunk to branch can be found by running this command inside the working copy directory:

    svn log -v --stop-on-copy
    
    0 讨论(0)
  • 2020-12-12 11:18

    Is there something that prevents you from merging all revisions on trunk since the last merge?

    svn merge -rLastRevisionMergedFromTrunkToBranch:HEAD url/of/trunk path/to/branch/wc
    

    should work just fine. At least if you want to merge all changes on trunk to your branch.

    0 讨论(0)
  • 2020-12-12 11:18

    It is “old-fashioned” way to specify ranges of revisions you wish to merge. With 1.5+ you can use:

    svn merge HEAD url/of/trunk path/to/branch/wc
    
    0 讨论(0)
提交回复
热议问题