Differences between revisions 3 and 4
Revision 3 as of 2007-06-28 23:03:19
Size: 575
Editor: BrendanCully
Comment:
Revision 4 as of 2007-07-02 16:27:09
Size: 718
Editor: BrendanCully
Comment: add zzalias hack
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
# if you want to alias commands provided by other extensions,
# alias must load after them. Use this instead:
# zzalias = /path/to/alias.py

Extension Name

This extension is not distributed with Mercurial.

Author: Brendan Cully

Download site: [http://hg.kublai.com/mercurial/extensions/alias]

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 = /path/to/alias
# if you want to alias commands provided by other extensions,
# alias must load after them. Use this instead:
# zzalias = /path/to/alias.py

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


CategoryExtension

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