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:
- TortoiseSVN checkout failed error svn: E120106: ra_serf: The server sent a truncated HTTP response body
- Add git branch after initial fetch in the same svn-remote
- SVN commit vs Git commit
- SVN to git … now git to SVN. So many conflicts
- Recommendation on Tools to migrate from Clearcase to SVN?
- Tool to write and maintain printed documentation
In this folder I see a folder named
web_projects and in that folder I see
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?
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
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.
/home/svn area like so
/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