在从主存储库中提取之前如何获取已更改文件的列表?

发布于 2024-10-06 07:03:22 字数 74 浏览 0 评论 0原文

我需要在实际从主存储库中提取新的/修改的文件之前获取已更改文件的列表。

我怎样才能做到这一点?

谢谢。

I need to get a list of changed files from before actually pulling the new/modified files from the main repository.

How can I do that?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别挽留 2024-10-13 07:03:22

使用传入命令:

告诉我们 hg pull 命令会将哪些更改拉入存储库,而无需实际拉取更改。

hg incoming 

此外,对于远程存储库,使用 --bundle 可以避免如果传入之后是拉取,则下载变更集两次。

请参阅:http://www.selenic.com/mercurial/hg.1.html

Use incoming command:

To tell us what changes the hg pull command would pull into the repository, without actually pulling the changes in

hg incoming 

Also, for remote repository, using --bundle avoids downloading the changesets twice if the incoming is followed by a pull.

See: http://www.selenic.com/mercurial/hg.1.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文