1.hgk get
2.hg diff -c REV //compare with its first parentit
3.hg pathsio
4.hg diff >1.patchimport
5.hg import 1.patch -f(force) --no-commitdate
6.hg revert -r 100 -all //only revert the filesfile
hg update --clean //clean changesim
7.hg update 100 // hg parent can see the differencedi
8.hg rollback// rollback a transactional operation(default 1)co
9.hg add // hg forgettransaction
10.hg incoming