[PATCH 0 of 1] --newbranch option for push

Sune Foldager cryo at cyanite.org
Thu Sep 17 14:36:18 CDT 2009


A few comments and motivation:
This patch has proved quite useful for us, as inexperienced mercurial users are very
likely to do something wrong with push --force, mostly resulting in multiple heads on
a branch. With --newbranch this would not be allowed (except multiple heads on the
newly pushed branch, but this is a lot less likely, as users generally only create one
of the multiple heads themselves, when the problem occurs).

/Sune


More information about the Mercurial-devel mailing list