[PATCH STABLE] discovery: prevent crash caused by prune marker having no parent data
Sean Farley
sean at farley.io
Thu Apr 20 12:50:46 EDT 2017
Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:
> On 04/19/2017 04:45 PM, Yuya Nishihara wrote:
>> # HG changeset patch
>> # User Yuya Nishihara <yuya at tcha.org>
>> # Date 1492611005 -32400
>> # Wed Apr 19 23:10:05 2017 +0900
>> # Branch stable
>> # Node ID 42fd230386fc31d24f3d580a6f09efe596cd516c
>> # Parent 59afb0750aecaff6c2b2e4edaab04eb91eca8a88
>> discovery: prevent crash caused by prune marker having no parent data
>>
>> If a marker has no parent information, parents field is set to None, which
>> caused TypeError. I think this shouldn't normally happen, but somehow
>
> This patch looks good to me.
Yeah, looks good to me, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170420/09b7acc0/attachment.sig>
More information about the Mercurial-devel
mailing list