Ok ... so I wanted to upload something to an SVN server. How hard can that be? Well, turns out I've been using windumb for too long.
First I am supposed to "clone" the folder to my computer, using
svn co --username USERNAME URL
Alright, so I
cd ~/.../0.SVN
svn co --username USERNAME URL
and get an
svn: OPTIONS from URL: 200 OK.
Next, I create a folder ~/.../0.SVN/someFolder
,
put some files into that folder and want to add it so I can commit it.
svn add someFolder
And now it's giving me an
"." is not a working copy
And I have no idea what's going wrong because I'm basically doing exactly what the instructions I was given are saying.
Suppose that the URL was
http://svn.example.com/somewhere/somerepo
. Thensvn co http://svn.example.com/somewhere/somerepo
creates a subdirectory of the current directory calledsomerepo
. That's where the svn checkout is located.If you want to add more files to the svn repository, you need to put them under that
somerepo
directory.Use the command
ls
to see what files exist in a directory. Usels -A
to also see hidden files like the.svn
subdirectory.Use
svn info
to see what svn thinks about the current directory.All this is assuming that the checkout was successful. If you ever see this message from svn:
(or some other HTTP code: 403, 403, etc.) that's subversion's way of telling you that it did not understand the response from the server. Common causes are: