D1047: tweakdefaults: add restack command

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Oct 13 15:48:17 EDT 2017


durin42 added a comment.


  Counterproposal:
  
  `hg rebase --auto <REVSET>`
  
  or
  
  `hg rebase --auto -r <REVSET>`
  
  rather than introducing a new concept of a stack. I know Facebook has this concept internally, but for core hg we don't have the notion of a stack outside `mq` and `show`: the former is heavily deprecated, and the latter is experimental and still subject to change. Also, I feel like 'automatic rebase' is a pretty good description of what's actually happening to resolve the trivial orphans-only trouble cases. Thoughts?
  
  I'd be happy to spend a bit of time writing up a commit for rebase--auto if people want to play with it.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1047

To: quark, #hg-reviewers
Cc: durin42, martinvonz, lothiraldan, dlax, mercurial-devel


More information about the Mercurial-devel mailing list