Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2007-09-21 06:24:33
Size: 508
Editor: gate-zmy1
Comment: alias is now bundled with Mercurial
Revision 8 as of 2007-09-22 03:31:33
Size: 491
Editor: shebiki
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Alias Extension ==
Line 18: Line 18:
alias = /path/to/alias.py alias =

Alias Extension

This extension is distributed 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)