Show progress of Mercurial push/pull

我的未来我决定 提交于 2019-11-30 11:36:12

问题


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...


回答1:


hg pull -v 

-v / --verbose

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

If you want extra data:

 hg --debug -v pull 



回答2:


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.



来源:https://stackoverflow.com/questions/308491/show-progress-of-mercurial-push-pull

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!