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"lsecho This is file b1 > bhg add bhg commit -m "commit #1" -d "0 0"hg co 0# B should disappearls