D1047: tweakdefaults: add restack command
dlax (Denis Laxalde)
phabricator at mercurial-scm.org
Fri Oct 13 04:45:58 EDT 2017
dlax added a comment.
As an end user, I'd probably not use this; it's too much magic.
INLINE COMMENTS
> ui.py:56
> +# Destination revset explanation:
> +# - max(roots(ALLSRC) & ::SRC)^
> +# The obsoleted changeset that the SRC stack is based on.
Maybe also explain what `ALLSRC` and `SRC` are.
Also, it's not clear from reading this which "orphaned changesets" would be rebased. All of them?
> ui.py:86
> +[experimental]
> +rebase.multidest = 1
> """
Do we want to activate an experimental option in tweakdefaults?
> test-tweakdefaults-restack.t:28
> + > EOS
> + $ hg restack
> + rebasing 6:799bf3a4122a "B3" (B3)
It's not obvious where wordking directory is, so maybe issue a `hg log -r .`
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1047
To: quark, #hg-reviewers
Cc: dlax, mercurial-devel
More information about the Mercurial-devel
mailing list