I should have taken a branch to start with but decided to work on trunk instead, and now I want to create a branch and commit my uncommitted changes to that branch instead of trunk.
Is there an easy way to do that in svn?
You can use the switch command to switch your working copy the branch and afterwards you can commit the changes you made to the branch. But don't mix changes for trunk/branches. Do the following in your working copy:
svn switch URL/branches/BRANCHNAME
and after changing do the commit.