1. Yuya Nishihara
  2. hgtip-content-ja

Source

hgtip-content-ja / beginner / 2010-03-24-keeping-informed-with-progress.html

{% extends "_tip.html" %}
{%hyde
    title: Keeping Informed with Progress
    author_name: David Harrigan
    author_link: http://www.lifeinthesnowlane.com
    created: 2010-03-24
%}


{% block excerpt %}
Ever get the feeling that hg is holding back on you? Want to keep a tab on
what it's doing? Be progressive!
{% endblock %}


{% block tip %}
Sometimes when using Mercurial it seems to sit at the command prompt for quite
some time as it churns over some files. Thankfully, since Mercurial 1.5 you
can now take advantage of a new extension! You'll want to [edit your '~/.hgrc'
file][hgrc] to contain something like this:

[hgrc]: {{ links.tip_edit_hgrc }}

    [extensions]
    progress =

When this nifty little extension is enabled you should see something like this:

<div class="screenshot">
    <a href="http://picasaweb.google.com/lh/photo/H_whTt3_9qWgidsk6Ao6pw?feat=directlink"
       title="Progress when verifying a Mercurial repository">
        <img src="http://lh3.ggpht.com/_VHXliiKPwhU/S6k5xh1fsAI/AAAAAAAABCg/2FDGDmPpNdM/s400/progress-verify.png"
             class="force-border"
             alt="Progress when verifying a Mercurial repository"/>
    </a>
</div>

Notice the nice new progress bar? Here's another little example:

<div class="screenshot">
    <a href="http://picasaweb.google.com/lh/photo/ALwS1lIo-p7DFD8YRZzKMg?feat=embedwebsite"
       title="Progress when cloning a remote Mercurial repository">
        <img src="http://lh5.ggpht.com/_VHXliiKPwhU/S6k5xp_VMfI/AAAAAAAABCk/pyn7z_WLr98/s400/progress-clone-remote.png"
             class="force-border"
             alt="Progress when cloning a remote Mercurial repository"/>
    </a>
</div>

I hope you find this little tip useful and it helps you in your daily usage of
Mercurial. For more information on this extension, you can refer to [its
page][progress] on the Mercurial website.

[progress]: http://mercurial.selenic.com/wiki/ProgressExtension

{% endblock %}