# HG changeset patch # User Steve Losh # Date 1262999702 18000 # Node ID e35a2b4aa17089b4996669014f5204a43e643691 # Parent 9509c1e45f8c73656b54bfb3c1d8d950ea93986c Fix line-wrapping in the docs. diff -r 9509c1e45f8c -r e35a2b4aa170 docs/wiki/documentation/samples/index.mdown --- a/docs/wiki/documentation/samples/index.mdown Fri Jan 08 20:13:24 2010 -0500 +++ b/docs/wiki/documentation/samples/index.mdown Fri Jan 08 20:15:02 2010 -0500 @@ -14,7 +14,8 @@ * Which named branch you're currently working on. * If there are any uncommitted changes in the working directory. -* If you're at a revision that's not a branch tip (i.e. if running `hg update` would do something). +* If you're at a revision that's not a branch tip (i.e. if running `hg update` + would do something). To get a prompt like this you could add this to your `~/.bashrc` file: diff -r 9509c1e45f8c -r e35a2b4aa170 docs/wiki/index.mdown --- a/docs/wiki/index.mdown Fri Jan 08 20:13:24 2010 -0500 +++ b/docs/wiki/index.mdown Fri Jan 08 20:15:02 2010 -0500 @@ -1,7 +1,9 @@ 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. +`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][] ---------------- diff -r 9509c1e45f8c -r e35a2b4aa170 docs/wiki/installation/index.mdown --- a/docs/wiki/installation/index.mdown Fri Jan 08 20:13:24 2010 -0500 +++ b/docs/wiki/installation/index.mdown Fri Jan 08 20:15:02 2010 -0500 @@ -22,6 +22,7 @@ $ hg prompt 'test' test -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. [Quick Start]: /quickstart/ \ No newline at end of file diff -r 9509c1e45f8c -r e35a2b4aa170 docs/wiki/quickstart/index.mdown --- a/docs/wiki/quickstart/index.mdown Fri Jan 08 20:13:24 2010 -0500 +++ b/docs/wiki/quickstart/index.mdown Fri Jan 08 20:15:02 2010 -0500 @@ -1,7 +1,8 @@ Quick Start =========== -This guide will get you up and running so you can put some useful information into your shell prompt. +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][install] it, do that now. @@ -19,7 +20,9 @@ export PS1='\u at \h in \w$(hg_ps1)\n$ ' -`source ~/.bashrc` after to test it out. Make sure you're in a Mercurial repository or you won't see anything. This little prompt will give you something like this: +`source ~/.bashrc` after to test it out. Make sure you're in a Mercurial +repository or you won't see anything. This little prompt will give you +something like this: :::console steve at myhost in ~/src/hg-prompt on default at feature-bookmark? @@ -47,6 +50,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. [full documentation]: /documentation/ \ No newline at end of file