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

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?

  • How to partially export a git repository?
  • How to move svn folder one level up
  • How can I change the repository url using AnkhSVN 2.x
  • Fork and synchronize Google Code Subversion repository into GitHub
  • Subversion - how do I control user access for single repository when SVNParentPath is used?
  • svn: Repository moved temporarily to 'main'; please relocate
  • Subversion: This client is too old to work with working copy '.'
  • Eclipse: Restart an SVN import from where it left off?
  • 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.