Source

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

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


{% 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 avail of a new extension! You'll want to [edit your '~/.hgrc'
file][hgrc] to contain something like this:

    [extensions]
    hgext.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"
                    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"
                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 [it's
page][progress] on the Mercurial website.

[hgrc]: {{ links.tip_edit_hgrc }}
[progress]: http://mercurial.selenic.com/wiki/ProgressExtension

{% endblock %}