Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最近我正在研究 Mercurial Repository。但我不知道如何从 Mercurial 上的特定变更集 ID 中提取版本控制?你能告诉我任何解决方案吗?
您需要使用该-r选项来拉取变更集及其所有祖先:
-r
hg pull -r <hash>
或者,使用该-b <branch>选项获取特定分支。
-b <branch>
先拉取源码:
hg pull
然后更新到特定版本:
hg up -r <changeset number>