Debian Codegraph @

tests/test-strict.t

raw
1 $ hg init repo
2 $ cd repo
3
4 $ echo a > a
5 $ hg ci -Ama
6 adding a
7
8 $ hg an a
9 0: a
10
11 $ hg --config ui.strict=False an a
12 0: a
13
14 $ echo "[ui]" >> $HGRCPATH
15 $ echo "strict=True" >> $HGRCPATH
16
17 $ hg an a
18 hg: unknown command 'an'
19 (use 'hg help' for a list of commands)
20 [10]
21 $ hg annotate a
22 0: a
23
24 should succeed - up is an alias, not an abbreviation
25
26 $ hg up
27 0 files updated, 0 files merged, 0 files removed, 0 files unresolved