##// END OF EJS Templates
fix up tests for paths and urls help
Matt Mackall -
r7707:64fd7f6d default
parent child Browse files
Show More
@@ -1,276 +1,278 b''
1 adding a
1 adding a
2 adding b
2 adding b
3 updating working directory
3 updating working directory
4 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
4 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
5 pulling from ../b
5 pulling from ../b
6 searching for changes
6 searching for changes
7 warning: repository is unrelated
7 warning: repository is unrelated
8 adding changesets
8 adding changesets
9 adding manifests
9 adding manifests
10 adding file changes
10 adding file changes
11 added 1 changesets with 1 changes to 1 files (+1 heads)
11 added 1 changesets with 1 changes to 1 files (+1 heads)
12 (run 'hg heads' to see heads, 'hg merge' to merge)
12 (run 'hg heads' to see heads, 'hg merge' to merge)
13 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
13 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
14 (branch merge, don't forget to commit)
14 (branch merge, don't forget to commit)
15 %% -R/--repository
15 %% -R/--repository
16 changeset: 0:8580ff50825a
16 changeset: 0:8580ff50825a
17 tag: tip
17 tag: tip
18 user: test
18 user: test
19 date: Thu Jan 01 00:00:01 1970 +0000
19 date: Thu Jan 01 00:00:01 1970 +0000
20 summary: a
20 summary: a
21
21
22 changeset: 0:b6c483daf290
22 changeset: 0:b6c483daf290
23 tag: tip
23 tag: tip
24 user: test
24 user: test
25 date: Thu Jan 01 00:00:01 1970 +0000
25 date: Thu Jan 01 00:00:01 1970 +0000
26 summary: b
26 summary: b
27
27
28 %% implicit -R
28 %% implicit -R
29 0: a
29 0: a
30 0: a
30 0: a
31 abort: There is no Mercurial repository here (.hg not found)!
31 abort: There is no Mercurial repository here (.hg not found)!
32 abort: a/a not under root
32 abort: a/a not under root
33 abort: There is no Mercurial repository here (.hg not found)!
33 abort: There is no Mercurial repository here (.hg not found)!
34 %% abbrev of long option
34 %% abbrev of long option
35 changeset: 1:b6c483daf290
35 changeset: 1:b6c483daf290
36 tag: tip
36 tag: tip
37 parent: -1:000000000000
37 parent: -1:000000000000
38 user: test
38 user: test
39 date: Thu Jan 01 00:00:01 1970 +0000
39 date: Thu Jan 01 00:00:01 1970 +0000
40 summary: b
40 summary: b
41
41
42 %% earlygetopt with duplicate options (36d23de02da1)
42 %% earlygetopt with duplicate options (36d23de02da1)
43 changeset: 1:b6c483daf290
43 changeset: 1:b6c483daf290
44 tag: tip
44 tag: tip
45 parent: -1:000000000000
45 parent: -1:000000000000
46 user: test
46 user: test
47 date: Thu Jan 01 00:00:01 1970 +0000
47 date: Thu Jan 01 00:00:01 1970 +0000
48 summary: b
48 summary: b
49
49
50 changeset: 0:8580ff50825a
50 changeset: 0:8580ff50825a
51 tag: tip
51 tag: tip
52 user: test
52 user: test
53 date: Thu Jan 01 00:00:01 1970 +0000
53 date: Thu Jan 01 00:00:01 1970 +0000
54 summary: a
54 summary: a
55
55
56 %% earlygetopt short option without following space
56 %% earlygetopt short option without following space
57 0:b6c483daf290
57 0:b6c483daf290
58 %% earlygetopt with illegal abbreviations
58 %% earlygetopt with illegal abbreviations
59 abort: Option --config may not be abbreviated!
59 abort: Option --config may not be abbreviated!
60 abort: Option --cwd may not be abbreviated!
60 abort: Option --cwd may not be abbreviated!
61 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
61 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
62 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
62 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
63 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
63 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
64 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
64 abort: Option -R has to be separated from other options (i.e. not -qR) and --repository may only be abbreviated as --repo!
65 %% --cwd
65 %% --cwd
66 changeset: 0:8580ff50825a
66 changeset: 0:8580ff50825a
67 tag: tip
67 tag: tip
68 user: test
68 user: test
69 date: Thu Jan 01 00:00:01 1970 +0000
69 date: Thu Jan 01 00:00:01 1970 +0000
70 summary: a
70 summary: a
71
71
72 %% -y/--noninteractive - just be sure it is parsed
72 %% -y/--noninteractive - just be sure it is parsed
73 0:8580ff50825a
73 0:8580ff50825a
74 0:8580ff50825a
74 0:8580ff50825a
75 %% -q/--quiet
75 %% -q/--quiet
76 0:8580ff50825a
76 0:8580ff50825a
77 0:b6c483daf290
77 0:b6c483daf290
78 0:8580ff50825a
78 0:8580ff50825a
79 1:b6c483daf290
79 1:b6c483daf290
80 %% -v/--verbose
80 %% -v/--verbose
81 changeset: 1:b6c483daf290
81 changeset: 1:b6c483daf290
82 tag: tip
82 tag: tip
83 parent: -1:000000000000
83 parent: -1:000000000000
84 user: test
84 user: test
85 date: Thu Jan 01 00:00:01 1970 +0000
85 date: Thu Jan 01 00:00:01 1970 +0000
86 files: b
86 files: b
87 description:
87 description:
88 b
88 b
89
89
90
90
91 changeset: 0:8580ff50825a
91 changeset: 0:8580ff50825a
92 user: test
92 user: test
93 date: Thu Jan 01 00:00:01 1970 +0000
93 date: Thu Jan 01 00:00:01 1970 +0000
94 files: a
94 files: a
95 description:
95 description:
96 a
96 a
97
97
98
98
99 changeset: 0:b6c483daf290
99 changeset: 0:b6c483daf290
100 tag: tip
100 tag: tip
101 user: test
101 user: test
102 date: Thu Jan 01 00:00:01 1970 +0000
102 date: Thu Jan 01 00:00:01 1970 +0000
103 files: b
103 files: b
104 description:
104 description:
105 b
105 b
106
106
107
107
108 %% --config
108 %% --config
109 quuxfoo
109 quuxfoo
110 abort: malformed --config option:
110 abort: malformed --config option:
111 abort: malformed --config option: a.b
111 abort: malformed --config option: a.b
112 abort: malformed --config option: a
112 abort: malformed --config option: a
113 abort: malformed --config option: a.=
113 abort: malformed --config option: a.=
114 abort: malformed --config option: .b=
114 abort: malformed --config option: .b=
115 %% --debug
115 %% --debug
116 changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a
116 changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a
117 tag: tip
117 tag: tip
118 parent: -1:0000000000000000000000000000000000000000
118 parent: -1:0000000000000000000000000000000000000000
119 parent: -1:0000000000000000000000000000000000000000
119 parent: -1:0000000000000000000000000000000000000000
120 manifest: 1:23226e7a252cacdc2d99e4fbdc3653441056de49
120 manifest: 1:23226e7a252cacdc2d99e4fbdc3653441056de49
121 user: test
121 user: test
122 date: Thu Jan 01 00:00:01 1970 +0000
122 date: Thu Jan 01 00:00:01 1970 +0000
123 files+: b
123 files+: b
124 extra: branch=default
124 extra: branch=default
125 description:
125 description:
126 b
126 b
127
127
128
128
129 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
129 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
130 parent: -1:0000000000000000000000000000000000000000
130 parent: -1:0000000000000000000000000000000000000000
131 parent: -1:0000000000000000000000000000000000000000
131 parent: -1:0000000000000000000000000000000000000000
132 manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
132 manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
133 user: test
133 user: test
134 date: Thu Jan 01 00:00:01 1970 +0000
134 date: Thu Jan 01 00:00:01 1970 +0000
135 files+: a
135 files+: a
136 extra: branch=default
136 extra: branch=default
137 description:
137 description:
138 a
138 a
139
139
140
140
141 %% --traceback
141 %% --traceback
142 Traceback (most recent call last):
142 Traceback (most recent call last):
143 %% --time
143 %% --time
144 Time: real x.x secs (user x.x+x.x sys x.x+x.x)
144 Time: real x.x secs (user x.x+x.x sys x.x+x.x)
145 %% --version
145 %% --version
146 Mercurial Distributed SCM (version xxx)
146 Mercurial Distributed SCM (version xxx)
147 %% -h/--help
147 %% -h/--help
148 Mercurial Distributed SCM
148 Mercurial Distributed SCM
149
149
150 list of commands:
150 list of commands:
151
151
152 add add the specified files on the next commit
152 add add the specified files on the next commit
153 addremove add all new files, delete all missing files
153 addremove add all new files, delete all missing files
154 annotate show changeset information per file line
154 annotate show changeset information per file line
155 archive create unversioned archive of a repository revision
155 archive create unversioned archive of a repository revision
156 backout reverse effect of earlier changeset
156 backout reverse effect of earlier changeset
157 bisect subdivision search of changesets
157 bisect subdivision search of changesets
158 branch set or show the current branch name
158 branch set or show the current branch name
159 branches list repository named branches
159 branches list repository named branches
160 bundle create a changegroup file
160 bundle create a changegroup file
161 cat output the current or given revision of files
161 cat output the current or given revision of files
162 clone make a copy of an existing repository
162 clone make a copy of an existing repository
163 commit commit the specified files or all outstanding changes
163 commit commit the specified files or all outstanding changes
164 copy mark files as copied for the next commit
164 copy mark files as copied for the next commit
165 diff diff repository (or selected files)
165 diff diff repository (or selected files)
166 export dump the header and diffs for one or more changesets
166 export dump the header and diffs for one or more changesets
167 grep search for a pattern in specified files and revisions
167 grep search for a pattern in specified files and revisions
168 heads show current repository heads or show branch heads
168 heads show current repository heads or show branch heads
169 help show help for a given topic or a help overview
169 help show help for a given topic or a help overview
170 identify identify the working copy or specified revision
170 identify identify the working copy or specified revision
171 import import an ordered set of patches
171 import import an ordered set of patches
172 incoming show new changesets found in source
172 incoming show new changesets found in source
173 init create a new repository in the given directory
173 init create a new repository in the given directory
174 locate locate files matching specific patterns
174 locate locate files matching specific patterns
175 log show revision history of entire repository or files
175 log show revision history of entire repository or files
176 manifest output the current or given revision of the project manifest
176 manifest output the current or given revision of the project manifest
177 merge merge working directory with another revision
177 merge merge working directory with another revision
178 outgoing show changesets not found in destination
178 outgoing show changesets not found in destination
179 parents show the parents of the working dir or revision
179 parents show the parents of the working dir or revision
180 paths show definition of symbolic path names
180 paths show aliases for remote repositories
181 pull pull changes from the specified source
181 pull pull changes from the specified source
182 push push changes to the specified destination
182 push push changes to the specified destination
183 recover roll back an interrupted transaction
183 recover roll back an interrupted transaction
184 remove remove the specified files on the next commit
184 remove remove the specified files on the next commit
185 rename rename files; equivalent of copy + remove
185 rename rename files; equivalent of copy + remove
186 resolve retry file merges from a merge or update
186 resolve retry file merges from a merge or update
187 revert restore individual files or dirs to an earlier state
187 revert restore individual files or dirs to an earlier state
188 rollback roll back the last transaction
188 rollback roll back the last transaction
189 root print the root (top) of the current working dir
189 root print the root (top) of the current working dir
190 serve export the repository via HTTP
190 serve export the repository via HTTP
191 showconfig show combined config settings from all hgrc files
191 showconfig show combined config settings from all hgrc files
192 status show changed files in the working directory
192 status show changed files in the working directory
193 tag add one or more tags for the current or given revision
193 tag add one or more tags for the current or given revision
194 tags list repository tags
194 tags list repository tags
195 tip show the tip revision
195 tip show the tip revision
196 unbundle apply one or more changegroup files
196 unbundle apply one or more changegroup files
197 update update working directory
197 update update working directory
198 verify verify the integrity of the repository
198 verify verify the integrity of the repository
199 version output version and copyright information
199 version output version and copyright information
200
200
201 additional help topics:
201 additional help topics:
202
202
203 dates Date Formats
203 dates Date Formats
204 patterns File Name Patterns
204 patterns File Name Patterns
205 environment Environment Variables
205 environment Environment Variables
206 revisions Specifying Single Revisions
206 revisions Specifying Single Revisions
207 multirevs Specifying Multiple Revisions
207 multirevs Specifying Multiple Revisions
208 diffs Diff Formats
208 diffs Diff Formats
209 templating Template Usage
209 templating Template Usage
210 urls Url Paths
210
211
211 use "hg -v help" to show aliases and global options
212 use "hg -v help" to show aliases and global options
212 Mercurial Distributed SCM
213 Mercurial Distributed SCM
213
214
214 list of commands:
215 list of commands:
215
216
216 add add the specified files on the next commit
217 add add the specified files on the next commit
217 addremove add all new files, delete all missing files
218 addremove add all new files, delete all missing files
218 annotate show changeset information per file line
219 annotate show changeset information per file line
219 archive create unversioned archive of a repository revision
220 archive create unversioned archive of a repository revision
220 backout reverse effect of earlier changeset
221 backout reverse effect of earlier changeset
221 bisect subdivision search of changesets
222 bisect subdivision search of changesets
222 branch set or show the current branch name
223 branch set or show the current branch name
223 branches list repository named branches
224 branches list repository named branches
224 bundle create a changegroup file
225 bundle create a changegroup file
225 cat output the current or given revision of files
226 cat output the current or given revision of files
226 clone make a copy of an existing repository
227 clone make a copy of an existing repository
227 commit commit the specified files or all outstanding changes
228 commit commit the specified files or all outstanding changes
228 copy mark files as copied for the next commit
229 copy mark files as copied for the next commit
229 diff diff repository (or selected files)
230 diff diff repository (or selected files)
230 export dump the header and diffs for one or more changesets
231 export dump the header and diffs for one or more changesets
231 grep search for a pattern in specified files and revisions
232 grep search for a pattern in specified files and revisions
232 heads show current repository heads or show branch heads
233 heads show current repository heads or show branch heads
233 help show help for a given topic or a help overview
234 help show help for a given topic or a help overview
234 identify identify the working copy or specified revision
235 identify identify the working copy or specified revision
235 import import an ordered set of patches
236 import import an ordered set of patches
236 incoming show new changesets found in source
237 incoming show new changesets found in source
237 init create a new repository in the given directory
238 init create a new repository in the given directory
238 locate locate files matching specific patterns
239 locate locate files matching specific patterns
239 log show revision history of entire repository or files
240 log show revision history of entire repository or files
240 manifest output the current or given revision of the project manifest
241 manifest output the current or given revision of the project manifest
241 merge merge working directory with another revision
242 merge merge working directory with another revision
242 outgoing show changesets not found in destination
243 outgoing show changesets not found in destination
243 parents show the parents of the working dir or revision
244 parents show the parents of the working dir or revision
244 paths show definition of symbolic path names
245 paths show aliases for remote repositories
245 pull pull changes from the specified source
246 pull pull changes from the specified source
246 push push changes to the specified destination
247 push push changes to the specified destination
247 recover roll back an interrupted transaction
248 recover roll back an interrupted transaction
248 remove remove the specified files on the next commit
249 remove remove the specified files on the next commit
249 rename rename files; equivalent of copy + remove
250 rename rename files; equivalent of copy + remove
250 resolve retry file merges from a merge or update
251 resolve retry file merges from a merge or update
251 revert restore individual files or dirs to an earlier state
252 revert restore individual files or dirs to an earlier state
252 rollback roll back the last transaction
253 rollback roll back the last transaction
253 root print the root (top) of the current working dir
254 root print the root (top) of the current working dir
254 serve export the repository via HTTP
255 serve export the repository via HTTP
255 showconfig show combined config settings from all hgrc files
256 showconfig show combined config settings from all hgrc files
256 status show changed files in the working directory
257 status show changed files in the working directory
257 tag add one or more tags for the current or given revision
258 tag add one or more tags for the current or given revision
258 tags list repository tags
259 tags list repository tags
259 tip show the tip revision
260 tip show the tip revision
260 unbundle apply one or more changegroup files
261 unbundle apply one or more changegroup files
261 update update working directory
262 update update working directory
262 verify verify the integrity of the repository
263 verify verify the integrity of the repository
263 version output version and copyright information
264 version output version and copyright information
264
265
265 additional help topics:
266 additional help topics:
266
267
267 dates Date Formats
268 dates Date Formats
268 patterns File Name Patterns
269 patterns File Name Patterns
269 environment Environment Variables
270 environment Environment Variables
270 revisions Specifying Single Revisions
271 revisions Specifying Single Revisions
271 multirevs Specifying Multiple Revisions
272 multirevs Specifying Multiple Revisions
272 diffs Diff Formats
273 diffs Diff Formats
273 templating Template Usage
274 templating Template Usage
275 urls Url Paths
274
276
275 use "hg -v help" to show aliases and global options
277 use "hg -v help" to show aliases and global options
276 %% not tested: --debugger
278 %% not tested: --debugger
@@ -1,338 +1,340 b''
1 Mercurial Distributed SCM
1 Mercurial Distributed SCM
2
2
3 basic commands:
3 basic commands:
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 repository (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 merge merge working directory with another revision
13 merge merge working directory with another revision
14 parents show the parents of the working dir or revision
14 parents show the parents of the working dir or revision
15 pull pull changes from the specified source
15 pull pull changes from the specified source
16 push push changes to the specified destination
16 push push changes to the specified destination
17 remove remove the specified files on the next commit
17 remove remove the specified files on the next commit
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 working directory
20 update update working directory
21
21
22 use "hg help" for the full list of commands or "hg -v" for details
22 use "hg help" for the full list of commands or "hg -v" for details
23 add add the specified files on the next commit
23 add add the specified files on the next commit
24 annotate show changeset information per file line
24 annotate show changeset information per file line
25 clone make a copy of an existing repository
25 clone make a copy of an existing repository
26 commit commit the specified files or all outstanding changes
26 commit commit the specified files or all outstanding changes
27 diff diff repository (or selected files)
27 diff diff repository (or selected files)
28 export dump the header and diffs for one or more changesets
28 export dump the header and diffs for one or more changesets
29 init create a new repository in the given directory
29 init create a new repository in the given directory
30 log show revision history of entire repository or files
30 log show revision history of entire repository or files
31 merge merge working directory with another revision
31 merge merge working directory with another revision
32 parents show the parents of the working dir or revision
32 parents show the parents of the working dir or revision
33 pull pull changes from the specified source
33 pull pull changes from the specified source
34 push push changes to the specified destination
34 push push changes to the specified destination
35 remove remove the specified files on the next commit
35 remove remove the specified files on the next commit
36 serve export the repository via HTTP
36 serve export the repository via HTTP
37 status show changed files in the working directory
37 status show changed files in the working directory
38 update update working directory
38 update update working directory
39 Mercurial Distributed SCM
39 Mercurial Distributed SCM
40
40
41 list of commands:
41 list of commands:
42
42
43 add add the specified files on the next commit
43 add add the specified files on the next commit
44 addremove add all new files, delete all missing files
44 addremove add all new files, delete all missing files
45 annotate show changeset information per file line
45 annotate show changeset information per file line
46 archive create unversioned archive of a repository revision
46 archive create unversioned archive of a repository revision
47 backout reverse effect of earlier changeset
47 backout reverse effect of earlier changeset
48 bisect subdivision search of changesets
48 bisect subdivision search of changesets
49 branch set or show the current branch name
49 branch set or show the current branch name
50 branches list repository named branches
50 branches list repository named branches
51 bundle create a changegroup file
51 bundle create a changegroup file
52 cat output the current or given revision of files
52 cat output the current or given revision of files
53 clone make a copy of an existing repository
53 clone make a copy of an existing repository
54 commit commit the specified files or all outstanding changes
54 commit commit the specified files or all outstanding changes
55 copy mark files as copied for the next commit
55 copy mark files as copied for the next commit
56 diff diff repository (or selected files)
56 diff diff repository (or selected files)
57 export dump the header and diffs for one or more changesets
57 export dump the header and diffs for one or more changesets
58 grep search for a pattern in specified files and revisions
58 grep search for a pattern in specified files and revisions
59 heads show current repository heads or show branch heads
59 heads show current repository heads or show branch heads
60 help show help for a given topic or a help overview
60 help show help for a given topic or a help overview
61 identify identify the working copy or specified revision
61 identify identify the working copy or specified revision
62 import import an ordered set of patches
62 import import an ordered set of patches
63 incoming show new changesets found in source
63 incoming show new changesets found in source
64 init create a new repository in the given directory
64 init create a new repository in the given directory
65 locate locate files matching specific patterns
65 locate locate files matching specific patterns
66 log show revision history of entire repository or files
66 log show revision history of entire repository or files
67 manifest output the current or given revision of the project manifest
67 manifest output the current or given revision of the project manifest
68 merge merge working directory with another revision
68 merge merge working directory with another revision
69 outgoing show changesets not found in destination
69 outgoing show changesets not found in destination
70 parents show the parents of the working dir or revision
70 parents show the parents of the working dir or revision
71 paths show definition of symbolic path names
71 paths show aliases for remote repositories
72 pull pull changes from the specified source
72 pull pull changes from the specified source
73 push push changes to the specified destination
73 push push changes to the specified destination
74 recover roll back an interrupted transaction
74 recover roll back an interrupted transaction
75 remove remove the specified files on the next commit
75 remove remove the specified files on the next commit
76 rename rename files; equivalent of copy + remove
76 rename rename files; equivalent of copy + remove
77 resolve retry file merges from a merge or update
77 resolve retry file merges from a merge or update
78 revert restore individual files or dirs to an earlier state
78 revert restore individual files or dirs to an earlier state
79 rollback roll back the last transaction
79 rollback roll back the last transaction
80 root print the root (top) of the current working dir
80 root print the root (top) of the current working dir
81 serve export the repository via HTTP
81 serve export the repository via HTTP
82 showconfig show combined config settings from all hgrc files
82 showconfig show combined config settings from all hgrc files
83 status show changed files in the working directory
83 status show changed files in the working directory
84 tag add one or more tags for the current or given revision
84 tag add one or more tags for the current or given revision
85 tags list repository tags
85 tags list repository tags
86 tip show the tip revision
86 tip show the tip revision
87 unbundle apply one or more changegroup files
87 unbundle apply one or more changegroup files
88 update update working directory
88 update update working directory
89 verify verify the integrity of the repository
89 verify verify the integrity of the repository
90 version output version and copyright information
90 version output version and copyright information
91
91
92 additional help topics:
92 additional help topics:
93
93
94 dates Date Formats
94 dates Date Formats
95 patterns File Name Patterns
95 patterns File Name Patterns
96 environment Environment Variables
96 environment Environment Variables
97 revisions Specifying Single Revisions
97 revisions Specifying Single Revisions
98 multirevs Specifying Multiple Revisions
98 multirevs Specifying Multiple Revisions
99 diffs Diff Formats
99 diffs Diff Formats
100 templating Template Usage
100 templating Template Usage
101 urls Url Paths
101
102
102 use "hg -v help" to show aliases and global options
103 use "hg -v help" to show aliases and global options
103 add add the specified files on the next commit
104 add add the specified files on the next commit
104 addremove add all new files, delete all missing files
105 addremove add all new files, delete all missing files
105 annotate show changeset information per file line
106 annotate show changeset information per file line
106 archive create unversioned archive of a repository revision
107 archive create unversioned archive of a repository revision
107 backout reverse effect of earlier changeset
108 backout reverse effect of earlier changeset
108 bisect subdivision search of changesets
109 bisect subdivision search of changesets
109 branch set or show the current branch name
110 branch set or show the current branch name
110 branches list repository named branches
111 branches list repository named branches
111 bundle create a changegroup file
112 bundle create a changegroup file
112 cat output the current or given revision of files
113 cat output the current or given revision of files
113 clone make a copy of an existing repository
114 clone make a copy of an existing repository
114 commit commit the specified files or all outstanding changes
115 commit commit the specified files or all outstanding changes
115 copy mark files as copied for the next commit
116 copy mark files as copied for the next commit
116 diff diff repository (or selected files)
117 diff diff repository (or selected files)
117 export dump the header and diffs for one or more changesets
118 export dump the header and diffs for one or more changesets
118 grep search for a pattern in specified files and revisions
119 grep search for a pattern in specified files and revisions
119 heads show current repository heads or show branch heads
120 heads show current repository heads or show branch heads
120 help show help for a given topic or a help overview
121 help show help for a given topic or a help overview
121 identify identify the working copy or specified revision
122 identify identify the working copy or specified revision
122 import import an ordered set of patches
123 import import an ordered set of patches
123 incoming show new changesets found in source
124 incoming show new changesets found in source
124 init create a new repository in the given directory
125 init create a new repository in the given directory
125 locate locate files matching specific patterns
126 locate locate files matching specific patterns
126 log show revision history of entire repository or files
127 log show revision history of entire repository or files
127 manifest output the current or given revision of the project manifest
128 manifest output the current or given revision of the project manifest
128 merge merge working directory with another revision
129 merge merge working directory with another revision
129 outgoing show changesets not found in destination
130 outgoing show changesets not found in destination
130 parents show the parents of the working dir or revision
131 parents show the parents of the working dir or revision
131 paths show definition of symbolic path names
132 paths show aliases for remote repositories
132 pull pull changes from the specified source
133 pull pull changes from the specified source
133 push push changes to the specified destination
134 push push changes to the specified destination
134 recover roll back an interrupted transaction
135 recover roll back an interrupted transaction
135 remove remove the specified files on the next commit
136 remove remove the specified files on the next commit
136 rename rename files; equivalent of copy + remove
137 rename rename files; equivalent of copy + remove
137 resolve retry file merges from a merge or update
138 resolve retry file merges from a merge or update
138 revert restore individual files or dirs to an earlier state
139 revert restore individual files or dirs to an earlier state
139 rollback roll back the last transaction
140 rollback roll back the last transaction
140 root print the root (top) of the current working dir
141 root print the root (top) of the current working dir
141 serve export the repository via HTTP
142 serve export the repository via HTTP
142 showconfig show combined config settings from all hgrc files
143 showconfig show combined config settings from all hgrc files
143 status show changed files in the working directory
144 status show changed files in the working directory
144 tag add one or more tags for the current or given revision
145 tag add one or more tags for the current or given revision
145 tags list repository tags
146 tags list repository tags
146 tip show the tip revision
147 tip show the tip revision
147 unbundle apply one or more changegroup files
148 unbundle apply one or more changegroup files
148 update update working directory
149 update update working directory
149 verify verify the integrity of the repository
150 verify verify the integrity of the repository
150 version output version and copyright information
151 version output version and copyright information
151
152
152 additional help topics:
153 additional help topics:
153
154
154 dates Date Formats
155 dates Date Formats
155 patterns File Name Patterns
156 patterns File Name Patterns
156 environment Environment Variables
157 environment Environment Variables
157 revisions Specifying Single Revisions
158 revisions Specifying Single Revisions
158 multirevs Specifying Multiple Revisions
159 multirevs Specifying Multiple Revisions
159 diffs Diff Formats
160 diffs Diff Formats
160 templating Template Usage
161 templating Template Usage
162 urls Url Paths
161 hg add [OPTION]... [FILE]...
163 hg add [OPTION]... [FILE]...
162
164
163 add the specified files on the next commit
165 add the specified files on the next commit
164
166
165 Schedule files to be version controlled and added to the repository.
167 Schedule files to be version controlled and added to the repository.
166
168
167 The files will be added to the repository at the next commit. To
169 The files will be added to the repository at the next commit. To
168 undo an add before that, see hg revert.
170 undo an add before that, see hg revert.
169
171
170 If no names are given, add all files in the repository.
172 If no names are given, add all files in the repository.
171
173
172 options:
174 options:
173
175
174 -I --include include names matching the given patterns
176 -I --include include names matching the given patterns
175 -X --exclude exclude names matching the given patterns
177 -X --exclude exclude names matching the given patterns
176 -n --dry-run do not perform actions, just print output
178 -n --dry-run do not perform actions, just print output
177
179
178 use "hg -v help add" to show global options
180 use "hg -v help add" to show global options
179 hg add: option --skjdfks not recognized
181 hg add: option --skjdfks not recognized
180 hg add [OPTION]... [FILE]...
182 hg add [OPTION]... [FILE]...
181
183
182 add the specified files on the next commit
184 add the specified files on the next commit
183
185
184 Schedule files to be version controlled and added to the repository.
186 Schedule files to be version controlled and added to the repository.
185
187
186 The files will be added to the repository at the next commit. To
188 The files will be added to the repository at the next commit. To
187 undo an add before that, see hg revert.
189 undo an add before that, see hg revert.
188
190
189 If no names are given, add all files in the repository.
191 If no names are given, add all files in the repository.
190
192
191 options:
193 options:
192
194
193 -I --include include names matching the given patterns
195 -I --include include names matching the given patterns
194 -X --exclude exclude names matching the given patterns
196 -X --exclude exclude names matching the given patterns
195 -n --dry-run do not perform actions, just print output
197 -n --dry-run do not perform actions, just print output
196
198
197 use "hg -v help add" to show global options
199 use "hg -v help add" to show global options
198 hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]...
200 hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]...
199
201
200 diff repository (or selected files)
202 diff repository (or selected files)
201
203
202 Show differences between revisions for the specified files.
204 Show differences between revisions for the specified files.
203
205
204 Differences between files are shown using the unified diff format.
206 Differences between files are shown using the unified diff format.
205
207
206 NOTE: diff may generate unexpected results for merges, as it will
208 NOTE: diff may generate unexpected results for merges, as it will
207 default to comparing against the working directory's first parent
209 default to comparing against the working directory's first parent
208 changeset if no revisions are specified.
210 changeset if no revisions are specified.
209
211
210 When two revision arguments are given, then changes are shown
212 When two revision arguments are given, then changes are shown
211 between those revisions. If only one revision is specified then
213 between those revisions. If only one revision is specified then
212 that revision is compared to the working directory, and, when no
214 that revision is compared to the working directory, and, when no
213 revisions are specified, the working directory files are compared
215 revisions are specified, the working directory files are compared
214 to its parent.
216 to its parent.
215
217
216 Without the -a option, diff will avoid generating diffs of files
218 Without the -a option, diff will avoid generating diffs of files
217 it detects as binary. With -a, diff will generate a diff anyway,
219 it detects as binary. With -a, diff will generate a diff anyway,
218 probably with undesirable results.
220 probably with undesirable results.
219
221
220 Use the --git option to generate diffs in the git extended diff
222 Use the --git option to generate diffs in the git extended diff
221 format. Read the diffs help topic for more information.
223 format. Read the diffs help topic for more information.
222
224
223 options:
225 options:
224
226
225 -r --rev revision
227 -r --rev revision
226 -c --change change made by revision
228 -c --change change made by revision
227 -a --text treat all files as text
229 -a --text treat all files as text
228 -g --git use git extended diff format
230 -g --git use git extended diff format
229 --nodates don't include dates in diff headers
231 --nodates don't include dates in diff headers
230 -p --show-function show which function each change is in
232 -p --show-function show which function each change is in
231 -w --ignore-all-space ignore white space when comparing lines
233 -w --ignore-all-space ignore white space when comparing lines
232 -b --ignore-space-change ignore changes in the amount of white space
234 -b --ignore-space-change ignore changes in the amount of white space
233 -B --ignore-blank-lines ignore changes whose lines are all blank
235 -B --ignore-blank-lines ignore changes whose lines are all blank
234 -U --unified number of lines of context to show
236 -U --unified number of lines of context to show
235 -I --include include names matching the given patterns
237 -I --include include names matching the given patterns
236 -X --exclude exclude names matching the given patterns
238 -X --exclude exclude names matching the given patterns
237
239
238 use "hg -v help diff" to show global options
240 use "hg -v help diff" to show global options
239 hg status [OPTION]... [FILE]...
241 hg status [OPTION]... [FILE]...
240
242
241 aliases: st
243 aliases: st
242
244
243 show changed files in the working directory
245 show changed files in the working directory
244
246
245 Show status of files in the repository. If names are given, only
247 Show status of files in the repository. If names are given, only
246 files that match are shown. Files that are clean or ignored or
248 files that match are shown. Files that are clean or ignored or
247 source of a copy/move operation, are not listed unless -c (clean),
249 source of a copy/move operation, are not listed unless -c (clean),
248 -i (ignored), -C (copies) or -A is given. Unless options described
250 -i (ignored), -C (copies) or -A is given. Unless options described
249 with "show only ..." are given, the options -mardu are used.
251 with "show only ..." are given, the options -mardu are used.
250
252
251 Option -q/--quiet hides untracked (unknown and ignored) files
253 Option -q/--quiet hides untracked (unknown and ignored) files
252 unless explicitly requested with -u/--unknown or -i/-ignored.
254 unless explicitly requested with -u/--unknown or -i/-ignored.
253
255
254 NOTE: status may appear to disagree with diff if permissions have
256 NOTE: status may appear to disagree with diff if permissions have
255 changed or a merge has occurred. The standard diff format does not
257 changed or a merge has occurred. The standard diff format does not
256 report permission changes and diff only reports changes relative
258 report permission changes and diff only reports changes relative
257 to one merge parent.
259 to one merge parent.
258
260
259 If one revision is given, it is used as the base revision.
261 If one revision is given, it is used as the base revision.
260 If two revisions are given, the difference between them is shown.
262 If two revisions are given, the difference between them is shown.
261
263
262 The codes used to show the status of files are:
264 The codes used to show the status of files are:
263 M = modified
265 M = modified
264 A = added
266 A = added
265 R = removed
267 R = removed
266 C = clean
268 C = clean
267 ! = deleted, but still tracked
269 ! = deleted, but still tracked
268 ? = not tracked
270 ? = not tracked
269 I = ignored
271 I = ignored
270 = the previous added file was copied from here
272 = the previous added file was copied from here
271
273
272 options:
274 options:
273
275
274 -A --all show status of all files
276 -A --all show status of all files
275 -m --modified show only modified files
277 -m --modified show only modified files
276 -a --added show only added files
278 -a --added show only added files
277 -r --removed show only removed files
279 -r --removed show only removed files
278 -d --deleted show only deleted (but tracked) files
280 -d --deleted show only deleted (but tracked) files
279 -c --clean show only files without changes
281 -c --clean show only files without changes
280 -u --unknown show only unknown (not tracked) files
282 -u --unknown show only unknown (not tracked) files
281 -i --ignored show only ignored files
283 -i --ignored show only ignored files
282 -n --no-status hide status prefix
284 -n --no-status hide status prefix
283 -C --copies show source of copied files
285 -C --copies show source of copied files
284 -0 --print0 end filenames with NUL, for use with xargs
286 -0 --print0 end filenames with NUL, for use with xargs
285 --rev show difference from revision
287 --rev show difference from revision
286 -I --include include names matching the given patterns
288 -I --include include names matching the given patterns
287 -X --exclude exclude names matching the given patterns
289 -X --exclude exclude names matching the given patterns
288
290
289 use "hg -v help status" to show global options
291 use "hg -v help status" to show global options
290 hg status [OPTION]... [FILE]...
292 hg status [OPTION]... [FILE]...
291
293
292 show changed files in the working directory
294 show changed files in the working directory
293 hg: unknown command 'foo'
295 hg: unknown command 'foo'
294 Mercurial Distributed SCM
296 Mercurial Distributed SCM
295
297
296 basic commands:
298 basic commands:
297
299
298 add add the specified files on the next commit
300 add add the specified files on the next commit
299 annotate show changeset information per file line
301 annotate show changeset information per file line
300 clone make a copy of an existing repository
302 clone make a copy of an existing repository
301 commit commit the specified files or all outstanding changes
303 commit commit the specified files or all outstanding changes
302 diff diff repository (or selected files)
304 diff diff repository (or selected files)
303 export dump the header and diffs for one or more changesets
305 export dump the header and diffs for one or more changesets
304 init create a new repository in the given directory
306 init create a new repository in the given directory
305 log show revision history of entire repository or files
307 log show revision history of entire repository or files
306 merge merge working directory with another revision
308 merge merge working directory with another revision
307 parents show the parents of the working dir or revision
309 parents show the parents of the working dir or revision
308 pull pull changes from the specified source
310 pull pull changes from the specified source
309 push push changes to the specified destination
311 push push changes to the specified destination
310 remove remove the specified files on the next commit
312 remove remove the specified files on the next commit
311 serve export the repository via HTTP
313 serve export the repository via HTTP
312 status show changed files in the working directory
314 status show changed files in the working directory
313 update update working directory
315 update update working directory
314
316
315 use "hg help" for the full list of commands or "hg -v" for details
317 use "hg help" for the full list of commands or "hg -v" for details
316 hg: unknown command 'skjdfks'
318 hg: unknown command 'skjdfks'
317 Mercurial Distributed SCM
319 Mercurial Distributed SCM
318
320
319 basic commands:
321 basic commands:
320
322
321 add add the specified files on the next commit
323 add add the specified files on the next commit
322 annotate show changeset information per file line
324 annotate show changeset information per file line
323 clone make a copy of an existing repository
325 clone make a copy of an existing repository
324 commit commit the specified files or all outstanding changes
326 commit commit the specified files or all outstanding changes
325 diff diff repository (or selected files)
327 diff diff repository (or selected files)
326 export dump the header and diffs for one or more changesets
328 export dump the header and diffs for one or more changesets
327 init create a new repository in the given directory
329 init create a new repository in the given directory
328 log show revision history of entire repository or files
330 log show revision history of entire repository or files
329 merge merge working directory with another revision
331 merge merge working directory with another revision
330 parents show the parents of the working dir or revision
332 parents show the parents of the working dir or revision
331 pull pull changes from the specified source
333 pull pull changes from the specified source
332 push push changes to the specified destination
334 push push changes to the specified destination
333 remove remove the specified files on the next commit
335 remove remove the specified files on the next commit
334 serve export the repository via HTTP
336 serve export the repository via HTTP
335 status show changed files in the working directory
337 status show changed files in the working directory
336 update update working directory
338 update update working directory
337
339
338 use "hg help" for the full list of commands or "hg -v" for details
340 use "hg help" for the full list of commands or "hg -v" for details
General Comments 0
You need to be logged in to leave comments. Login now