Mercurial Digest, Vol 197, Issue 4
Dr. Arne Babenhauserheide
arne_bab at web.de
Sat Sep 11 17:49:41 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?
I either use the secret phase for such commits, and then update back to
the previous commit. If I expect the work to be larger, I just create a
new branch.
With the evolve extension you can change branch names of existing
commits easily.
Best wishes,
Arne
--
Unpolitisch sein
heiÃt politisch sein
ohne es zu merken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1125 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20210911/f8da00dc/attachment.sig>
More information about the Mercurial
mailing list