# HG changeset patch # User Steve Losh # Date 1260924790 18000 # Node ID 310c8feb5645e13e1e7d5875dfbb6a419f3da573 # Parent 36f30b33ea49580f1546a913b5b1d8113759280e hg-prompt: Update documentation. diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/documentation/index.html --- a/hg-prompt/documentation/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/documentation/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » Documentation - - - - + + + + @@ -21,7 +21,7 @@

- index » + index » @@ -36,11 +36,11 @@

Documentation

-

Usage

+

Usage

How the hg prompt command can be used.

-

Keywords

+

Keywords

Keywords available to use with the command.

-

Sample Prompts

+

Sample Prompts

Some sample prompts to get you started.

diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/documentation/keywords/index.html --- a/hg-prompt/documentation/keywords/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/documentation/keywords/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » Keywords - - - - + + + + @@ -21,11 +21,11 @@

- index » + index » - documentation » + documentation » @@ -40,7 +40,7 @@

Keywords

-

There a number of keywords available. If you have any suggestions for more please let me know.

+

There a number of keywords available. If you have any suggestions for more please let me know.

Some of the keywords support filters. These filters can be combined when it makes sense. If in doubt, try it!

-

Take a look at the keywords documentation to see all the keywords hg-prompt supports.

+

Take a look at the keywords documentation to see all the keywords hg-prompt supports.

diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/documentation/usage/list.html --- a/hg-prompt/documentation/usage/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/documentation/usage/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /documentation/usage - - - - + + + + @@ -21,15 +21,15 @@

- index » + index » - documentation » + documentation » - usage » + usage » diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/index.html --- a/hg-prompt/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » hg-prompt - - - - + + + + @@ -33,10 +33,10 @@

hg-prompt

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

-

Installation

-

Quick Start

-

Full Documentation

-

Code

+

Installation

+

Quick Start

+

Full Documentation

+

Code

Screenshot

My bash prompt while using hg-prompt.

diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/installation/index.html --- a/hg-prompt/installation/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/installation/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » Installation - - - - + + + + @@ -21,7 +21,7 @@

- index » + index » @@ -38,13 +38,13 @@

Installation

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

First, clone the repository:

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

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

[extensions]
-prompt = (path to)/hg-prompt/prompt.py
+prompt = (path to)/prompt.py
 
@@ -54,7 +54,7 @@
-

Take a look at the Quick Start guide to learn how to put some useful information into your shell prompt.

+

Take a look at the Quick Start guide to learn how to put some useful information into your shell prompt.

diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/installation/list.html --- a/hg-prompt/installation/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/installation/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /installation - - - - + + + + @@ -21,11 +21,11 @@

- index » + index » - installation » + installation » diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/list.html --- a/hg-prompt/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls / - - - - + + + + @@ -21,7 +21,7 @@

- index » + index » @@ -44,7 +44,7 @@ - + documentation/ @@ -52,7 +52,7 @@ - + installation/ @@ -60,7 +60,7 @@ - + media/ @@ -68,7 +68,7 @@ - + quickstart/ diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/media/css/index.html --- a/hg-prompt/media/css/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/media/css/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /media/css - - - - + + + + @@ -21,15 +21,15 @@

- index » + index » - media » + media » - css » + css » @@ -57,7 +57,7 @@ 3K - + layout.css @@ -66,7 +66,7 @@ 3K - + pygments.css @@ -75,7 +75,7 @@ 940B - + reset.css @@ -84,7 +84,7 @@ 1K - + typography.css diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/media/css/list.html --- a/hg-prompt/media/css/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/media/css/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /media/css - - - - + + + + @@ -21,15 +21,15 @@

- index » + index » - media » + media » - css » + css » @@ -57,7 +57,7 @@ 3K - + layout.css @@ -66,7 +66,7 @@ 3K - + pygments.css @@ -75,7 +75,7 @@ 940B - + reset.css @@ -84,7 +84,7 @@ 1K - + typography.css diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/media/index.html --- a/hg-prompt/media/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/media/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /media - - - - + + + + @@ -21,11 +21,11 @@

- index » + index » - media » + media » @@ -48,7 +48,7 @@ - + css/ diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/media/list.html --- a/hg-prompt/media/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/media/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /media - - - - + + + + @@ -21,11 +21,11 @@

- index » + index » - media » + media » @@ -48,7 +48,7 @@ - + css/ diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/quickstart/index.html --- a/hg-prompt/quickstart/index.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/quickstart/index.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » Quick Start - - - - + + + + @@ -21,7 +21,7 @@

- index » + index » @@ -37,7 +37,7 @@

Quick Start

This guide will get you up and running so you can put some useful information into your shell prompt.

-

If you haven't already installed it, do that now.

+

If you haven't already installed it, do that now.

A Simple (But Useful) Prompt

Edit your ~/.bashrc file to include something like this:

hg_ps1() {
@@ -72,7 +72,7 @@
 
 
 

Learn More

-

From here you can take a look at the full documentation to see all the interesting things hg-prompt can do.

+

From here you can take a look at the full documentation to see all the interesting things hg-prompt can do.

diff -r 36f30b33ea49 -r 310c8feb5645 hg-prompt/quickstart/list.html --- a/hg-prompt/quickstart/list.html Wed Dec 02 02:13:39 2009 -0500 +++ b/hg-prompt/quickstart/list.html Tue Dec 15 19:53:10 2009 -0500 @@ -9,10 +9,10 @@ hg-prompt » ls /quickstart - - - - + + + + @@ -21,11 +21,11 @@

- index » + index » - quickstart » + quickstart »