D7705: phases: make the working directory consistently a draft
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Dec 28 08:55:52 EST 2019
marmoute added a comment.
In D7705#114045 <https://phab.mercurial-scm.org/D7705#114045>, @rdamazio wrote:
> In D7705#113845 <https://phab.mercurial-scm.org/D7705#113845>, @marmoute wrote:
>
>> I simply sent this. If am I following your changeset right, we should have `wdir()` match `draft()` or `secret()` according to the projected phase (config + parent)
>
> I don't understand what you're asking me to do here, can you clarify?
In short we should have a test matching
$ hg log -r 'wdir() and secret()' -T '{phase}\n' --config phases.new-commit=secret
secret
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