I have an issue using the svn switch command where I have committed to the trunk and then want to switch to a branch and commit that revision to that branch. I’m sure I have done this before, dead easy…just do a svn switch [BRANCHURL] and then svn commit -m 'COMMIT MESSAGE IN HERE'. This does not seem to work.
When I done the switch it showed the changes as “Updated” then when I went to commit there was nothing to commit. Any ideas what i’ve done wrong?
So, to clarify, what you’ve done is
Note that after 2 you will have a clean copy of the trunk with no uncommitted changes, and so when you switch to the branch it will revert to a clean copy of the branch.
You now need to do
to merge the change into your branch working copy so you can commit it there too.