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/shhg initecho This is file a1 > ahg add ahg commit -m "commit #0" -d "0 0"touch bhg add brm bhg commit -A -m"comment #1" -d "0 0"