Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pelletier/hg-prompt
Mirror of https://bitbucket.org/sjl/hg-prompt/
https://github.com/pelletier/hg-prompt
Last synced: about 1 month ago
JSON representation
Mirror of https://bitbucket.org/sjl/hg-prompt/
- Host: GitHub
- URL: https://github.com/pelletier/hg-prompt
- Owner: pelletier
- Created: 2012-08-08T15:40:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-08T15:42:39.000Z (over 12 years ago)
- Last Synced: 2024-10-13T14:17:47.042Z (2 months ago)
- Language: Python
- Size: 457 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
-*- markdown -*-
hg-prompt
=========hg-prompt adds an 'hg prompt' command to Mercurial for viewing repository information. It's designed to be used in a shell prompt.
Requirements
------------hg-prompt requires Python 2.5+ and (obviously) Mercurial.
Installing
----------Clone the repository:
$ hg clone http://bitbucket.org/sjl/hg-prompt/
Edit the `[extensions]` section in your `~/.hgrc` file:
[extensions]
prompt = (path to)/hg-prompt/prompt.pyDocumentation
-------------The documentation for hg-prompt is at the [project page][project]. There's a [Quick Start guide][quickstart], [Full Usage Guide][usage], [Keyword List][keywords], and a few other things there.
The documentation is stored in the `docs/` directory of the repository if you prefer to read it offline.
[project]: http://sjl.bitbucket.org/hg-prompt/
[quickstart]: http://sjl.bitbucket.org/hg-prompt/quickstart/
[usage]: http://sjl.bitbucket.org/hg-prompt/documentation/usage/
[keywords]: http://sjl.bitbucket.org/hg-prompt/documentation/keywords/Questions, Comments, Suggestions
--------------------------------The code was kind of thrown together in a few nights after I got tired of chaining three or four hg runs together to get what I wanted. I'm sure it's not perfect, so if you've got a way to improve it please add an issue and let me know.
Patches are also welcome!