Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2007-07-02 16:27:09
Size: 718
Editor: BrendanCully
Comment: add zzalias hack
Revision 6 as of 2007-09-21 06:24:33
Size: 508
Editor: gate-zmy1
Comment: alias is now bundled with Mercurial
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
'''This extension is not distributed with Mercurial.''' '''This extension is distributed with Mercurial.'''
Line 7: Line 7:
Download site: [http://hg.kublai.com/mercurial/extensions/alias]
Line 19: Line 18:
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 = /path/to/alias.py

Extension Name

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 = /path/to/alias.py

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


CategoryExtension

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