I want to add a folder to a remote server with the svn repository set up. In my local computer I have tortoiseSVN. All I want to do is add folder from my local computer to the repo setup in the remote directory? ANy pointers? You can tell I'm not a svn person :(
4 Answers
You can copy the directory into your checked-out copy of the repository, then right click on the file, go to TortoiseSVN, and select add. This will add the folder to your repo, then commit the change (right click and select SVN Commit), and you should be good.
If that isn't sufficient for your question, I apologize.
GotAmye, As long as the remote server is housing a subversion repository, this should work. What is running on the remote server that makes you think there will be a problem?

- 6,436
- 5
- 22
- 25
-
For me that didn't work. They key for me was to open the Repo Browser, change to the remote repo view, and then right click and choose the "Add file" menu item. This allowed me to add a file to the remote view where I had already added to my local view using the method described above. – djangofan Jan 28 '13 at 21:51
-
What if I want to add a linux machine to an existing repository? Rather than a local folder. – john stamos Jul 08 '13 at 22:40
-
I know this post is old, but I just ran into this. Instead of having to copy the directory to somewhere else, in TortoiseSvn you can "Import in Place": http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-import.html#tsvn-dug-import-in-place – Gordon Glas Feb 15 '14 at 05:34
Thanks for your help everyone. Your pointers were very helpful. Here is a summary of what I did:
- From my remote server, I checked out the svn repository on which I wanted to add my folder
- On the checked out repo (now in my local computer), I added the folders that I wanted.
- Right click on the newly added folder (on which all the added files are present)->TortoiseSVN->add
- To commit the changes TortoiseSVN->Commit

- 369
- 2
- 5
- 18
svn import path URL
Recursively commits a copy of path to URL. If path is omitted the current directory is assumed. Parent directories are created as necessary in the repository.

- 27,645
- 10
- 53
- 72
-
I was under the impression that TortoiseSVN couldn't be used from the Windows command prompt, is that not true? – thepocketwade Sep 12 '09 at 18:25
-
Unfortunately it seems you are correct. http://stackoverflow.com/questions/922365/command-prompt-not-working-after-installing-tortoisesvn – Nescio Sep 12 '09 at 18:40
-
You can download the command-line tools here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 – Nescio Sep 12 '09 at 18:43
Well if the location that you added the folder to on disk is already the working location for part of the repository you can simply right click the folder ->TortoiseSVN->Add

- 81,193
- 14
- 123
- 132
-
But the remote server doesn't have TortoiseSVN setup. It's only on my local computer. – GotAmye Sep 11 '09 at 20:17
-
TortoiseSVN is just the client for the subversion server, the server itself doesn't need Tortoise setup. – Quintin Robinson Sep 11 '09 at 20:29
-
Hmm, there is no "add" menu on the TortoiseSVN. I've tried import, export, etc. – GotAmye Sep 12 '09 at 00:45
-
In my experience "Add" just works on the local repository. Getting the file/files into the remote repository is achieved with a "import" but Tortoise doesn't have this option. It confuses me too. – djangofan Jan 28 '13 at 21:46