subrepos and branching
Christoph Mathys
eraserix at gmail.com
Wed Aug 4 07:22:05 UTC 2010
Hello
We're using mercurial along with several subrepos. The subrepos
contain other components we developed inside our company. They may or
may not make sense to use on their own, that is, we also use subrepos
to split the main repo into smaller ones.
We plan to use a named branches for our software releases. A subrepo
does not seem to be aware of any branching in the main repo. So I
think when we branch the main repo, I'll also branch every subrepo.
This way, when I switch to another branch in the main repo, all
subrepos also switch to the named branch. This way I can avoid ending
up with multiple unnamed branches inside the subrepositories if I have
to write bugfixes for release versions.
Is there something available/planned which does a recursive branch
into all subrepositories? Or is there a better way to handle this
case?
Thanks!
Christoph
More information about the Mercurial
mailing list