This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients christian.heimes, ezio.melotti, georg.brandl, jcea, loewis, pitrou
Date 2012-09-11.15:32:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347377567.48.0.410049935507.issue15917@psf.upfronthosting.co.za>
In-reply-to
Content
I might be wrong, but the logic in your hook looks a bit complicated. Wouldn't it be simpler to find all topological heads in the new csets (a topological head is a cset without any child), and check that none of them is on a 3.* branch?

Finding topological heads is very easy, so http://hg.python.org/hooks/file/72aaeb80a55a/checkwhitespace.py#l85
History
Date User Action Args
2012-09-11 15:32:47pitrousetrecipients: + pitrou, loewis, georg.brandl, jcea, christian.heimes, ezio.melotti
2012-09-11 15:32:47pitrousetmessageid: <1347377567.48.0.410049935507.issue15917@psf.upfronthosting.co.za>
2012-09-11 15:32:46pitroulinkissue15917 messages
2012-09-11 15:32:46pitroucreate