I am trying to set up TortoiseSVN. I am using the Windows version and using the context menu, you right click and it has some options.
For initially getting my files
I use TortoiseSVN as my source control tool. I was also having some trouble learning how to use it at first, but it's quite simple:
It seems a bit strange that it's giving you an error in that way. Could you please explain?
The TortoiseSVN site has help on this topic:
Importing Data Into A Repository
The "Import in Place" method will be easiest.
--By the way, "export" in Subversion is a way to get an unversioned copy of your code out of your repository.
The reason I don't like using import is that you don't end up with a working copy after doing the import. When I have been working on some code and decide I want to add it to a new repository, I just check out the new (empty) repository over top of my existing code. Once you have done that, you have turned your code into a working copy and you can now add and commit (or ignore) any files you want. Much simpler than import, IMO.
Actually, I'm not sure what "export" does, but if you use "import" instead, you will at least be able to get your files into the repository. Doing it this way will not make the folder you imported a svn-folder, so you will have to check it out manually afterwards. I guess it's just the same as Ben S's answer, just in other steps.
Export is not what you think it is. It's used to get the files that are already in the repository without the extra versioning data.
For my initial import, I usually just
I've never had an issue doing it this way.
This is essentially the same as the Import in place section of the TortoiseSVN manual. Except that I copy the files in after checkout to avoid the warning.