Add new SVN "repo" in poorly constructed repo/project setup

Posted by Dave Masselink on Stack Overflow See other posts from Stack Overflow or by Dave Masselink
Published on 2011-02-22T23:18:59Z Indexed on 2011/02/22 23:25 UTC
Read the original article Hit count: 356

Filed under:
|
|
|

Unfortunately, the answer to this question isn't quite as simple as it sounds... but I hope it can still be relatively simple. Please read all the way through before telling me that the answer is: "svnadmin create... duh"

I'm working for a company that set up their SVN server in an odd way (at least in terms of what I'm used to). We've all been there, right?

Rather than giving each project a separate repository... they have a folder on the server called "/var/www/svn/repos/" which is the actual SVN repo (has conf/, db/, README.txt, etc. in it). Then they distinguish their projects by adding top level folders into the ONE repository (ex: Project1, Project2, etc.)

I don't like this setup and might one day get around to converting the setup to what I'm used to, where each project is its own repository (with separate logs, dbs, etc.)

But my question is this: What is the best way to add a new empty project to the current setup? Is there anyway to add a new top level folder/project to the repo through use of svnadmin? It can/should just be an empty folder that I'll start building a new project in.

I know that I could do this by checking out the whole singular repository and then adding a new top level folder into my local checkout, then re-committing. But I'd really prefer not to do this because someone has created folders/projects that are just GBs of log data... and I don't want to wait through the download of this just to add a single empty folder.

Let me know if there is any more info you'd need to know. I do have root/sudo access on the server in question.

Thanks in advance for your help!

Dave

© Stack Overflow or respective owner

Related posts about svn

Related posts about repository