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.
在实际从主存储库中提取新/修改的文件之前,我需要获取已更改文件的列表。
我怎样才能做到这一点?
谢谢。
使用传入命令:
告诉我们 hg pull 命令会将哪些更改拉入存储库,而无需实际将更改拉入
hg incoming
此外,对于远程存储库,--bundle如果传入之后是拉取,则使用可以避免两次下载变更集。
--bundle
见:http ://www.selenic.com/mercurial/hg.1.html