Mercurial > hg
view tests/test-alias @ 5660:3c80ecdc1bcd
Use VISUAL in addition to EDITOR when choosing the editor to use.
author | Osku Salerma <osku@iki.fi> |
---|---|
date | Wed, 05 Dec 2007 20:40:01 +0900 |
parents | 5db730475d6d |
children | a0104303f400 |
line wrap: on
line source
#!/bin/sh cat >> $HGRCPATH <<EOF [extensions] alias= [alias] myinit = init cleanstatus = status -c unknown = bargle ambiguous = s recursive = recursive 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