[PATCH 7 of 7 V2] push: refuse to push bumped changeset
Patrick Mézard
patrick at mezard.eu
Sun Oct 14 11:28:09 CDT 2012
Le 03/10/12 23:22, Pierre-Yves David a écrit :
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1349297996 -7200
> # Node ID 8960a3557c2b34668ec980993634cdba5b3f57de
> # Parent d96d66880c8cc9b47e422de4f738bf4960c58932
> push: refuse to push bumped changeset
>
> This apply the same logic than the on used for `obsolete` and `unstable`
applies one
> changeset. Refuse to push them without force.
>
> We'll probably want to factor this logic with two new funtions `pctx.troubled()`
functions
> and `ctx.troubles()`. But I'm waiting for the third "trouble" to make it into
> core.
--
Patrick Mézard
More information about the Mercurial-devel
mailing list