qazwsx
qazwsx

Reputation: 26918

How to tell progress of hg pull?

$ hg pull
Password:
pulling from ssh://[email protected]:22//home/usr/xxx/repo
searching for changes
adding changesets
adding manifests
adding file changes

It then keep showing the above for 10+ min. Is there a way to tell the progress and whether it's still live or already dead?

Upvotes: 3

Views: 1262

Answers (3)

smooth reggae
smooth reggae

Reputation: 2219

The progress extension is your friend. You can also add the -v/--verbose and --debug switches to hg pull see more data.

Upvotes: 1

Adam
Adam

Reputation: 15803

Use the Progress extension by adding the following to your HGRC:

[extensions]
progress =

and/or use the verbose option:

hg pull -v

There is a related question on StackOverflow that may also be useful to you.

Upvotes: 10

Martin Geisler
Martin Geisler

Reputation: 73788

As for your followup question: if Mercurial is tracking a file (that is, if you hg add and later hg commit subdir1/subsubdir1/foobar.c) then it wont ignore it. So .hgignore can only help you clean up the entries listed with ? (the unknown files) in hg status — it wont have any effect on tracked files.

Upvotes: 1

Related Questions