user2721812
user2721812

Reputation: 31

Create SVN "sub" repo

One of our developers has asked me to create a subrepo of a repo currently on our SVN box.

/usr/local/subversion/project/proj

He wants

/usr/local/subversion/project/proj2

I looked into a simple mkdir /usr/local/subversion/project/proj2, but will SVN recognise it, and will everything be hunky-dory? Thanks.

Upvotes: 1

Views: 1732

Answers (2)

Ben
Ben

Reputation: 8905

A plain Unix mkdir in the filesystem repository directory won't work, you need to use svn commands. For example, svn mkdir with a URL, or from a working copy you could use mkdir followed by svn add and svn commit.

http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.mkdir.html

Upvotes: 0

alroc
alroc

Reputation: 28144

Nested repositories are not possible in Subversion.

You can serve multiple repositories using the Parent Path option for mod_dav_svn and svnserve, but that requires that the repositories be in sibling (parallel) directories, not subdirectories.

Upvotes: 1

Related Questions