Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

question from:https://stackoverflow.com/questions/308491/show-progress-of-mercurial-push-pull

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
258 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...