Mercurial > hg
comparison mercurial/unionrepo.py @ 26010:2c03e521a0c5
reachableroots: return NULL if we're throwing an exception
Based on my reading of [0] and surrounding sections, if we want an
exception to be properly raised when something goes wrong in the C
code, we need to make sure we return NULL here. Do so.
https://docs.python.org/2/extending/extending.html#back-to-the-example
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 11 Aug 2015 14:53:47 -0400 |
parents | 83f220c7d6f0 |
children | 6b16a3538c20 |
comparison
equal
deleted
inserted
replaced
26009:bbb698697efc | 26010:2c03e521a0c5 |
---|