Differences between revisions 2 and 3
Revision 2 as of 2012-07-12 22:04:56
Size: 1393
Editor: MarkusZapke
Comment: Updated extension information.
Revision 3 as of 2014-07-26 05:56:58
Size: 1409
Editor: techtonik
Comment: note that this is now a core feature
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
'''This extension is not distributed with Mercurial.''' '''This extension is implemented as `hg version -v` in Mercurial 3.1'''

Versions Extension

Display the version information for Mercurial and all installed extensions.

1. Status

This extension is implemented as hg version -v in Mercurial 3.1

Author: Markus Zapke-Gründeman

Repository: https://bitbucket.org/keimlink/hg-versions

Python Package Index: http://pypi.python.org/pypi/hg-versions

2. Overview

By default only the Mercurial version and enabled extensions with version information are displayed:

$ hg versions
Mercurial version: 1.7.2

enabled extensions:

 versions 0.1

You can use the -a argument to display all enabled extensions, even those without a version:

$ hg versions -a
Mercurial version: 1.7.2

enabled extensions:

 bookmarks
 color
 crecord
 extdiff
 fetch
 graphlog
 hgattic
 hggit
 hgsubversion
 histedit
 mercurial_keyring
 pager
 prompt
 rebase
 versions 0.1

3. Installation

Use pip or easy_install to install the package:

$ pip install hg-versions

Or install from the sources:

$ tar xzf hg-versions-0.1.tar.gz
$ cd hg-versions-0.1
$ python setup.py install

4. Configuration

Enable the extension by adding following lines to your configuration file (hgrc):

[extensions]
versions =


CategoryExtensionsByOthers

VersionsExtension (last edited 2014-07-26 05:59:00 by techtonik)