2
votes

i managed to install an svn service on my ubuntu server following this tutorial and i am now able to add it as a repository location in intellij IDEA.but now i am getting this odd problem that when i try to create any folder (with any name) inside the repository (from within the intellij idea ) i get the error that says "Path already exists". i noticed that when i create a folder directly from the server the new folder will not be shown in intellij subversion repository when i browse it. i use following command to create a folder form within the server :

sudo mkdir /home/svn/myProjectRepo 
sudo svnadmin create /home/svn/myProjectRepo

-EDIT-

It was a version conflict between svn 1.7 and 1.8.

1
Are you trying to add things in /home/svn/myProjectRepo? Cause it's a repository, not a working copy: you are not supposed to change its content. - Bastien Jansen
yeah! i am trying to create a trunk dolder inside home/svn/myProjectRepo . i managed to import files into it but no luck in creating a folder - MoienGK

1 Answers

1
votes

I think you are confusing SVN repositories and SVN working copies.

Once you have created the repository using svnadmin create, you must create a working copy using svn checkout <repositoryUrl>, then you can add files and folders inside this working copy. Your files/folders will be stored in the repository once you svn add and svn commit them.

See the basic workflow of SVN for more information.