[PATCH STABLE] dispatch: handle empty `testedwith` value in extension

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Jan 4 13:07:24 CST 2013


On Jan 4, 2013, at 11:20 AM, Kevin Bullock wrote:

> On Jan 4, 2013, at 6:43 AM, pierre-yves.david at logilab.fr wrote:
> 
>> # HG changeset patch
>> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
>> # Date 1357295150 -3600
>> # Node ID b52aaf2669365850649775170131b5d221e3d4c2
>> # Parent  c565761dde6aa1a70b688cd2eebad69e9b5a16db
>> dispatch: handle empty `testedwith` value in extension
>> 
>> When extensions had an empty `testedwith` attribute the code tried to parse it
>> and failed. As a result the actual error were shallowed by a This crash.
> 
> Surely it would be pretty easy to add a test case for this?

After discussion on IRC, pulled this patch with test case added and pushed to crew as 0f9013112eba.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list