# HG changeset patch # User Steve Losh <steve@stevelosh.com> # Date 1263164581 18000 # Node ID a813f49de58452fd9c4bcc37e3832c272c552510 # Parent 82488ceb5054967a48999ea2c807ee2bdccd7d30 hg-prompt: Update documentation. diff -r 82488ceb5054 -r a813f49de584 hg-prompt/documentation/samples/index.html --- a/hg-prompt/documentation/samples/index.html Fri Jan 08 20:12:54 2010 -0500 +++ b/hg-prompt/documentation/samples/index.html Sun Jan 10 18:03:01 2010 -0500 @@ -54,7 +54,8 @@ <ul> <li>Which named branch you're currently working on.</li> <li>If there are any uncommitted changes in the working directory.</li> -<li>If you're at a revision that's not a branch tip (i.e. if running <code>hg update</code> would do something).</li> +<li>If you're at a revision that's not a branch tip (i.e. if running <code>hg update</code> + would do something).</li> </ul> <p>To get a prompt like this you could add this to your <code>~/.bashrc</code> file:</p> <div class="codehilite"><pre><span class="nb">export </span><span class="nv">PS1</span><span class="o">=</span><span class="s1">'\u in \w`hg prompt "{on {branch}}{status}{update}" 2>/dev/null` $'</span> diff -r 82488ceb5054 -r a813f49de584 hg-prompt/index.html --- a/hg-prompt/index.html Fri Jan 08 20:12:54 2010 -0500 +++ b/hg-prompt/index.html Sun Jan 10 18:03:01 2010 -0500 @@ -37,13 +37,15 @@ <h1 id="hg-prompt">hg-prompt</h1> -<p><code>hg-prompt</code> 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.</p> +<p><code>hg-prompt</code> 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.</p> <h2 id="installation"><a href="installation/">Installation</a></h2> <h2 id="quick-start"><a href="quickstart/">Quick Start</a></h2> <h2 id="full-documentation"><a href="documentation/">Full Documentation</a></h2> <h2 id="code"><a href="http://bitbucket.org/sjl">Code</a></h2> <h2 id="screenshot">Screenshot</h2> -<p><img alt="My bash prompt while using hg-prompt." src="http://stevelosh.com/site-media/storage/projects/2009-06-19-hg-prompt/hg-prompt.png" title="My bash prompt while using hg-prompt." /></p> +<p><img alt="My bash prompt while using hg-prompt." src="http://stevelosh.com/media/images/projects/hg-prompt/prompt.png" title="My bash prompt while using hg-prompt." /></p> <p id="footer"> diff -r 82488ceb5054 -r a813f49de584 hg-prompt/installation/index.html --- a/hg-prompt/installation/index.html Fri Jan 08 20:12:54 2010 -0500 +++ b/hg-prompt/installation/index.html Sun Jan 10 18:03:01 2010 -0500 @@ -59,7 +59,8 @@ </pre></div> -<p>Take a look at the <a href="../quickstart/">Quick Start</a> guide to learn how to put some useful information into your shell prompt.</p> +<p>Take a look at the <a href="../quickstart/">Quick Start</a> guide to learn how to put some useful +information into your shell prompt.</p> <p id="footer"> diff -r 82488ceb5054 -r a813f49de584 hg-prompt/quickstart/index.html --- a/hg-prompt/quickstart/index.html Fri Jan 08 20:12:54 2010 -0500 +++ b/hg-prompt/quickstart/index.html Sun Jan 10 18:03:01 2010 -0500 @@ -41,7 +41,8 @@ <h1 id="quick-start">Quick Start</h1> -<p>This guide will get you up and running so you can put some useful information into your shell prompt.</p> +<p>This guide will get you up and running so you can put some useful information +into your shell prompt.</p> <p>If you haven't already <a href="../installation/">installed</a> it, do that now.</p> <h2 id="a-simple-but-useful-prompt">A Simple (But Useful) Prompt</h2> <p>Edit your <code>~/.bashrc</code> file to include something like this:</p> @@ -53,7 +54,9 @@ </pre></div> -<p><code>source ~/.bashrc</code> 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:</p> +<p><code>source ~/.bashrc</code> 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:</p> <div class="codehilite"><pre><span class="go">steve at myhost in ~/src/hg-prompt on default at feature-bookmark?</span> <span class="gp">$</span> </pre></div> @@ -77,7 +80,8 @@ <h2 id="learn-more">Learn More</h2> -<p>From here you can take a look at the <a href="../documentation/">full documentation</a> to see all the interesting things <code>hg-prompt</code> can do.</p> +<p>From here you can take a look at the <a href="../documentation/">full documentation</a> to see all the +interesting things <code>hg-prompt</code> can do.</p> <p id="footer">