Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We currently have a large Subversion repository, with a tree like:


There are 81 solutions and 22 libraries. The trunk subdirectories were added so we could use branches, but in practice, we don't use branches at all.

My question is: if we migrate this to Mercurial, should be set up one big Mercurial tree with the same structure? Or should we create 81+22 Mercurial repositories?

share|improve this question

Why not something in between? I strongly suspect the libraries should be subrepos (a bit like external in svn)

The solutions could either be seperate repos if they are unrelated, or if there is some relation between them, perhaps named branches in one (or a few repos)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.