hg-prompt /

Filename Size Date modified Message
59 B
o Daemonized the hg incoming/outgoing calls to increase responsiveness;
90 B
Added tag 0.2 for changeset a6ec48f03985
1.4 KB
Revamp the README to point to the docs.
16.6 KB
Tear out incoming/outgoing functionality
-*- markdown -*-


hg-prompt adds an 'hg prompt' command to Mercurial for viewing repository information.  It's designed to be used in a shell prompt.


hg-prompt requires Python 2.5+ and (obviously) Mercurial.


Clone the repository:

    $ hg clone http://bitbucket.org/sjl/hg-prompt/

Edit the `[extensions]` section in your `~/.hgrc` file:

    prompt = (path to)/hg-prompt/prompt.py


The documentation for hg-prompt is at the [project page][project].  There's a [Quick Start guide][quickstart], [Full Usage Guide][usage], [Keyword List][keywords], and a few other things there.

The documentation is stored in the `docs/` directory of the repository if you prefer to read it offline.

[project]: http://sjl.bitbucket.org/hg-prompt/
[quickstart]: http://sjl.bitbucket.org/hg-prompt/quickstart/
[usage]: http://sjl.bitbucket.org/hg-prompt/documentation/usage/
[keywords]: http://sjl.bitbucket.org/hg-prompt/documentation/keywords/

Questions, Comments, Suggestions

The code was kind of thrown together in a few nights after I got tired of chaining three or four hg runs together to get what I wanted.  I'm sure it's not perfect, so if you've got a way to improve it please add an issue and let me know.

Patches are also welcome!