Copy index before parsing to enforce alignment with inline data present.
Fixes
issue1348 (Bus error in parsers.c) on Solaris/sparc.
hgweb: nodeids should be aligned in raw changesets
If they aren't it breaks hg import --exact
Thanks to Jesper Noehr for noticing it.