Guide for idiots moving directory up in SVN

No, this is not a duplicate of this .

While I usually use visual tools with SVN, I found that now I need to move Repo/Parent/ChildX/ChildYto Repo/ChildY. I am getting the following errors and just looking for what I am missing here. Consider the server you just installed (from the dump), nothing else but svn.

> svn checkout https: // localhost / Repo
svn: OPTIONS of 'https: // localhost / Repo': 200 OK (https: // localhost)

> svn move Repo / Parent / ChildX / ChildY Repo / ChildY
svn: 'Repo' is not a working copy
svn: 'Repo' does not exist

> svn move Parent NewParent
svn: '.' is not a working directory

> svn move https: // localhost / Repo / Parent NewParent 
svn: Moves between the working copy and the repository are not supported

> svn move https: // localhost / Repo / Parent https: // localhost / Repo / NewParent
svn: OPTIONS of 'https: // localhost / Repo': 200 OK (https: // localhost)

> svn commit --message "Trying to get move command to work"
svn: 'C: \ SVNTest' is not a working copy

It seemed a little strange to me that the first command (checkout) gives the same answer to everything that I set for "Repo", for example https://localhost/Repo/SomeNonExistingName. I'm sure I missed something. I found links saying that you do not need a working copy to move, but then how do I make a move?

None of the above commands, whether they indicated an error or not OK, really made a move. I am using VisualSVN Server and can view repo online.


Decision

. Apache. 200 OK - HTTP.

VisualSVN Server https://hostname/svn. , . :

> svn checkout https://localhost/svn/Repo
file1
file2
etc...
Revision XXX

, , , . , , :

> svn move Folder/SubFolder NewFolder
+5
3

, , - ( REPO_URL URL-):

svn co REPO_URL
cd Repo
svn mv Parent/ChildX/ChildY .
svn commit -m "moved directory"

, , trunk/tags/branch.

, : ? , , , , , ? .svn ""?


: Visual SVN-, , URL- :

svn co 'file:///localhost/Repo'

( , , VisualSVN "" ), Visual SVN, .

, , Visual SVN trunk/tags/branch, cd , .

+3

, , :

A    dblite\tags\pre-codeblocks\src\sqlite3.h
A    dblite\tags\pre-codeblocks\inc
A    dblite\tags\pre-codeblocks\inc\dblite.h
Checked out revision 31.

, , t , , -, .

+1

, .

, , , , "Checked out XXXXX".

Some of the suggestions for this thread may be helpful. In particular, you may not have the svn server configured correctly for https access. Once you have fixed it, you should simply follow the instructions in the topic you linked to.

Update / comment / answer if the problem with your line 'svn checkout' does not solve the problem.

+1
source

All Articles