[PATCH 1 of 3 STABLE] push: do not use fastpath to get bundle is there is extinct changeset

Patrick Mézard patrick at mezard.eu
Wed Jul 25 10:46:59 CDT 2012


Le 19/07/12 21:18, Pierre-Yves David a écrit :
> # HG changeset patch
> # User Pierre-Yves.David at ens-lyon.org
> # Date 1342724569 -7200
> # Branch stable
> # Node ID 9ee53e911f958f7581608bd329231a92a671b025
> # Parent  436cc9d017c68a3b71ec6bcb4ab0046a403c9045
> push: do not use fastpath to get bundle is there is extinct changeset
> 
> Extinct changeset are listed in the outgoing.excluded list. However the same
> issue than with secret changeset apply. We need to generate a bundle that does
> not rely on unpushed revision.
> 
> 
> As I expect the obsolete related test-suite to grow, this changesets introduce a
> new test file test-obsolete-changeset-exchange.t to gather test related to
> interaction between changesets exchange and obsolete marker.

After discussing it on IRC, a better approach may be to put extinct changesets in outgoing.excluded and fix the code emitting warnings like:

  "no changes found (ignored 10 secret changesets)"

I will give it a try.

--
Patrick Mézard



More information about the Mercurial-devel mailing list