显示 Mercurial 推/拉的进度

发布于 2024-07-09 09:32:25 字数 98 浏览 7 评论 0原文

是否可以让 Mercurial 显示长时间运行的推或拉操作的进度? 谷歌基本上告诉我“不”,但是有人知道更多吗? 我期待类似 hg pull -v...

Is it possible to get Mercurial to show progress of long-running push or pull operation? Google tells me basically "no", but does somebody know better? I was expecting something like hg pull -v...

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

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

发布评论

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

评论(2

满意归宿 2024-07-16 09:32:25

Mercurial 3.5 默认启用进度。

早期版本可以使用标准进度扩展自 1.5 版起发布。 只需将其添加到您的 hgrc 文件即可启用扩展:

[extensions]
progress =

然后您将看到克隆、推送、拉取和其他操作的进度条。 默认情况下,进度条仅在初始延迟 3 秒后显示。 您可以通过添加:

[progress]
delay = 1.5

到您的 hgrc 文件来轻松更改此设置。 启用扩展后,请参阅hg 帮助进度

Mercurial 3.5 has progress enabled by default.

Earlier versions can use the standard progress extension shipped since version 1.5. Simply enable the extension by adding this to your hgrc file:

[extensions]
progress =

You will then see progress bars on clone, push, pull, and other operations. The progress bars are only shown after an initial delay of 3 seconds by default. You can easily change this by adding:

[progress]
delay = 1.5

to your hgrc file. See hg help progress after enabling the extension.

挽手叙旧 2024-07-16 09:32:25
hg pull -v 

-v / --verbose

是一个全局选项,适用于所有子功能。

如果您想要额外的数据:

 hg --debug -v pull 
hg pull -v 

-v / --verbose

is a global option that applies to all sub-functions.

If you want extra data:

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