comparison hgext/purge.py @ 27364:ad1cc1435b13

parsers: simplify error logic in compute_phases_map_sets Since Py_XDECREF and free both accept NULL pointers, we can get by with just two exit paths: one for success, and one for error. This considerably simplifies reasoning about the possible ways to exit from this function.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 14 Dec 2015 10:47:24 -0800
parents 56b2bcea2529
children 27996f78a64c
comparison
equal deleted inserted replaced
27363:c7ab2087d436 27364:ad1cc1435b13