##// END OF EJS Templates
tests: unify test-strict
Nicolas Dumazet -
r12097:389c2158 default
parent child Browse files
Show More
@@ -1,18 +1,44 b''
1 #!/bin/sh
1 $ hg init
2 2
3 hg init
3 $ echo a > a
4 $ hg ci -Ama
5 adding a
6
7 $ hg an a
8 0: a
4 9
5 echo a > a
6 hg ci -Ama
10 $ echo "[ui]" >> $HGRCPATH
11 $ echo "strict=True" >> $HGRCPATH
7 12
8 hg an a
13 $ hg an a
14 hg: unknown command 'an'
15 Mercurial Distributed SCM
16
17 basic commands:
9 18
10 echo "[ui]" >> $HGRCPATH
11 echo "strict=True" >> $HGRCPATH
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)
12 36
13 hg an a
14 hg annotate a
37 use "hg help" for the full list of commands or "hg -v" for details
38 $ hg annotate a
39 0: a
15 40
16 echo % should succeed - up is an alias, not an abbreviation
41 should succeed - up is an alias, not an abbreviation
17 42
18 hg up
43 $ hg up
44 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now