Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise SVN does not give option to "Add to SVN"

I've created an SVN repository and added folders and added contents and Committed. No problem.

But when go to add a new folder (the others were on the P:\ drive, now I want to add our website which is on the C:\ drive) but Tortoise doesn't give me the option of Adding a folder. I have no idea why. Help file shows the instructions I'd expect ("right click on the folder you want to add and choose +Add...") but Add... isn't in the menu.

This is TortoiseSVN v 1.6.7.18415 (I'm about to update it but I was able to add folders before so I don't think this is just a bug, I think maybe I'm missing something obvious).

like image 718
Clay Nichols Avatar asked Jan 22 '23 04:01

Clay Nichols


1 Answers

You need to connect that folder with the repository before it can be added to subversion. I believe you will need to start by using the "export" option to connect the folder with a particular repository. You will need to checkout the repository to that directory to connect it. Once subversion knows which repository that folder belongs too, you can add subfolders to the same repository with the "Add" command. Just for the record, I imagine this belongs on superuser.com

like image 70
Chris Thompson Avatar answered Apr 29 '23 10:04

Chris Thompson