What you want is a branch, I guess. https://www.mercurial-scm.org/wiki/Branch For simplicity, I suggest you have two different directories: one for the development branch and the other for the production branch.