Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add files to an already setup svn repo

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 :(

like image 636
GotAmye Avatar asked Sep 11 '09 20:09

GotAmye


People also ask

How do I move a file from one directory to another in svn?

Moving files and folders select the files or directories you want to move. right drag them to the new location inside the working copy. release the right mouse button. in the popup menu select Context Menu → SVN Move versioned files here.


2 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?

like image 57
thepocketwade Avatar answered Oct 05 '22 23:10

thepocketwade


Thanks for your help everyone. Your pointers were very helpful. Here is a summary of what I did:

  1. From my remote server, I checked out the svn repository on which I wanted to add my folder
  2. On the checked out repo (now in my local computer), I added the folders that I wanted.
  3. Right click on the newly added folder (on which all the added files are present)->TortoiseSVN->add
  4. To commit the changes TortoiseSVN->Commit
like image 43
GotAmye Avatar answered Oct 06 '22 00:10

GotAmye