hg

http://www.tuicool.com/articles/Zb2aEf6

http://blog.csdn.net/qweewqpkn/article/details/46472253    hg 的revert 和 update 的区别

http://blog.csdn.net/qweewqpkn/article/details/46685281    hg 的 merge 和 update 的区别

hg rollback 版本库回退到某一版本,工作区不变,需要commit

hg revert 工作区文件恢复到某一版本,版本库不变,需要commit, 默认是当前版本,类似于checkout

hg merge 合并某一分支,需要commit

hg up 恢复到某一版本

原文地址:https://www.cnblogs.com/air-of-code/p/6064090.html