I always commit to Trunk and Branch.
Usually I:
- create a patch of my trunk-changes I want to commit.
- execute the patch to my workcopy of the branch (sometimes merge)
- test trunk, test branch
- commit the patched trunk
- commit the patched branch
Today my mistake was that I committed all my changes(see 4) without making an patch (see 1).
Now, I have no patch that I can execute to the branch.
How can I “easily” get my changes onto the branch now?
Use ‘svn log’ to find the revision number you committed (say it turns out to be revision 314). Then use svn diff -r313:314 >patch.txt to get the patch file representing your changes.
However, I’d suggest in general you’d be better to use svn merge to merge stuff like this.