views:

1079

answers:

2

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

+6  A: 

.

hg pull -v

-v / --verbose

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

If you want extra data:

 hg --debug -v pull
Kent Fredric
Cheers, it was --debug I needed
mmiika
+9  A: 

Mercurial 1.5 ships with a new extension that gives you progress bars! It's called progress and simply needs to be enabled to take effect. Add 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.

We hope to eventually put this extension into the core of Mercurial, but it was written only shortly before the release of 1.5, so it felt safest to ship it as an extension for now.

Martin Geisler