Subversion – problem creating a new repository

I have recently taken over a linux box running subversion.

The folder where the the repos look like they are installed is in: /home/svn

  • how do i know if my working copy is out of sync
  • Problems getting my ANT builds to work after OS upgrade
  • svn merge with --reintegrate complains about missing ranges but mergeinfo seems correct
  • Merge trunk to branch in Subversion
  • Subversion Server to use on Windows
  • How to merge two seperate - yet similar - codebases into one SVN rep?
  • In this folder I see a folder named web_projects and in that folder I see conf dev db etc etc

    I am trying to add a new repository to this server, but I’m getting the following error:

    `svnadmin: ‘/home/svn/web_projects/my_project’ is a subdirectoy of an existing repository rooted at ‘/home/svn/web_projects’

    Does anyone know why I can’t seem to add a new repository?

  • Using Git in a Company?
  • How do you remove a file from being version controlled without deleting the file in subversion?
  • use svn revision number in application version
  • Can't find git-svn on Mac OS X Leopard after installing via MacPorts
  • How to remove SVN from a folder
  • What makes some version control systems better at merging?
  • 3 Solutions collect form web for “Subversion – problem creating a new repository”

    It is saying that /home/svn/web_projects is (the top level of) an existing repository, and will not let you create one inside that. You need to create yours at /home/svn/my_project.

    Because /home/svn/web_projects/ is already a repository (as explained by the tool).

    You cannot create a repository inside this folder. You can however do that just next to this one:

    svnadmin create /home/svn/other_project
    

    hth 🙂

    the problem is that you used the “top level” directory as a svn repository, so now you can’t have two repositories because one is nested in another project’s directory.

    Structure your /home/svn area like so /home/svn/project1 /home/svn/project2 /home/svn/project3 … with multiple svnadmin create commands like

    svnadmin create /home/svn/projectN
    

    Since you can’t nest one repository into another, to start you will have to move your svn files from /home/svn to /home/svn/project1

    Git Baby is a git and github fan, let's start git clone.