--- a/mercurial/parsers.c Tue Aug 18 16:32:41 2015 -0400 +++ b/mercurial/parsers.c Tue Aug 18 16:39:26 2015 -0400 @@ -478,9 +478,6 @@ &str, &readlen)) goto quit; - if (readlen < 0) - goto quit; - len = readlen; /* read parents */