docs/wiki/index.mdown @ e2d60e4e3caf

Fix error: don't assume status is a tuple

This fix also works with older versions of Mercurial. `repo.status()` used to
return a named tuple; since 5.2.1 it returns an object. So `st[:5]` no longer
works, but `st.modified` works with both old and new versions of Mercurial.
author Sietse Brouwer <sbbrouwer@gmail.com>
date Tue, 26 May 2020 14:57:58 +0200
parents 23412ff8b98e
children (none)
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]: /installation/
[Quick Start]: /quickstart/
[Full Documentation]: /documentation/
[Code]: http://bitbucket.org/sjl

Screenshot
----------

![My bash prompt while using hg-prompt.](http://stevelosh.com/media/images/projects/hg-prompt/prompt.png "My bash prompt while using hg-prompt.")