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.
Fix util.popen2 for Python 2.3
1. trigger ImportError early, so fallbacks are activated
2. util.popen2 replaces previous usage of os.popen2, not popen2.popen2
mq: heavy rearrangement of qnew to make it recover reliably from errors.
Closes
issue1269.