Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 14 May 2006 18:22:12 -0300] rev 2289
Fix revlog.parseindex
parseindex could fail if read returns too little data in the right
moment (e.g. when there's still leftover data from the previous
iteration and read returns less than "s" bytes).