I did a checkout from my trunk to a local DIR and made lots of local changes there. Now I don't want to commit it back to the trunk, but I'd rather make a branch from this local version. Is that possible?
Can I just copy the trunk to a branch, and then cd DIR
and svn switch
to the branch?
UPDATE: Thanks for the answers, it worked! To summarize the steps:
cd DIR
svn copy . new-branch-URL
svn switch new-branch-URL .
(note the dots)
svn switch
, so I chose to checkout the fresh copy fromnew-branch-URL
aftersvn copy
. – fikr4n