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

  • Converting a local svn repo dump to git
  • how to write a svn hook script
  • git merge vs rebase using git svn
  • Branch vs. Tag vs. Revision in SVN terminology
  • how linked files in vss repository can be migrated to svn repository
  • Keeping development databases in multiple environments in sync
  • 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?

  • Folder is locked and I can't unlock it
  • changing the code svn2git
  • how to get partial update from subversion
  • CruiseControl.NET build fails when SVN is not available
  • Merge trunk into branch with SVN: “Secure Connection Truncated”
  • Git or Subversion?
  • 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.