[ANNOUNCE] new extension: localbranch

Benoit Boissinot bboissin at gmail.com
Mon Aug 27 04:56:52 CDT 2007


On 8/27/07, Alberto Griggio <alberto.griggio at gmail.com> wrote:
> Hello,
>
> > Not necessarily. You can use named branches and then merge the final
> > version with the "revert  trick" in one changeset and push that
> > particular changeset.
>
> Can somebody elaborate a bit on this? Is it documented somewhere (e.g. in
> the wiki?)
>
hg revert -r <other_head> ; hg commit

but it is not advised if you don't throw away the other head, because
if you continue development, you'll have to remember the hash of the
revert cset and revert from that (otherwise merge will be painful).

regards,

Benoit


More information about the Mercurial mailing list