# HG changeset patch # User Steve Losh # Date 1277244816 14400 # Node ID abcf6f68470caf3ba6160c3469ea96816a369925 # Parent d3c735c94461921221bc4890aebe212289729ad2 hg-prompt: Update documentation. diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/index.html --- a/hg-prompt/documentation/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,54 +8,81 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Documentation - - - - - - - - -
- + + + - + + hg-prompt » + Documentation + + + + + + + + + -

Documentation

+ + + + + + + + + + + +
+ + + + + + + + + +

Documentation

Usage

How the hg prompt command can be used.

Keywords

Keywords available to use with the command.

Sample Prompts

Some sample prompts to get you started.

- - - - Powered by Markdoc. -

+
-
+ + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/keywords/index.html --- a/hg-prompt/documentation/keywords/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/keywords/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,43 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Keywords - - - - - - - - -
- + + + - + + hg-prompt » + Keywords + + + + + + + + + -

Keywords

+ + + + + + + + + + + +
+ + + + + + + + + +

Keywords

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!

@@ -52,6 +74,7 @@
  • Keywords
    • bookmark
    • branch
    • +
    • count
    • incoming
    • node
    • outgoing
    • @@ -82,6 +105,18 @@ +

      count

      +
      +
      +

      Display the number of revisions in the given revset (the revset all() +will be used if none is given.

      +

      See hg help revsets for more information.

      +
      +
      |REVSET
      +
      The revset to count.
      +
      +
      +

      incoming

      @@ -250,15 +285,20 @@ otherwise nothing. In effect, this lets you see if running hg update would do something.
      - - - - Powered by Markdoc. -

      +
  • -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/keywords/list.html --- a/hg-prompt/documentation/keywords/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/keywords/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,46 +8,69 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /documentation/keywords - - - - - - - - -
    - + + + - + + hg-prompt » + ls /documentation/keywords + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /documentation/keywords

    @@ -56,14 +79,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/list.html --- a/hg-prompt/documentation/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,42 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /documentation - - - - - - - - -
    - + + + - + + hg-prompt » + ls /documentation + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /documentation

    @@ -82,14 +105,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/samples/index.html --- a/hg-prompt/documentation/samples/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/samples/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,43 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Sample Prompts - - - - - - - - -
    - + + + - + + hg-prompt » + Sample Prompts + + + + + + + + + -

    Sample Prompts

    + + + + + + + + + + + +
    + + + + + + + + + +

    Sample Prompts

    hg-prompt supports many keywords, but you probably don't want to use them all at once. Which keywords you'll find useful depends on the workflow(s) you commonly use.

    @@ -95,15 +117,20 @@ ~/src/project[default] $ hg update 0 ~/src/project[default^] $
    - - - - Powered by Markdoc. -

    +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/samples/list.html --- a/hg-prompt/documentation/samples/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/samples/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,46 +8,69 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /documentation/samples - - - - - - - - -
    - + + + - + + hg-prompt » + ls /documentation/samples + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /documentation/samples

    @@ -56,14 +79,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/usage/index.html --- a/hg-prompt/documentation/usage/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/usage/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,43 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Usage - - - - - - - - -
    - + + + - + + hg-prompt » + Usage + + + + + + + + + -

    Usage

    + + + + + + + + + + + +
    + + + + + + + + + +

    Usage

    The hg prompt command takes a single string as an argument and outputs it. Here's a simple (and useless) example:

    $ hg prompt "test"
    @@ -93,15 +115,20 @@
     
     

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

    - - - - Powered by Markdoc. -

    +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/documentation/usage/list.html --- a/hg-prompt/documentation/usage/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/documentation/usage/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,46 +8,69 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /documentation/usage - - - - - - - - -
    - + + + - + + hg-prompt » + ls /documentation/usage + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /documentation/usage

    @@ -56,14 +79,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/index.html --- a/hg-prompt/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,35 +8,57 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » hg-prompt - - - - - - - - -
    - + + + - + + hg-prompt » + hg-prompt + + + + + + + + + -

    hg-prompt

    + + + + + + + + + + + +
    + + + + + + + + + +

    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.

    @@ -46,15 +68,20 @@

    Code

    Screenshot

    My bash prompt while using hg-prompt.

    - - - - Powered by Markdoc. -

    +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/installation/index.html --- a/hg-prompt/installation/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/installation/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,39 +8,61 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Installation - - - - - - - - -
    - + + + - + + hg-prompt » + Installation + + + + + + + + + -

    Installation

    + + + + + + + + + + + +
    + + + + + + + + + +

    Installation

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

    First, clone the repository:

    $ hg clone http://bitbucket.org/sjl/hg-prompt/
    @@ -61,15 +83,20 @@
     
     

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

    - - - - Powered by Markdoc. -

    +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/installation/list.html --- a/hg-prompt/installation/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/installation/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,42 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /installation - - - - - - - - -
    - + + + - + + hg-prompt » + ls /installation + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /installation

    @@ -52,14 +75,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/list.html --- a/hg-prompt/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,38 +8,61 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls / - - - - - - - - -
    - + + + - + + hg-prompt » + ls / + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /

    @@ -86,14 +109,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/media/css/index.html --- a/hg-prompt/media/css/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/media/css/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,46 +8,69 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /media/css - - - - - - - - -
    - + + + - + + hg-prompt » + ls /media/css + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /media/css

    @@ -98,14 +121,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/media/css/list.html --- a/hg-prompt/media/css/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/media/css/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,46 +8,69 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /media/css - - - - - - - - -
    - + + + - + + hg-prompt » + ls /media/css + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /media/css

    @@ -98,14 +121,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/media/index.html --- a/hg-prompt/media/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/media/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,42 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /media - - - - - - - - -
    - + + + - + + hg-prompt » + ls /media + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /media

    @@ -66,14 +89,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/media/list.html --- a/hg-prompt/media/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/media/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,42 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /media - - - - - - - - -
    - + + + - + + hg-prompt » + ls /media + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /media

    @@ -66,14 +89,20 @@ - - + + +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/quickstart/index.html --- a/hg-prompt/quickstart/index.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/quickstart/index.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,39 +8,61 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » Quick Start - - - - - - - - -
    - + + + - + + hg-prompt » + Quick Start + + + + + + + + + -

    Quick Start

    + + + + + + + + + + + +
    + + + + + + + + + +

    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.

    @@ -82,15 +104,20 @@

    Learn More

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

    - - - - Powered by Markdoc. -

    +
    -
    + + + + \ No newline at end of file diff -r d3c735c94461 -r abcf6f68470c hg-prompt/quickstart/list.html --- a/hg-prompt/quickstart/list.html Tue Jun 15 20:30:36 2010 -0400 +++ b/hg-prompt/quickstart/list.html Tue Jun 22 18:13:36 2010 -0400 @@ -8,42 +8,65 @@ xmlns:foaf="http://xmlns.com/foaf/0.1/"> - - - hg-prompt » ls /quickstart - - - - - - - - -
    - + + + - + + hg-prompt » + ls /quickstart + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    ls /quickstart

    @@ -52,14 +75,20 @@ - - + + +
    -
    + + + + \ No newline at end of file