Mercurial > hg
comparison tests/test-strict.t @ 12097:389c215885c5
tests: unify test-strict
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 12:48:17 +0900 |
parents | tests/test-strict@6c82beaaa11a |
children | 4134686b83e1 |
comparison
equal
deleted
inserted
replaced
12096:bb69460e9d2d | 12097:389c215885c5 |
---|---|
1 $ hg init | |
2 | |
3 $ echo a > a | |
4 $ hg ci -Ama | |
5 adding a | |
6 | |
7 $ hg an a | |
8 0: a | |
9 | |
10 $ echo "[ui]" >> $HGRCPATH | |
11 $ echo "strict=True" >> $HGRCPATH | |
12 | |
13 $ hg an a | |
14 hg: unknown command 'an' | |
15 Mercurial Distributed SCM | |
16 | |
17 basic commands: | |
18 | |
19 add add the specified files on the next commit | |
20 annotate show changeset information by line for each file | |
21 clone make a copy of an existing repository | |
22 commit commit the specified files or all outstanding changes | |
23 diff diff repository (or selected files) | |
24 export dump the header and diffs for one or more changesets | |
25 forget forget the specified files on the next commit | |
26 init create a new repository in the given directory | |
27 log show revision history of entire repository or files | |
28 merge merge working directory with another revision | |
29 pull pull changes from the specified source | |
30 push push changes to the specified destination | |
31 remove remove the specified files on the next commit | |
32 serve start stand-alone webserver | |
33 status show changed files in the working directory | |
34 summary summarize working directory state | |
35 update update working directory (or switch revisions) | |
36 | |
37 use "hg help" for the full list of commands or "hg -v" for details | |
38 $ hg annotate a | |
39 0: a | |
40 | |
41 should succeed - up is an alias, not an abbreviation | |
42 | |
43 $ hg up | |
44 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |