D1074: branch: add a --rev flag to change branch name of given revisions

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Nov 28 17:49:26 EST 2017

pulkit added a comment.

  In https://phab.mercurial-scm.org/D1074#23972, @lothiraldan wrote:
  > Looking good, should we allow changing the branch if any changeset is unstable or obsolete?
  For unstable `yes`, for obsolete `no`. Will add a check and test for obsolete case.


> lothiraldan wrote in cmdutil.py:774
> For safety, I would add a check that p1 and p2 are not obsolete here.

A user may want to change branch of an unstable changeset which I think is okay. I am not sure why you want that check?

  rHG Mercurial


To: pulkit, #hg-reviewers, dlax, ryanmce
Cc: lothiraldan, ryanmce, dlax, mercurial-devel

More information about the Mercurial-devel mailing list