Mercurial > hg
view tests/test-alias @ 5441:71e7c86adcb7
convert: refactor sink initialisation, to remove hardcoding of hg
We also introduce options to explicitly set the source and destination
repository types.
Improve testing of corner cases a little.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 10 Oct 2007 15:42:00 -0700 |
parents | 6aa1fae4c28a |
children | 5db730475d6d |
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