Differences between revisions 2 and 3
Revision 2 as of 2009-02-17 08:14:20
Size: 848
Editor: ArneBab
Comment: "hello" marked as code
Revision 3 as of 2009-02-17 08:15:46
Size: 848
Editor: ArneBab
Comment: Exntension with a capital E in the title :)
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Hello World extension == == Hello World Extension ==

Hello World Extension

This extension is not distributed with Mercurial.

Author: Arne Babenhauserheide (ArneBab)

Download site: http://bitbucket.org/ArneBab/hello

Overview

A Mercurial Hello World extension. It allows you to call a friendly "Hello Mercurial!".

Configuration

Enable the extension by adding following lines to your configuration file (~/.hgrc or <repo>/.hg/hgrc):

[extensions]
hello=/path/to/hello.py

Usage

The Hello World extension provides the hello command to call a friendly "Hello Mercurial!".

hg hello

You can use the hello command as follows:

hg hello [-n <name>]

where the additional options are:

-n

--name

the name to use for greeting (Default: Mercurial)


CategoryExtension

HelloExtension (last edited 2012-02-15 22:09:28 by ks3095497)