moving non publishing changesets between secret and draft phases and back to secret
Friedrich Hagedorn
friedrich_h at gmx.de
Thu Aug 10 02:06:19 UTC 2023
Hello Anton,
many thanks to your explaination about phases.
Am Wed, Aug 09, 2023 at 02:31:37PM -0300 schrieb Anton Shestakov:
> 09.08.2023 05:39, Mitchell Elutovich пишет:
> > However for my co-worker, I'm not sure he would let the addition of
> > auto-publish=abort (or he would perhaps just always use --publish and
> > defeat the purpose); for his dev repo if I push the changesets (secret
> > -> draft -> push -> secret ), is there something wrong with switching
> > them into secret in his dev repo (post the push from my dev repo)
> > (perhaps also back to secret in mine as well)?
>
> The idea behind phases is they always move effortlessly to the lower phase
> (public is lower than draft is lower than secret). During exchange, for
[...]
> If you're using secret phase to simply prevent accidentally pushing those
> commits, maybe it'd be better to use a default revset instead. See `hg help
[...]
But can you additionally explain what is the intended purpose of the secret phase?
While the purpose of the draft/pupblic phase is clear I didnt get the point of the secret phase.
Many thanks,
Friedrich
More information about the Evolve-testers
mailing list