Differences between revisions 13 and 16 (spanning 3 versions)
Revision 13 as of 2013-11-17 11:56:09
Size: 745
Editor: Thomas.Tong
Comment:
Revision 16 as of 2013-11-25 22:02:22
Size: 695
Editor: rcl
Comment: This is the *template* page for adding Hg extensions to the wiki. All the extensions' pages end in "Extension" for consistency.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Source Info Extension
Line 2: Line 3:
= Source Info Extension = = Extension Name =

Brief description of extension.
Line 6: Line 10:
'''This extension is not distributed with Mercurial.'''
Line 8: Line 11:
''Author: '' ''Thomas.Tong'' '''This extension is not distributed with Mercurial.''' (maybe someday you can delete "not" here)
Line 10: Line 13:
Repository: http://www.marker123.com/hgext/hg-info/ ''Author: '' ''(your name)''
Line 12: Line 15:
Web page: http://www.marker123.com/hgext/hg-info/ Repository: ''(public HTTP URL that can be passed to `hg clone`)''

Web page: ''(where to get more info)''
Line 15: Line 20:
This extension display the lines of source code about the current repository.
Line 17: Line 21:
The information include:

 * Currnet revsion
 * Binary file count
 * Text file count
 * Total lines



An example of usage:
More detailed explanation: what it does, how to use it, etc.
Line 29: Line 24:
Configure your .hgrc to enable the extension by adding following lines:
Line 31: Line 28:
info = directory/of/info ...
Line 33: Line 30:
== History ==
 * 2013-11-17 - Initialize version with Mercurial 2.0.2
Line 37: Line 32:
Line 38: Line 34:
CategoryExtensionsByOthers CategoryExtensionsByOthers 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


CategoryExtension CategoryExtensionsByOthers

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