Differences between revisions 2 and 3
Revision 2 as of 2008-04-06 13:18:09
Size: 1083
Editor: PaulMoore
Comment:
Revision 3 as of 2008-04-06 13:19:31
Size: 294
Editor: PaulMoore
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Info Extension == == Extension Name ==
Line 3: Line 3:
'''This extension is not distributed with Mercurial.''' '''This extension is/is not distributed with Mercurial.'''
Line 5: Line 5:
''Author: Paul Moore'' ''Author: ''
Line 7: Line 7:
Download site: Download direct from this page - attachment:info.py Download site:
Line 10: Line 10:

This extension displays basic information about a (local) repository. The information displayed includes:
 * The repository root.
 * The "base hash" - the changeset ID of revision 0 of the repository. This is the nearest equivalent of a unique identifier for the repository.
 * The number of revisions present in the repository.
 * The number of files in the tip revision.
 * The location (if any) from which this repository was cloned.
 * The default push location for the repository.

An example of usage:
{{{
>hg info
Repository: C:\Data\Mercurial\crew
Base Hash: 9117c6561b0bd7792fa13b50d28239d51b78e51f
Revisions: 6469
Files: 787
Cloned From: http://hg.intevation.org/mercurial/crew
}}}
Line 34: Line 16:
info = path/to/info.py ...

Extension Name

This extension is/is not distributed with Mercurial.

Author:

Download site:

Overview

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
...


CategoryExtension

Extension Template (last edited 2017-04-29 03:38:34 by mrzv)