[PATCH V2] mq: catch attempt to qpush to an earlier patch in the series (issue2587)

Patrick Mézard pmezard at gmail.com
Sat Feb 12 11:48:43 CST 2011


Le 12/02/11 09:10, Afuna a écrit :
> # HG changeset patch
> # User Afuna
> # Date 1297498121 -28800
> # Node ID 94a5462d970734fb7ff6aadc0964acd3da529d4b
> # Parent  d4ab9486e514dd24e21a2ca3b6c439ea13d85cab
> mq: catch attempt to qpush to an earlier patch in the series (issue2587)
> 
> We can't assume that all pushable patches early in the series have already been
> applied. If a hg qselect is done while you already have patches applied, some
> patches with guards may now be pushable, even though they come earlier in the
> series.
> 
> So instead of checking only applied patches, explicitly check where we are in
> the series against the position of the patch we want to qpush to.

In stable: http://hg.intevation.org/mercurial/crew/rev/69238d0ca60f

Thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list