One SVN repository or many?

Posted by nickf on Stack Overflow See other posts from Stack Overflow or by nickf
Published on 2008-10-31T02:34:03Z Indexed on 2010/06/01 16:03 UTC
Read the original article Hit count: 118

Filed under:
|

If you have multiple, unrelated projects, is it a good idea to put them in the same repository?

myRepo/projectA/trunk
myRepo/projectA/tags
myRepo/projectA/branches
myRepo/projectB/trunk
myRepo/projectB/tags
myRepo/projectB/branches

or would you create new repositories for each?

myRepoA/trunk
myRepoA/tags
myRepoA/branches
myRepoB/trunk
myRepoB/tags
myRepoB/branches

What are the pros and cons of each? All that I can currently think of is that you get mixed revision numbers (so what?), and that you can't use svn:externals unless the repository is actually external. (i think?)

The reason I ask is because I'm considering consolidating my multiple repos into one, since my SVN host has started charging per repo.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about svn