add 'debugrebuildstate' to rebuild the dirstate from a given revision
- added and removed files will be lost while recreating the dirstate
- modifications are not lost
#!/bin/shmkdir tcd thg initecho a > ahg add ahg commit -m test -d "0 0"hg historyhg manifesthg cat ahg verify