Mercurial > hg
comparison tests/test-help.out @ 1568:1d7d0c07e8f3
make all commands be repo-wide by default
- refactor code in commands.py so that:
if no pattern is given, the command will be repo-wide
else it will work on the working dir
- update the doc
- fix the tests
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 01 Dec 2005 10:51:45 -0600 |
parents | 3bd6d27cb81c |
children | 6c61646fee5e |
comparison
equal
deleted
inserted
replaced
1567:b4956bbbadc9 | 1568:1d7d0c07e8f3 |
---|---|
4 | 4 |
5 add add the specified files on the next commit | 5 add add the specified files on the next commit |
6 annotate show changeset information per file line | 6 annotate show changeset information per file line |
7 clone make a copy of an existing repository | 7 clone make a copy of an existing repository |
8 commit commit the specified files or all outstanding changes | 8 commit commit the specified files or all outstanding changes |
9 diff diff working directory (or selected files) | 9 diff diff repository (or selected files) |
10 export dump the header and diffs for one or more changesets | 10 export dump the header and diffs for one or more changesets |
11 init create a new repository in the given directory | 11 init create a new repository in the given directory |
12 log show revision history of entire repository or files | 12 log show revision history of entire repository or files |
13 parents show the parents of the working dir or revision | 13 parents show the parents of the working dir or revision |
14 pull pull changes from the specified source | 14 pull pull changes from the specified source |
15 push push changes to the specified destination | 15 push push changes to the specified destination |
16 remove remove the specified files on the next commit | 16 remove remove the specified files on the next commit |
17 revert revert modified files or dirs back to their unmodified states | 17 revert revert modified files or dirs back to their unmodified states |
18 serve export the repository via HTTP | 18 serve export the repository via HTTP |
19 status show changed files in the working directory | 19 status show changed files in the working directory |
20 update update or merge working directory | 20 update update or merge working directory |
21 add add the specified files on the next commit | 21 add add the specified files on the next commit |
22 annotate show changeset information per file line | 22 annotate show changeset information per file line |
23 clone make a copy of an existing repository | 23 clone make a copy of an existing repository |
24 commit commit the specified files or all outstanding changes | 24 commit commit the specified files or all outstanding changes |
25 diff diff working directory (or selected files) | 25 diff diff repository (or selected files) |
26 export dump the header and diffs for one or more changesets | 26 export dump the header and diffs for one or more changesets |
27 init create a new repository in the given directory | 27 init create a new repository in the given directory |
28 log show revision history of entire repository or files | 28 log show revision history of entire repository or files |
29 parents show the parents of the working dir or revision | 29 parents show the parents of the working dir or revision |
30 pull pull changes from the specified source | 30 pull pull changes from the specified source |
44 bundle create a changegroup file | 44 bundle create a changegroup file |
45 cat output the latest or given revisions of files | 45 cat output the latest or given revisions of files |
46 clone make a copy of an existing repository | 46 clone make a copy of an existing repository |
47 commit commit the specified files or all outstanding changes | 47 commit commit the specified files or all outstanding changes |
48 copy mark files as copied for the next commit | 48 copy mark files as copied for the next commit |
49 diff diff working directory (or selected files) | 49 diff diff repository (or selected files) |
50 export dump the header and diffs for one or more changesets | 50 export dump the header and diffs for one or more changesets |
51 forget don't add the specified files on the next commit | 51 forget don't add the specified files on the next commit |
52 grep search for a pattern in specified files and revisions | 52 grep search for a pattern in specified files and revisions |
53 heads show current repository heads | 53 heads show current repository heads |
54 help show help for a given command or all commands | 54 help show help for a given command or all commands |
86 bundle create a changegroup file | 86 bundle create a changegroup file |
87 cat output the latest or given revisions of files | 87 cat output the latest or given revisions of files |
88 clone make a copy of an existing repository | 88 clone make a copy of an existing repository |
89 commit commit the specified files or all outstanding changes | 89 commit commit the specified files or all outstanding changes |
90 copy mark files as copied for the next commit | 90 copy mark files as copied for the next commit |
91 diff diff working directory (or selected files) | 91 diff diff repository (or selected files) |
92 export dump the header and diffs for one or more changesets | 92 export dump the header and diffs for one or more changesets |
93 forget don't add the specified files on the next commit | 93 forget don't add the specified files on the next commit |
94 grep search for a pattern in specified files and revisions | 94 grep search for a pattern in specified files and revisions |
95 heads show current repository heads | 95 heads show current repository heads |
96 help show help for a given command or all commands | 96 help show help for a given command or all commands |
128 | 128 |
129 Schedule files to be version controlled and added to the repository. | 129 Schedule files to be version controlled and added to the repository. |
130 | 130 |
131 The files will be added to the repository at the next commit. | 131 The files will be added to the repository at the next commit. |
132 | 132 |
133 If no names are given, add all files in the current directory and | 133 If no names are given, add all files in the repository. |
134 its subdirectories. | |
135 | 134 |
136 options: | 135 options: |
137 | 136 |
138 -I --include include names matching the given patterns | 137 -I --include include names matching the given patterns |
139 -X --exclude exclude names matching the given patterns | 138 -X --exclude exclude names matching the given patterns |
144 | 143 |
145 Schedule files to be version controlled and added to the repository. | 144 Schedule files to be version controlled and added to the repository. |
146 | 145 |
147 The files will be added to the repository at the next commit. | 146 The files will be added to the repository at the next commit. |
148 | 147 |
149 If no names are given, add all files in the current directory and | 148 If no names are given, add all files in the repository. |
150 its subdirectories. | |
151 | 149 |
152 options: | 150 options: |
153 | 151 |
154 -I --include include names matching the given patterns | 152 -I --include include names matching the given patterns |
155 -X --exclude exclude names matching the given patterns | 153 -X --exclude exclude names matching the given patterns |
156 hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]... | 154 hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]... |
157 | 155 |
158 diff working directory (or selected files) | 156 diff repository (or selected files) |
159 | 157 |
160 Show differences between revisions for the specified files. | 158 Show differences between revisions for the specified files. |
161 | 159 |
162 Differences between files are shown using the unified diff format. | 160 Differences between files are shown using the unified diff format. |
163 | 161 |
179 -X --exclude exclude names matching the given patterns | 177 -X --exclude exclude names matching the given patterns |
180 hg status [OPTION]... [FILE]... | 178 hg status [OPTION]... [FILE]... |
181 | 179 |
182 show changed files in the working directory | 180 show changed files in the working directory |
183 | 181 |
184 Show changed files in the working directory. If no names are | 182 Show changed files in the repository. If names are |
185 given, all files are shown. Otherwise, only files matching the | 183 given, only files that match are shown. |
186 given names are shown. | |
187 | 184 |
188 The codes used to show the status of files are: | 185 The codes used to show the status of files are: |
189 M = modified | 186 M = modified |
190 A = added | 187 A = added |
191 R = removed | 188 R = removed |
213 | 210 |
214 add add the specified files on the next commit | 211 add add the specified files on the next commit |
215 annotate show changeset information per file line | 212 annotate show changeset information per file line |
216 clone make a copy of an existing repository | 213 clone make a copy of an existing repository |
217 commit commit the specified files or all outstanding changes | 214 commit commit the specified files or all outstanding changes |
218 diff diff working directory (or selected files) | 215 diff diff repository (or selected files) |
219 export dump the header and diffs for one or more changesets | 216 export dump the header and diffs for one or more changesets |
220 init create a new repository in the given directory | 217 init create a new repository in the given directory |
221 log show revision history of entire repository or files | 218 log show revision history of entire repository or files |
222 parents show the parents of the working dir or revision | 219 parents show the parents of the working dir or revision |
223 pull pull changes from the specified source | 220 pull pull changes from the specified source |
234 | 231 |
235 add add the specified files on the next commit | 232 add add the specified files on the next commit |
236 annotate show changeset information per file line | 233 annotate show changeset information per file line |
237 clone make a copy of an existing repository | 234 clone make a copy of an existing repository |
238 commit commit the specified files or all outstanding changes | 235 commit commit the specified files or all outstanding changes |
239 diff diff working directory (or selected files) | 236 diff diff repository (or selected files) |
240 export dump the header and diffs for one or more changesets | 237 export dump the header and diffs for one or more changesets |
241 init create a new repository in the given directory | 238 init create a new repository in the given directory |
242 log show revision history of entire repository or files | 239 log show revision history of entire repository or files |
243 parents show the parents of the working dir or revision | 240 parents show the parents of the working dir or revision |
244 pull pull changes from the specified source | 241 pull pull changes from the specified source |
245 push push changes to the specified destination | 242 push push changes to the specified destination |
246 remove remove the specified files on the next commit | 243 remove remove the specified files on the next commit |
247 revert revert modified files or dirs back to their unmodified states | 244 revert revert modified files or dirs back to their unmodified states |
248 serve export the repository via HTTP | 245 serve export the repository via HTTP |
249 status show changed files in the working directory | 246 status show changed files in the working directory |
250 update update or merge working directory | 247 update update or merge working directory |