revlog: abstract out index entry packing
This lets us remove most of the remaining v0/v1 logic from revlog
#!/bin/shhg init aecho a > a/ahg --cwd a ci -A -m ahg clone a becho b > b/bhg --cwd b ci -A -m bchmod 100 a/.hg/storehg --cwd b push ../achmod 700 a/.hg/store