sapling/tests/test-strict.t

27 lines
420 B
Perl
Raw Normal View History

2010-08-30 07:48:17 +04:00
$ hg init
$ echo a > a
$ hg ci -Ama
adding a
$ hg an a
0: a
$ hg --config ui.strict=False an a
0: a
2010-08-30 07:48:17 +04:00
$ echo "[ui]" >> $HGRCPATH
$ echo "strict=True" >> $HGRCPATH
$ hg an a
unknown command 'an'
(use 'hg help' to get help)
2010-09-17 02:51:32 +04:00
[255]
2010-08-30 07:48:17 +04:00
$ hg annotate a
0: a
should succeed - up is an alias, not an abbreviation
$ hg up
0 files updated, 0 files merged, 0 files removed, 0 files unresolved