Branch or New Repo?

Stephen Rasku mercurial at srasku.net
Thu Jun 25 10:12:03 CDT 2009


On Thu, Jun 25, 2009 at 09:39, Greg Ward<greg-hg at gerg.ca> wrote:
>
> IMHO branches have a couple of advantages here:

We have actually decided on going with a new repository.  The main
reason is for simplicity.  It's easy to see which branch to work on
right from the hgwebdir top page.  We have a working policy that there
should only be a single line of development in a repository.  That
means if there are multiple heads in a repository it means that they
have to merge.  If you have "permanent" branches in the repository
it's more complex to determine whether it's necessary to merge.

> * you can use 'transplant' to cherrypick your bug fixes over; with
> separate repos, you would have to "export | import", probably between
> two working copies

As Jim also said in another message, I am able transplant changes from
the old repository using the -s option.

...Stephen


More information about the Mercurial mailing list