How to merge a svn branch to the latest HEAD revision

To merge a branch to trunk you need a working copy of the trunk. After that you merge the initial revision of the branch with the head revision of the branch.

Example: (–dry-run try operation but make no changes)

me:~/mytrunk $ svn merge --dry-run -r32074:32182 \
https://svn.host.com/branch/mybranch