Differences between revisions 2 and 12 (spanning 10 versions)
Revision 2 as of 2008-04-06 13:18:09
Size: 1083
Editor: PaulMoore
Comment:
Revision 12 as of 2011-09-09 10:44:22
Size: 629
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Info Extension == #pragma section-numbers 2
= Extension Name =
Line 3: Line 4:
'''This extension is not distributed with Mercurial.''' Brief description of extension.
Line 5: Line 6:
''Author: Paul Moore'' <<TableOfContents>>
Line 7: Line 8:
Download site: Download direct from this page - attachment:info.py == Status ==
Line 9: Line 10:
=== Overview === '''This extension is not distributed with Mercurial.''' (maybe someday you can delete "not" here)
Line 11: Line 12:
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.
''Author: '' ''(your name)''
Line 19: Line 14:
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
}}}
Repository: ''(public HTTP URL that can be passed to `hg clone`)''
Line 29: Line 16:
=== Configuration === Web page: ''(where to get more info)''

== Overview ==

More detailed explanation: what it does, how to use it, etc.

== Configuration ==
Line 34: Line 27:
info = path/to/info.py ...
Line 37: Line 30:
== See also ==
Line 38: Line 33:
CategoryExtension CategoryExtensionsByOthers

Extension Name

Brief description of extension.

1. Status

This extension is not distributed with Mercurial. (maybe someday you can delete "not" here)

Author: (your name)

Repository: (public HTTP URL that can be passed to hg clone)

Web page: (where to get more info)

2. Overview

More detailed explanation: what it does, how to use it, etc.

3. Configuration

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

[extensions]
...

4. See also


CategoryExtensionsByOthers

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