uncommit -a == strip --keep -r .

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jul 31 14:29:57 UTC 2023


This is more about the other way.

If you uncommit -a, then amend, the new changeset will be recorded as 
successors of the one you emptied with `uncommit -a`. On the other hand, 
if you use strip, that link will be lost.

On 7/24/23 14:31, Uwe Brauer wrote:
>>>> "PD" == Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:
>> uncommit --all does nor strip (nor prune) the current working
>> directory parents, it only empty it.
> Ok and if I prune and re-commit again I would get an hidden obsolete
> change set, which I would not get with strip
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial

-- 
Pierre-Yves David



More information about the Mercurial mailing list