Show progress of Mercurial push/pull

后端 未结 2 1855
臣服心动
臣服心动 2020-12-24 11:29

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 som

相关标签:
2条回答
  • 2020-12-24 11:38
    hg pull -v 
    

    -v / --verbose

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

    If you want extra data:

     hg --debug -v pull 
    
    0 讨论(0)
  • 2020-12-24 11:42

    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.

    0 讨论(0)
提交回复
热议问题