Message170315
| 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 |
|