Mercurial > hg
view tests/test-alias @ 8521:9fe16b1a1786
dirstate: use quicker matchfn() instead of match() everywhere
matchfn does the same as match(), but a direct "link"
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Thu, 14 May 2009 19:47:52 +0200 |
parents | 5fbee915ea5d |
children | 21688b8a594b |
line wrap: on
line source
#!/bin/sh cat >> $HGRCPATH <<EOF [extensions] alias= [alias] myinit = init cleanstatus = status -c unknown = bargle ambiguous = s recursive = recursive mylog = log lognull = log -r null shortlog = log --template '{rev} {node|short} | {date|isodate}\n' [defaults] mylog = -q lognull = -q log = -v EOF echo '% basic' hg myinit alias echo '% unknown' hg unknown echo '% ambiguous' hg ambiguous echo '% recursive' hg recursive cd alias echo foo > foo hg ci -Amfoo echo '% with opts' hg cleanst echo '% with opts and whitespace' hg shortlog echo '% interaction with defaults' hg mylog hg lognull