Workflow: not ready edits: shelve or secret phase

Uwe Brauer oub at mat.ucm.es
Sat Sep 11 07:02:51 UTC 2021


Hi

I sometimes have to edit quite a lot, but don't want to push it to the
repository till it is finished. But then a quick fix for something else
is need that I have to push. I see the following strategy

    1. Which I am currently doing: I shelve the unfinished edits, edit
       the fix, commit, push and then unshelve. The problem with this
       strategy. Sometimes I would like to commit my unfinished changes
       for better control so I thought of.

    2. Change the phase of  the new commits of the unfinish edits to
       secret. 

But I never really worked with secret phases, so I ask

What is the best strategy in such circumstances?

Regards

Uwe Brauer 



More information about the Mercurial mailing list