Subversion: How to merge a specific commit

Viewed 49509

I have some commit on my branches. I want to merge the branches to trunk, but there have some commit that I don't merge to trunk on my branches. How do I do?

4 Answers

If one has TortoiseSVN installed, below are the steps to merge a range of revisions from a branch to the other.

  1. Have a local checkout of the branch to which you want to merge a range of revisions from a source branch.
  2. Right Click inside root folder --> TortoiseSVN --> Merge
  3. By default, "Merge a range of revisions" is clicked.
  4. Click Next
  5. Enter the URL to merge from
  6. Enter the specific range of revisions you want to merge
  7. One can also click Show log and select the desired revision or range of revisions
  8. Click Test Merge to check if it merges desired revisions/files.
  9. Click merge
Related