Mercurial > hg
comparison tests/test-alias.t @ 21585:652e07debf10
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 27 May 2014 17:41:20 -0700 |
parents | 6c9b7712ac69 |
children | aa5e256839d5 f98abe3146b2 |
comparison
equal
deleted
inserted
replaced
21580:32601b0b74c0 | 21585:652e07debf10 |
---|---|
9 > cleanstatus = status -c | 9 > cleanstatus = status -c |
10 > unknown = bargle | 10 > unknown = bargle |
11 > ambiguous = s | 11 > ambiguous = s |
12 > recursive = recursive | 12 > recursive = recursive |
13 > nodefinition = | 13 > nodefinition = |
14 > noclosingquotation = ' | |
14 > no--cwd = status --cwd elsewhere | 15 > no--cwd = status --cwd elsewhere |
15 > no-R = status -R elsewhere | 16 > no-R = status -R elsewhere |
16 > no--repo = status --repo elsewhere | 17 > no--repo = status --repo elsewhere |
17 > no--repository = status --repository elsewhere | 18 > no--repository = status --repository elsewhere |
18 > no--config = status --config a.config=1 | 19 > no--config = status --config a.config=1 |
58 | 59 |
59 unknown | 60 unknown |
60 | 61 |
61 $ hg unknown | 62 $ hg unknown |
62 alias 'unknown' resolves to unknown command 'bargle' | 63 alias 'unknown' resolves to unknown command 'bargle' |
63 [1] | 64 [255] |
64 $ hg help unknown | 65 $ hg help unknown |
65 alias 'unknown' resolves to unknown command 'bargle' | 66 alias 'unknown' resolves to unknown command 'bargle' |
66 | 67 |
67 | 68 |
68 ambiguous | 69 ambiguous |
69 | 70 |
70 $ hg ambiguous | 71 $ hg ambiguous |
71 alias 'ambiguous' resolves to ambiguous command 's' | 72 alias 'ambiguous' resolves to ambiguous command 's' |
72 [1] | 73 [255] |
73 $ hg help ambiguous | 74 $ hg help ambiguous |
74 alias 'ambiguous' resolves to ambiguous command 's' | 75 alias 'ambiguous' resolves to ambiguous command 's' |
75 | 76 |
76 | 77 |
77 recursive | 78 recursive |
78 | 79 |
79 $ hg recursive | 80 $ hg recursive |
80 alias 'recursive' resolves to unknown command 'recursive' | 81 alias 'recursive' resolves to unknown command 'recursive' |
81 [1] | 82 [255] |
82 $ hg help recursive | 83 $ hg help recursive |
83 alias 'recursive' resolves to unknown command 'recursive' | 84 alias 'recursive' resolves to unknown command 'recursive' |
84 | 85 |
85 | 86 |
86 no definition | 87 no definition |
87 | 88 |
88 $ hg nodef | 89 $ hg nodef |
89 no definition for alias 'nodefinition' | 90 no definition for alias 'nodefinition' |
90 [1] | 91 [255] |
91 $ hg help nodef | 92 $ hg help nodef |
92 no definition for alias 'nodefinition' | 93 no definition for alias 'nodefinition' |
93 | 94 |
94 | 95 |
96 no closing quotation | |
97 | |
98 $ hg noclosing | |
99 error in definition for alias 'noclosingquotation': No closing quotation | |
100 [255] | |
101 $ hg help noclosing | |
102 error in definition for alias 'noclosingquotation': No closing quotation | |
103 | |
104 | |
95 invalid options | 105 invalid options |
96 | 106 |
97 $ hg no--cwd | 107 $ hg no--cwd |
98 error in definition for alias 'no--cwd': --cwd may only be given on the command line | 108 error in definition for alias 'no--cwd': --cwd may only be given on the command line |
99 [1] | 109 [255] |
100 $ hg help no--cwd | 110 $ hg help no--cwd |
101 error in definition for alias 'no--cwd': --cwd may only be given on the command line | 111 error in definition for alias 'no--cwd': --cwd may only be given on the command line |
102 $ hg no-R | 112 $ hg no-R |
103 error in definition for alias 'no-R': -R may only be given on the command line | 113 error in definition for alias 'no-R': -R may only be given on the command line |
104 [1] | 114 [255] |
105 $ hg help no-R | 115 $ hg help no-R |
106 error in definition for alias 'no-R': -R may only be given on the command line | 116 error in definition for alias 'no-R': -R may only be given on the command line |
107 $ hg no--repo | 117 $ hg no--repo |
108 error in definition for alias 'no--repo': --repo may only be given on the command line | 118 error in definition for alias 'no--repo': --repo may only be given on the command line |
109 [1] | 119 [255] |
110 $ hg help no--repo | 120 $ hg help no--repo |
111 error in definition for alias 'no--repo': --repo may only be given on the command line | 121 error in definition for alias 'no--repo': --repo may only be given on the command line |
112 $ hg no--repository | 122 $ hg no--repository |
113 error in definition for alias 'no--repository': --repository may only be given on the command line | 123 error in definition for alias 'no--repository': --repository may only be given on the command line |
114 [1] | 124 [255] |
115 $ hg help no--repository | 125 $ hg help no--repository |
116 error in definition for alias 'no--repository': --repository may only be given on the command line | 126 error in definition for alias 'no--repository': --repository may only be given on the command line |
117 $ hg no--config | 127 $ hg no--config |
118 error in definition for alias 'no--config': --config may only be given on the command line | 128 error in definition for alias 'no--config': --config may only be given on the command line |
119 [1] | 129 [255] |
120 | 130 |
121 optional repository | 131 optional repository |
122 | 132 |
123 #if no-outer-repo | 133 #if no-outer-repo |
124 $ hg optionalrepo | 134 $ hg optionalrepo |