-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/02/11 17:31, Antoine Pitrou wrote:
> How do you "block"?

What patches in "3.2" you don't want in "3.3"?.

Remember the rule: "Patches in n+1 are a SUPERSET of patches in n". But
a patch in "n+1" can undo a patch in "n", keeping this rule true always.

The usual approach is to do a merge just before the patch you don't
want, and then a "null merge" just after the patch you don't want. "null
merge" = a merge metadata update without actually bringing any new code.

I can't think any reason you want this, beside avoiding the "change 3.2
to 3.2.1 strings" to propagate to trunk.

In this particular situation, the merge would conflict (because
"3.2->3.2.1" conflicts with "3.3", no "3.2" anywhere in trunk). Solving
this conflict is trivial (just drop that change), and now you can retry
merging again, this time successfully.

Ideally, when you push to the repository, you push your patches *AND*
the merges, all in an atomic operation. So you don't move the merge
burden to somebody else. I just wrote about this in a just sent email.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
j...@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:j...@jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTUxIPJlgi5GaxT1NAQK2IQP/d8+ILx4EukYf65m6OYn749TJ5jvejKgI
4m+O2CAnJIORiOo9jYhp12GUanCeziBDVcdVNx9sFRAHB2QNowVhxbJv+B50/WSF
NXIlGxJaQcbCC4TlniJtnWezPzCr/cfNmxlUFv10qLErl2gEfMUCQMLC0/Zh9BDg
f+8gpoaiBt0=
=FVbK
-----END PGP SIGNATURE-----
_______________________________________________
python-committers mailing list
python-committers@python.org
http://mail.python.org/mailman/listinfo/python-committers

Reply via email to