Mercurial > evolve
diff tests/test-evolve-effectflags.t @ 6888:1e836ad40272
obslog: use exception to convey the failure to find a diff pair
I am not a fan of using exceptions for flow control, but it makes more sense
here.
The next patch will actually extend the functionality of patchavailable() to
potentially return things other than just `cand`, and there the use of this
exception will make even more sense.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 22 Sep 2024 12:20:03 +0200 |
parents | c2fab88e6d60 |
children | 03410b04cf10 |