Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I solve svn error: "E200007: Cannot mix repository and working copy sources"

Tags:

svn

I looked here for this issue, and none of the solutions pertain to me. The issue reported by other folks had a backslash in their command line, which I do NOT have. In my case, I'm trying to make a branch off a branch, so I did this:

- Existing branch: https://mysvn.repo.com/project/branch
- Created https://mysvn.repo.com/project/branch/private_branches folder in TurtoiseSVN explorer
- Tried svn cp -m "My private branch" https://mysvn.repo.com/project/branch https://mysvn.repo.com/project/branch/private_branches/my_private_branch

I get error in posts's title. Any pointers please?

like image 856
Chris F Avatar asked Jan 02 '14 23:01

Chris F


1 Answers

The command line is not seeing this as two URL's. Perhaps you have space in the URL, in which case you should encode that as %20 instead of entering a space? Here is an example I just did using same syntax as you:

$ svn cp -m "Test branch" http://oneeight.tigris.org/svn/oneeight/trunk http://oneeight.tigris.org/svn/oneeight/branches/mptest1
Committed revision 24.
like image 78
Mark Phippard Avatar answered Nov 15 '22 09:11

Mark Phippard