Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-06-28 22:12:00
Size: 576
Editor: BrendanCully
Comment: Alias extension
Revision 10 as of 2007-10-25 13:56:58
Size: 513
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Alias Extension ==
Line 3: Line 3:
'''This extension is not distributed with Mercurial.''' '''This extension is currently being distributed along with Mercurial.'''
Line 7: Line 7:
Download site: [http://hg.kublai.com/mercurial/extensions/alias]
Line 12: Line 11:
For example, the configuration below gives you a new {{{llog}} command. For example, the configuration below gives you a new {{{llog}}} command.
Line 19: Line 18:
alias = /path/to/alias alias =
Line 21: Line 20:
[aliases] [alias]

Alias Extension

This extension is currently being distributed along with Mercurial.

Author: Brendan Cully

1. Overview

Just enable the extension, then define your own command aliases in your hgrc. For example, the configuration below gives you a new llog command.

2. Configuration

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

[extensions]
alias =

[alias]
# short log
llog = log --limit 10


CategoryExtension

AliasExtension (last edited 2013-08-08 00:05:19 by rcl)