D7705: phases: make the working directory consistently a draft
rdamazio (Rodrigo Damazio Bovendorp)
phabricator at mercurial-scm.org
Tue Dec 24 02:05:02 UTC 2019
rdamazio added a comment.
In D7705#113383 <https://phab.mercurial-scm.org/D7705#113383>, @marmoute wrote:
> The working copy is not necessarly draft phase. For example, it will be secret is the working copy parent is secret. One can also control it using the `phases.new-commit` config.
> The `mercurial.phases.newcommitphase(ui)` function can help you there.
Thanks.
About `newcommitphase` - that only accounts for the config option, and it seems that the working directory doesn't change phase based on that in other parts of the code (e.g. in `commitablectx`), so I kept that consistent here.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7705/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7705
To: rdamazio, #hg-reviewers, marmoute
Cc: marmoute, mercurial-devel
More information about the Mercurial-devel
mailing list