Well, this is a short note to myself so the next time I want to create a branch of a new project, I won't need to search through the Internet.
Before doing
http://svn.example.com/repos/calc/branches/my-calc-branch \
-m "Creating a private branch of /calc/trunk."
to make a new branch of a new project (which don't have any branches yet), I'll need to do
-m "make the branches directory to hold all the branches"
first.
Or I'll get an error message like
The reason is, like the error message said, there is no directory "branches" in the repo, and svn copy, like the "cp" command, won't make a directory if it's not there. It will assume I made a typo. A safe guard. And I need to explicitly create the directory.