##// END OF EJS Templates
help: add "glossary" topic...
Faheem Mitha -
r11356:51144584 default
parent child Browse files
Show More
@@ -0,0 +1,357
1 Ancestor
2 Any changeset that can be reached by an unbroken chain of parent
3 changesets from a given changeset. More precisely, the ancestors
4 of a changeset can be defined by two properties: a parent of a
5 changeset is an ancestor, and a parent of an ancestor is an
6 ancestor. See also: 'Descendant'.
7
8 Branch
9 (Noun) A child changeset that has been created from a parent that
10 is not a head. These are known as topological branches, see
11 'Branch, topological'.If a topological branch is named, it becomes
12 a named branch. If a topological branch is not named, it becomes
13 an anonymous branch. See 'Branch, anonymous' and 'Branch, named'.
14
15 Branches may be created when changes are pulled from or pushed to
16 a remote repository, since new heads may be created by these
17 operations. Note that the term branch can also be used informally
18 to describe a development process in which certain development is
19 done independently of other development.This is sometimes done
20 explicitly with a named branch, but it can also be done locally,
21 using bookmarks or clones and anonymous branches.
22
23 Example: "The experimental branch".
24
25 (Verb) The action of creating a child changeset which results in
26 its parent having more than one child.
27
28 Example: "I'm going to branch at X".
29
30 Branch, anonymous
31 Every time a new child changeset is created from a parent that is not
32 a head and the name of the branch is not changed, a new anonymous
33 branch is created.
34
35 Branch, closed
36 A named branch whose branch heads have all been closed.
37
38 Branch, default
39 The branch assigned to a changeset when no name has previously been
40 assigned.
41
42 Branch head
43 See 'Head, branch'.
44
45 Branch, named
46 A collection of changesets which have the same branch name. By
47 default, children of a changeset in a named branch belong to the
48 same named branch. A child can be explicitly assigned to a
49 different branch. See :hg:`help branch`, :hg:`help branches` and
50 :hg:`commit --close-branch` for more information on managing
51 branches.
52
53 Named branches can be thought of as a kind of namespace, dividing
54 the collection of changesets that comprise the repository into a
55 collection of disjoint subsets. A named branch is not necessarily
56 a topological branch. If a new named branch is created from the
57 head of another named branch, or the default branch, but no
58 further changesets are added to that previous branch, then the new
59 named branch will be a branch in name only.
60
61 Branch tip
62 See 'Tip, branch'.
63
64 Branch, topological
65 Every time a new child changeset is created from a parent that is
66 not a head, a new topological branch is created. If a topological
67 branch is named, it becomes a named branch. If a topological
68 branch is not named, it becomes an anonymous branch of the
69 current, possibly default, branch.
70
71 Changelog
72 A record of the changesets in the order in which they were added
73 to the repository. This includes details such as changeset id,
74 author, commit message, date, and list of changed files.
75
76 Changeset
77 A snapshot of the state of the repository used to record a change.
78
79 Changeset, child
80 The converse of parent changeset: if P is a parent of C, then C is
81 a child of P. There is no limit to the number of children that a
82 changeset may have.
83
84 Changeset id
85 A SHA-1 hash that uniquely identifies a changeset. It may be
86 represented as either a "long" 40-byte hexadecimal string, or a
87 "short" 12-byte hexadecimal string.
88
89 Changeset, merge
90 A changeset with two parents. This occurs when a merge is
91 committed.
92
93 Changeset, parent
94 A revision upon which a child changeset is based. Specifically, a
95 parent changeset of a changeset C is a changeset whose node
96 immediately precedes C in the DAG. Changesets have at most two
97 parents.
98
99 Checkout
100 (Noun) The working directory being updated to a specific
101 revision. This use should probably be avoided where possible, as
102 changeset is much more appropriate than checkout in this context.
103
104 Example: "I'm using checkout X."
105
106 (Verb) Updating the working directory to a specific changeset. See
107 :hg:`help update`.
108
109 Example: "I'm going to check out changeset X."
110
111 Child changeset
112 See 'Changeset, child'.
113
114 Close changeset
115 See 'Changeset, close'.
116
117 Closed branch
118 See 'Branch, closed'.
119
120 Clone
121 (Noun) An entire or partial copy of a repository. The partial
122 clone must be in the form of a revision and its ancestors.
123
124 Example: "Is your clone up to date?".
125
126 (Verb) The process of creating a clone, using :hg:`clone`.
127
128 Example: "I'm going to clone the repository".
129
130 Closed branch head
131 See 'Head, closed branch'.
132
133 Commit
134 (Noun) A synonym for changeset.
135
136 Example: "Is the bug fixed in your recent commit?"
137
138 (Verb) The act of recording changes to a repository. When files
139 are committed in a working directory, Mercurial finds the
140 differences between the committed files and their parent
141 changeset, creating a new changeset in the repository.
142
143 Example: "You should commit those changes now."
144
145 Cset
146 A common abbreviation of the term changeset.
147
148 DAG
149 The repository of changesets of a distributed version control
150 system (DVCS) can be described as a directed acyclic graph (DAG),
151 consisting of nodes and edges, where nodes correspond to
152 changesets and edges imply a parent -> child relation. This graph
153 can be visualized by graphical tools such as :hg:`glog`
154 (graphlog). In mercurial, the DAG is limited by the requirement
155 for children to have at most two parents.
156
157 Default branch
158 See 'Branch, default'.
159
160 Descendant
161 Any changeset that can be reached by a chain of child changesets
162 from a given changeset. More precisely, the descendants of a
163 changeset can be defined by two properties: the child of a
164 changeset is a descendant, and the child of a descendant is a
165 descendant. See also: 'Ancestor'.
166
167 Diff
168 (Noun) The difference between the contents and attributes of files
169 in two changesets or a changeset and the current working
170 directory. The difference is usually represented in a standard
171 form called a "diff" or "patch". The "git diff" format is used
172 when the changes include copies, renames, or changes to file
173 attributes, none of which can be represented/handled by classic
174 "diff" and "patch".
175
176 Example: "Did you see my correction in the diff?"
177
178 (Verb) Diffing two changesets is the action of creating a diff or
179 patch.
180
181 Example: "If you diff with changeset X, you will see what I mean."
182
183 Directory, working
184 The working directory represents the state of the files tracked by
185 Mercurial, that will be recorded in the next commit. The working
186 directory initially corresponds to the snapshot at an existing
187 changeset, known as the parent of the working directory. See
188 'Parents, working directory'. The state may be modified by changes
189 to the files introduced manually or by a merge. The repository
190 metadata exists in the .hg directory inside the working directory.
191
192 Graph
193 See DAG and :hg:`help graphlog`.
194
195 Head
196 The term 'head' may be used to refer to both a branch head or a
197 repository head, depending on the context. See 'Head, branch' and
198 'Head, repository' for specific definitions.
199
200 Heads are where development generally takes place and are the
201 usual targets for update and merge operations.
202
203 Head, branch
204 A changeset with no descendants on the same named branch.
205
206 Head, closed branch
207 A changeset that marks a head as no longer interesting. The closed
208 head is no longer listed by :hg:`heads`. A branch is considered
209 closed when all its heads are closed and consequently is not
210 listed by :hg:`branches`.
211
212 Head, repository
213 A topological head which has not been closed.
214
215 Head, topological
216 A changeset with no children in the repository.
217
218 History, immutable
219 Once committed, changesets cannot be altered. Extensions which
220 appear to change history actually create new changesets that
221 replace existing ones, and then destroy the old changesets. Doing
222 so in public repositories can result in old changesets being
223 reintroduced to the repository.
224
225 History, rewriting
226 The changesets in a repository are immutable. However, extensions
227 to Mercurial can be used to alter the repository, usually in such
228 a way as to preserve changeset contents.
229
230 Immutable history
231 See 'History, immutable'.
232
233 Merge changeset
234 See 'Changeset, merge'.
235
236 Manifest
237 Each changeset has a manifest, which is the list of files that are
238 tracked by the changeset.
239
240 Merge
241 Used to bring together divergent branches of work. When you update
242 to a changeset and then merge another changeset, you bring the
243 history of the latter changeset into your working directory. Once
244 conflicts are resolved (and marked), this merge may be committed
245 as a merge changeset, bringing two branches together in the DAG.
246
247 Named branch
248 See 'Branch, named'.
249
250 Null changeset
251 The empty changeset. It is the parent state of newly-initialized
252 repositories and repositories with no checked out revision. It is
253 thus the parent of root changesets and the effective ancestor when
254 merging unrelated changesets. Can be specified by the alias 'null'
255 or by the changeset ID '000000000000'.
256
257 Parent
258 See 'Changeset, parent'.
259
260 Parent changeset
261 See 'Changeset, parent'.
262
263 Parent, working directory
264 The working directory parent reflects a virtual revision which is
265 the child of the changeset (or two changesets with an uncommitted
266 merge) shown by :hg:`parents`. This is changed with
267 :hg:`update`. Other commands to see the working directory parent
268 are :hg:`summary` and :hg:`id`. Can be specified by the alias ".".
269
270 Patch
271 (Noun) The product of a diff operation.
272
273 Example: "I've sent you my patch."
274
275 (Verb) The process of using a patch file to transform one
276 changeset into another.
277
278 Example: "You will need to patch that revision."
279
280 Pull
281 An operation in which changesets in a remote repository which are
282 not in the local repository are brought into the local
283 repository. Note that this operation without special arguments
284 only updates the repository, it does not update the files in the
285 working directory. See :hg:`help pull`.
286
287 Push
288 An operation in which changesets in a local repository which are
289 not in a remote repository are sent to the remote repository. Note
290 that this operation only adds changesets which have been committed
291 locally to the remote repository. Uncommitted changes are not
292 sent. See :hg:`help push`.
293
294 Repository
295 The metadata describing all recorded states of a collection of
296 files. Each recorded state is represented by a changeset. A
297 repository is usually (but not always) found in the ``.hg``
298 subdirectory of a working directory. Any recorded state can be
299 recreated by "updating" a working directory to a specific
300 changeset.
301
302 Repository head
303 See 'Head, repository'.
304
305 Revision
306 A state of the repository at some point in time. Earlier revisions
307 can be updated to by using :hg:`update`. See also 'Revision
308 number'; See also 'Changeset'.
309
310 Revision number
311 This integer uniquely identifies a changeset in a specific
312 repository. It represents the order in which changesets were added
313 to a repository, starting with revision number 0. Note that the
314 revision number may be different in each clone of a repository. To
315 identify changesets uniquely between different clones, see
316 'Changeset id'.
317
318 Revlog
319 History storage mechanism used by Mercurial. It is a form of delta
320 encoding, with occasional full revision of data followed by delta
321 of each successive revision. It includes data and an index
322 pointing to the data.
323
324 Rewriting history
325 See 'History, rewriting'.
326
327 Root
328 A changeset that has only the null changeset as its parent. Most
329 repositories have only a single root changeset.
330
331 Tip
332 The changeset with the highest revision number. It is the changeset
333 most recently added in a repository.
334
335 Tip, branch
336 The head of a given branch with the highest revision number. When
337 a branch name is used as a revision identifier, it refers to the
338 branch tip. See also 'Branch, head'. Note that because revision
339 numbers may be different in different repository clones, the
340 branch tip may be different in different cloned repositories.
341
342 Update
343 (Noun) Another synonym of changeset.
344
345 Example: "I've pushed an update".
346
347 (Verb) This term is usually used to describe updating the state of
348 the working directory to that of a specific changeset. See
349 :hg:`help update`.
350
351 Example: "You should update".
352
353 Working directory
354 See 'Directory, working'.
355
356 Working directory parent
357 See 'Parent, working directory'.
@@ -1,101 +1,102
1 # help.py - help data for mercurial
1 # help.py - help data for mercurial
2 #
2 #
3 # Copyright 2006 Matt Mackall <mpm@selenic.com>
3 # Copyright 2006 Matt Mackall <mpm@selenic.com>
4 #
4 #
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 from i18n import gettext, _
8 from i18n import gettext, _
9 import sys, os
9 import sys, os
10 import extensions
10 import extensions
11
11
12
12
13 def moduledoc(file):
13 def moduledoc(file):
14 '''return the top-level python documentation for the given file
14 '''return the top-level python documentation for the given file
15
15
16 Loosely inspired by pydoc.source_synopsis(), but rewritten to
16 Loosely inspired by pydoc.source_synopsis(), but rewritten to
17 handle triple quotes and to return the whole text instead of just
17 handle triple quotes and to return the whole text instead of just
18 the synopsis'''
18 the synopsis'''
19 result = []
19 result = []
20
20
21 line = file.readline()
21 line = file.readline()
22 while line[:1] == '#' or not line.strip():
22 while line[:1] == '#' or not line.strip():
23 line = file.readline()
23 line = file.readline()
24 if not line:
24 if not line:
25 break
25 break
26
26
27 start = line[:3]
27 start = line[:3]
28 if start == '"""' or start == "'''":
28 if start == '"""' or start == "'''":
29 line = line[3:]
29 line = line[3:]
30 while line:
30 while line:
31 if line.rstrip().endswith(start):
31 if line.rstrip().endswith(start):
32 line = line.split(start)[0]
32 line = line.split(start)[0]
33 if line:
33 if line:
34 result.append(line)
34 result.append(line)
35 break
35 break
36 elif not line:
36 elif not line:
37 return None # unmatched delimiter
37 return None # unmatched delimiter
38 result.append(line)
38 result.append(line)
39 line = file.readline()
39 line = file.readline()
40 else:
40 else:
41 return None
41 return None
42
42
43 return ''.join(result)
43 return ''.join(result)
44
44
45 def listexts(header, exts, maxlength, indent=1):
45 def listexts(header, exts, maxlength, indent=1):
46 '''return a text listing of the given extensions'''
46 '''return a text listing of the given extensions'''
47 if not exts:
47 if not exts:
48 return ''
48 return ''
49 result = '\n%s\n\n' % header
49 result = '\n%s\n\n' % header
50 for name, desc in sorted(exts.iteritems()):
50 for name, desc in sorted(exts.iteritems()):
51 result += '%s%-*s %s\n' % (' ' * indent, maxlength + 2,
51 result += '%s%-*s %s\n' % (' ' * indent, maxlength + 2,
52 ':%s:' % name, desc)
52 ':%s:' % name, desc)
53 return result
53 return result
54
54
55 def extshelp():
55 def extshelp():
56 doc = loaddoc('extensions')()
56 doc = loaddoc('extensions')()
57
57
58 exts, maxlength = extensions.enabled()
58 exts, maxlength = extensions.enabled()
59 doc += listexts(_('enabled extensions:'), exts, maxlength)
59 doc += listexts(_('enabled extensions:'), exts, maxlength)
60
60
61 exts, maxlength = extensions.disabled()
61 exts, maxlength = extensions.disabled()
62 doc += listexts(_('disabled extensions:'), exts, maxlength)
62 doc += listexts(_('disabled extensions:'), exts, maxlength)
63
63
64 return doc
64 return doc
65
65
66 def loaddoc(topic):
66 def loaddoc(topic):
67 """Return a delayed loader for help/topic.txt."""
67 """Return a delayed loader for help/topic.txt."""
68
68
69 def loader():
69 def loader():
70 if hasattr(sys, 'frozen'):
70 if hasattr(sys, 'frozen'):
71 module = sys.executable
71 module = sys.executable
72 else:
72 else:
73 module = __file__
73 module = __file__
74 base = os.path.dirname(module)
74 base = os.path.dirname(module)
75
75
76 for dir in ('.', '..'):
76 for dir in ('.', '..'):
77 docdir = os.path.join(base, dir, 'help')
77 docdir = os.path.join(base, dir, 'help')
78 if os.path.isdir(docdir):
78 if os.path.isdir(docdir):
79 break
79 break
80
80
81 path = os.path.join(docdir, topic + ".txt")
81 path = os.path.join(docdir, topic + ".txt")
82 return gettext(open(path).read())
82 return gettext(open(path).read())
83 return loader
83 return loader
84
84
85 helptable = (
85 helptable = (
86 (["config"], _("Configuration Files"), loaddoc('config')),
86 (["config"], _("Configuration Files"), loaddoc('config')),
87 (["dates"], _("Date Formats"), loaddoc('dates')),
87 (["dates"], _("Date Formats"), loaddoc('dates')),
88 (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
88 (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
89 (['environment', 'env'], _('Environment Variables'),
89 (['environment', 'env'], _('Environment Variables'),
90 loaddoc('environment')),
90 loaddoc('environment')),
91 (['revs', 'revisions'], _('Specifying Single Revisions'),
91 (['revs', 'revisions'], _('Specifying Single Revisions'),
92 loaddoc('revisions')),
92 loaddoc('revisions')),
93 (['mrevs', 'multirevs'], _('Specifying Multiple Revisions'),
93 (['mrevs', 'multirevs'], _('Specifying Multiple Revisions'),
94 loaddoc('multirevs')),
94 loaddoc('multirevs')),
95 (['diffs'], _('Diff Formats'), loaddoc('diffs')),
95 (['diffs'], _('Diff Formats'), loaddoc('diffs')),
96 (['templating', 'templates'], _('Template Usage'),
96 (['templating', 'templates'], _('Template Usage'),
97 loaddoc('templates')),
97 loaddoc('templates')),
98 (['urls'], _('URL Paths'), loaddoc('urls')),
98 (['urls'], _('URL Paths'), loaddoc('urls')),
99 (["extensions"], _("Using additional features"), extshelp),
99 (["extensions"], _("Using additional features"), extshelp),
100 (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
100 (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')),
101 (["glossary"], _("Glossary"), loaddoc('glossary')),
101 )
102 )
@@ -1,288 +1,290
1 adding a
1 adding a
2 adding b
2 adding b
3 updating to branch default
3 updating to branch default
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 (e.g. not -qR) and --repository may only be abbreviated as --repo!
61 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
62 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
62 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
63 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
63 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
64 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
64 abort: Option -R has to be separated from other options (e.g. 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: '' (use --config section.name=value)
110 abort: malformed --config option: '' (use --config section.name=value)
111 abort: malformed --config option: 'a.b' (use --config section.name=value)
111 abort: malformed --config option: 'a.b' (use --config section.name=value)
112 abort: malformed --config option: 'a' (use --config section.name=value)
112 abort: malformed --config option: 'a' (use --config section.name=value)
113 abort: malformed --config option: 'a.=' (use --config section.name=value)
113 abort: malformed --config option: 'a.=' (use --config section.name=value)
114 abort: malformed --config option: '.b=' (use --config section.name=value)
114 abort: malformed --config option: '.b=' (use --config section.name=value)
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 by line for each file
154 annotate show changeset information by line for each file
155 archive create an unversioned archive of a repository revision
155 archive create an 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 forget forget the specified files on the next commit
167 forget forget the specified files on the next commit
168 grep search for a pattern in specified files and revisions
168 grep search for a pattern in specified files and revisions
169 heads show current repository heads or show branch heads
169 heads show current repository heads or show branch heads
170 help show help for a given topic or a help overview
170 help show help for a given topic or a help overview
171 identify identify the working copy or specified revision
171 identify identify the working copy or specified revision
172 import import an ordered set of patches
172 import import an ordered set of patches
173 incoming show new changesets found in source
173 incoming show new changesets found in source
174 init create a new repository in the given directory
174 init create a new repository in the given directory
175 locate locate files matching specific patterns
175 locate locate files matching specific patterns
176 log show revision history of entire repository or files
176 log show revision history of entire repository or files
177 manifest output the current or given revision of the project manifest
177 manifest output the current or given revision of the project manifest
178 merge merge working directory with another revision
178 merge merge working directory with another revision
179 outgoing show changesets not found in the destination
179 outgoing show changesets not found in the destination
180 parents show the parents of the working directory or revision
180 parents show the parents of the working directory or revision
181 paths show aliases for remote repositories
181 paths show aliases for remote repositories
182 pull pull changes from the specified source
182 pull pull changes from the specified source
183 push push changes to the specified destination
183 push push changes to the specified destination
184 recover roll back an interrupted transaction
184 recover roll back an interrupted transaction
185 remove remove the specified files on the next commit
185 remove remove the specified files on the next commit
186 rename rename files; equivalent of copy + remove
186 rename rename files; equivalent of copy + remove
187 resolve various operations to help finish a merge
187 resolve various operations to help finish a merge
188 revert restore individual files or directories to an earlier state
188 revert restore individual files or directories to an earlier state
189 rollback roll back the last transaction (dangerous)
189 rollback roll back the last transaction (dangerous)
190 root print the root (top) of the current working directory
190 root print the root (top) of the current working directory
191 serve start stand-alone webserver
191 serve start stand-alone webserver
192 showconfig show combined config settings from all hgrc files
192 showconfig show combined config settings from all hgrc files
193 status show changed files in the working directory
193 status show changed files in the working directory
194 summary summarize working directory state
194 summary summarize working directory state
195 tag add one or more tags for the current or given revision
195 tag add one or more tags for the current or given revision
196 tags list repository tags
196 tags list repository tags
197 tip show the tip revision
197 tip show the tip revision
198 unbundle apply one or more changegroup files
198 unbundle apply one or more changegroup files
199 update update working directory (or switch revisions)
199 update update working directory (or switch revisions)
200 verify verify the integrity of the repository
200 verify verify the integrity of the repository
201 version output version and copyright information
201 version output version and copyright information
202
202
203 additional help topics:
203 additional help topics:
204
204
205 config Configuration Files
205 config Configuration Files
206 dates Date Formats
206 dates Date Formats
207 patterns File Name Patterns
207 patterns File Name Patterns
208 environment Environment Variables
208 environment Environment Variables
209 revisions Specifying Single Revisions
209 revisions Specifying Single Revisions
210 multirevs Specifying Multiple Revisions
210 multirevs Specifying Multiple Revisions
211 diffs Diff Formats
211 diffs Diff Formats
212 templating Template Usage
212 templating Template Usage
213 urls URL Paths
213 urls URL Paths
214 extensions Using additional features
214 extensions Using additional features
215 hgweb Configuring hgweb
215 hgweb Configuring hgweb
216 glossary Glossary
216
217
217 use "hg -v help" to show aliases and global options
218 use "hg -v help" to show aliases and global options
218 Mercurial Distributed SCM
219 Mercurial Distributed SCM
219
220
220 list of commands:
221 list of commands:
221
222
222 add add the specified files on the next commit
223 add add the specified files on the next commit
223 addremove add all new files, delete all missing files
224 addremove add all new files, delete all missing files
224 annotate show changeset information by line for each file
225 annotate show changeset information by line for each file
225 archive create an unversioned archive of a repository revision
226 archive create an unversioned archive of a repository revision
226 backout reverse effect of earlier changeset
227 backout reverse effect of earlier changeset
227 bisect subdivision search of changesets
228 bisect subdivision search of changesets
228 branch set or show the current branch name
229 branch set or show the current branch name
229 branches list repository named branches
230 branches list repository named branches
230 bundle create a changegroup file
231 bundle create a changegroup file
231 cat output the current or given revision of files
232 cat output the current or given revision of files
232 clone make a copy of an existing repository
233 clone make a copy of an existing repository
233 commit commit the specified files or all outstanding changes
234 commit commit the specified files or all outstanding changes
234 copy mark files as copied for the next commit
235 copy mark files as copied for the next commit
235 diff diff repository (or selected files)
236 diff diff repository (or selected files)
236 export dump the header and diffs for one or more changesets
237 export dump the header and diffs for one or more changesets
237 forget forget the specified files on the next commit
238 forget forget the specified files on the next commit
238 grep search for a pattern in specified files and revisions
239 grep search for a pattern in specified files and revisions
239 heads show current repository heads or show branch heads
240 heads show current repository heads or show branch heads
240 help show help for a given topic or a help overview
241 help show help for a given topic or a help overview
241 identify identify the working copy or specified revision
242 identify identify the working copy or specified revision
242 import import an ordered set of patches
243 import import an ordered set of patches
243 incoming show new changesets found in source
244 incoming show new changesets found in source
244 init create a new repository in the given directory
245 init create a new repository in the given directory
245 locate locate files matching specific patterns
246 locate locate files matching specific patterns
246 log show revision history of entire repository or files
247 log show revision history of entire repository or files
247 manifest output the current or given revision of the project manifest
248 manifest output the current or given revision of the project manifest
248 merge merge working directory with another revision
249 merge merge working directory with another revision
249 outgoing show changesets not found in the destination
250 outgoing show changesets not found in the destination
250 parents show the parents of the working directory or revision
251 parents show the parents of the working directory or revision
251 paths show aliases for remote repositories
252 paths show aliases for remote repositories
252 pull pull changes from the specified source
253 pull pull changes from the specified source
253 push push changes to the specified destination
254 push push changes to the specified destination
254 recover roll back an interrupted transaction
255 recover roll back an interrupted transaction
255 remove remove the specified files on the next commit
256 remove remove the specified files on the next commit
256 rename rename files; equivalent of copy + remove
257 rename rename files; equivalent of copy + remove
257 resolve various operations to help finish a merge
258 resolve various operations to help finish a merge
258 revert restore individual files or directories to an earlier state
259 revert restore individual files or directories to an earlier state
259 rollback roll back the last transaction (dangerous)
260 rollback roll back the last transaction (dangerous)
260 root print the root (top) of the current working directory
261 root print the root (top) of the current working directory
261 serve start stand-alone webserver
262 serve start stand-alone webserver
262 showconfig show combined config settings from all hgrc files
263 showconfig show combined config settings from all hgrc files
263 status show changed files in the working directory
264 status show changed files in the working directory
264 summary summarize working directory state
265 summary summarize working directory state
265 tag add one or more tags for the current or given revision
266 tag add one or more tags for the current or given revision
266 tags list repository tags
267 tags list repository tags
267 tip show the tip revision
268 tip show the tip revision
268 unbundle apply one or more changegroup files
269 unbundle apply one or more changegroup files
269 update update working directory (or switch revisions)
270 update update working directory (or switch revisions)
270 verify verify the integrity of the repository
271 verify verify the integrity of the repository
271 version output version and copyright information
272 version output version and copyright information
272
273
273 additional help topics:
274 additional help topics:
274
275
275 config Configuration Files
276 config Configuration Files
276 dates Date Formats
277 dates Date Formats
277 patterns File Name Patterns
278 patterns File Name Patterns
278 environment Environment Variables
279 environment Environment Variables
279 revisions Specifying Single Revisions
280 revisions Specifying Single Revisions
280 multirevs Specifying Multiple Revisions
281 multirevs Specifying Multiple Revisions
281 diffs Diff Formats
282 diffs Diff Formats
282 templating Template Usage
283 templating Template Usage
283 urls URL Paths
284 urls URL Paths
284 extensions Using additional features
285 extensions Using additional features
285 hgweb Configuring hgweb
286 hgweb Configuring hgweb
287 glossary Glossary
286
288
287 use "hg -v help" to show aliases and global options
289 use "hg -v help" to show aliases and global options
288 %% not tested: --debugger
290 %% not tested: --debugger
@@ -1,664 +1,667
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 by line for each file
6 annotate show changeset information by line for each file
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 forget forget the specified files on the next commit
11 forget forget the specified files on the next commit
12 init create a new repository in the given directory
12 init create a new repository in the given directory
13 log show revision history of entire repository or files
13 log show revision history of entire repository or files
14 merge merge working directory with another revision
14 merge merge working directory with another 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 start stand-alone webserver
18 serve start stand-alone webserver
19 status show changed files in the working directory
19 status show changed files in the working directory
20 summary summarize working directory state
20 summary summarize working directory state
21 update update working directory (or switch revisions)
21 update update working directory (or switch revisions)
22
22
23 use "hg help" for the full list of commands or "hg -v" for details
23 use "hg help" for the full list of commands or "hg -v" for details
24 add add the specified files on the next commit
24 add add the specified files on the next commit
25 annotate show changeset information by line for each file
25 annotate show changeset information by line for each file
26 clone make a copy of an existing repository
26 clone make a copy of an existing repository
27 commit commit the specified files or all outstanding changes
27 commit commit the specified files or all outstanding changes
28 diff diff repository (or selected files)
28 diff diff repository (or selected files)
29 export dump the header and diffs for one or more changesets
29 export dump the header and diffs for one or more changesets
30 forget forget the specified files on the next commit
30 forget forget the specified files on the next commit
31 init create a new repository in the given directory
31 init create a new repository in the given directory
32 log show revision history of entire repository or files
32 log show revision history of entire repository or files
33 merge merge working directory with another revision
33 merge merge working directory with another revision
34 pull pull changes from the specified source
34 pull pull changes from the specified source
35 push push changes to the specified destination
35 push push changes to the specified destination
36 remove remove the specified files on the next commit
36 remove remove the specified files on the next commit
37 serve start stand-alone webserver
37 serve start stand-alone webserver
38 status show changed files in the working directory
38 status show changed files in the working directory
39 summary summarize working directory state
39 summary summarize working directory state
40 update update working directory (or switch revisions)
40 update update working directory (or switch revisions)
41 Mercurial Distributed SCM
41 Mercurial Distributed SCM
42
42
43 list of commands:
43 list of commands:
44
44
45 add add the specified files on the next commit
45 add add the specified files on the next commit
46 addremove add all new files, delete all missing files
46 addremove add all new files, delete all missing files
47 annotate show changeset information by line for each file
47 annotate show changeset information by line for each file
48 archive create an unversioned archive of a repository revision
48 archive create an unversioned archive of a repository revision
49 backout reverse effect of earlier changeset
49 backout reverse effect of earlier changeset
50 bisect subdivision search of changesets
50 bisect subdivision search of changesets
51 branch set or show the current branch name
51 branch set or show the current branch name
52 branches list repository named branches
52 branches list repository named branches
53 bundle create a changegroup file
53 bundle create a changegroup file
54 cat output the current or given revision of files
54 cat output the current or given revision of files
55 clone make a copy of an existing repository
55 clone make a copy of an existing repository
56 commit commit the specified files or all outstanding changes
56 commit commit the specified files or all outstanding changes
57 copy mark files as copied for the next commit
57 copy mark files as copied for the next commit
58 diff diff repository (or selected files)
58 diff diff repository (or selected files)
59 export dump the header and diffs for one or more changesets
59 export dump the header and diffs for one or more changesets
60 forget forget the specified files on the next commit
60 forget forget the specified files on the next commit
61 grep search for a pattern in specified files and revisions
61 grep search for a pattern in specified files and revisions
62 heads show current repository heads or show branch heads
62 heads show current repository heads or show branch heads
63 help show help for a given topic or a help overview
63 help show help for a given topic or a help overview
64 identify identify the working copy or specified revision
64 identify identify the working copy or specified revision
65 import import an ordered set of patches
65 import import an ordered set of patches
66 incoming show new changesets found in source
66 incoming show new changesets found in source
67 init create a new repository in the given directory
67 init create a new repository in the given directory
68 locate locate files matching specific patterns
68 locate locate files matching specific patterns
69 log show revision history of entire repository or files
69 log show revision history of entire repository or files
70 manifest output the current or given revision of the project manifest
70 manifest output the current or given revision of the project manifest
71 merge merge working directory with another revision
71 merge merge working directory with another revision
72 outgoing show changesets not found in the destination
72 outgoing show changesets not found in the destination
73 parents show the parents of the working directory or revision
73 parents show the parents of the working directory or revision
74 paths show aliases for remote repositories
74 paths show aliases for remote repositories
75 pull pull changes from the specified source
75 pull pull changes from the specified source
76 push push changes to the specified destination
76 push push changes to the specified destination
77 recover roll back an interrupted transaction
77 recover roll back an interrupted transaction
78 remove remove the specified files on the next commit
78 remove remove the specified files on the next commit
79 rename rename files; equivalent of copy + remove
79 rename rename files; equivalent of copy + remove
80 resolve various operations to help finish a merge
80 resolve various operations to help finish a merge
81 revert restore individual files or directories to an earlier state
81 revert restore individual files or directories to an earlier state
82 rollback roll back the last transaction (dangerous)
82 rollback roll back the last transaction (dangerous)
83 root print the root (top) of the current working directory
83 root print the root (top) of the current working directory
84 serve start stand-alone webserver
84 serve start stand-alone webserver
85 showconfig show combined config settings from all hgrc files
85 showconfig show combined config settings from all hgrc files
86 status show changed files in the working directory
86 status show changed files in the working directory
87 summary summarize working directory state
87 summary summarize working directory state
88 tag add one or more tags for the current or given revision
88 tag add one or more tags for the current or given revision
89 tags list repository tags
89 tags list repository tags
90 tip show the tip revision
90 tip show the tip revision
91 unbundle apply one or more changegroup files
91 unbundle apply one or more changegroup files
92 update update working directory (or switch revisions)
92 update update working directory (or switch revisions)
93 verify verify the integrity of the repository
93 verify verify the integrity of the repository
94 version output version and copyright information
94 version output version and copyright information
95
95
96 additional help topics:
96 additional help topics:
97
97
98 config Configuration Files
98 config Configuration Files
99 dates Date Formats
99 dates Date Formats
100 patterns File Name Patterns
100 patterns File Name Patterns
101 environment Environment Variables
101 environment Environment Variables
102 revisions Specifying Single Revisions
102 revisions Specifying Single Revisions
103 multirevs Specifying Multiple Revisions
103 multirevs Specifying Multiple Revisions
104 diffs Diff Formats
104 diffs Diff Formats
105 templating Template Usage
105 templating Template Usage
106 urls URL Paths
106 urls URL Paths
107 extensions Using additional features
107 extensions Using additional features
108 hgweb Configuring hgweb
108 hgweb Configuring hgweb
109 glossary Glossary
109
110
110 use "hg -v help" to show aliases and global options
111 use "hg -v help" to show aliases and global options
111 add add the specified files on the next commit
112 add add the specified files on the next commit
112 addremove add all new files, delete all missing files
113 addremove add all new files, delete all missing files
113 annotate show changeset information by line for each file
114 annotate show changeset information by line for each file
114 archive create an unversioned archive of a repository revision
115 archive create an unversioned archive of a repository revision
115 backout reverse effect of earlier changeset
116 backout reverse effect of earlier changeset
116 bisect subdivision search of changesets
117 bisect subdivision search of changesets
117 branch set or show the current branch name
118 branch set or show the current branch name
118 branches list repository named branches
119 branches list repository named branches
119 bundle create a changegroup file
120 bundle create a changegroup file
120 cat output the current or given revision of files
121 cat output the current or given revision of files
121 clone make a copy of an existing repository
122 clone make a copy of an existing repository
122 commit commit the specified files or all outstanding changes
123 commit commit the specified files or all outstanding changes
123 copy mark files as copied for the next commit
124 copy mark files as copied for the next commit
124 diff diff repository (or selected files)
125 diff diff repository (or selected files)
125 export dump the header and diffs for one or more changesets
126 export dump the header and diffs for one or more changesets
126 forget forget the specified files on the next commit
127 forget forget the specified files on the next commit
127 grep search for a pattern in specified files and revisions
128 grep search for a pattern in specified files and revisions
128 heads show current repository heads or show branch heads
129 heads show current repository heads or show branch heads
129 help show help for a given topic or a help overview
130 help show help for a given topic or a help overview
130 identify identify the working copy or specified revision
131 identify identify the working copy or specified revision
131 import import an ordered set of patches
132 import import an ordered set of patches
132 incoming show new changesets found in source
133 incoming show new changesets found in source
133 init create a new repository in the given directory
134 init create a new repository in the given directory
134 locate locate files matching specific patterns
135 locate locate files matching specific patterns
135 log show revision history of entire repository or files
136 log show revision history of entire repository or files
136 manifest output the current or given revision of the project manifest
137 manifest output the current or given revision of the project manifest
137 merge merge working directory with another revision
138 merge merge working directory with another revision
138 outgoing show changesets not found in the destination
139 outgoing show changesets not found in the destination
139 parents show the parents of the working directory or revision
140 parents show the parents of the working directory or revision
140 paths show aliases for remote repositories
141 paths show aliases for remote repositories
141 pull pull changes from the specified source
142 pull pull changes from the specified source
142 push push changes to the specified destination
143 push push changes to the specified destination
143 recover roll back an interrupted transaction
144 recover roll back an interrupted transaction
144 remove remove the specified files on the next commit
145 remove remove the specified files on the next commit
145 rename rename files; equivalent of copy + remove
146 rename rename files; equivalent of copy + remove
146 resolve various operations to help finish a merge
147 resolve various operations to help finish a merge
147 revert restore individual files or directories to an earlier state
148 revert restore individual files or directories to an earlier state
148 rollback roll back the last transaction (dangerous)
149 rollback roll back the last transaction (dangerous)
149 root print the root (top) of the current working directory
150 root print the root (top) of the current working directory
150 serve start stand-alone webserver
151 serve start stand-alone webserver
151 showconfig show combined config settings from all hgrc files
152 showconfig show combined config settings from all hgrc files
152 status show changed files in the working directory
153 status show changed files in the working directory
153 summary summarize working directory state
154 summary summarize working directory state
154 tag add one or more tags for the current or given revision
155 tag add one or more tags for the current or given revision
155 tags list repository tags
156 tags list repository tags
156 tip show the tip revision
157 tip show the tip revision
157 unbundle apply one or more changegroup files
158 unbundle apply one or more changegroup files
158 update update working directory (or switch revisions)
159 update update working directory (or switch revisions)
159 verify verify the integrity of the repository
160 verify verify the integrity of the repository
160 version output version and copyright information
161 version output version and copyright information
161
162
162 additional help topics:
163 additional help topics:
163
164
164 config Configuration Files
165 config Configuration Files
165 dates Date Formats
166 dates Date Formats
166 patterns File Name Patterns
167 patterns File Name Patterns
167 environment Environment Variables
168 environment Environment Variables
168 revisions Specifying Single Revisions
169 revisions Specifying Single Revisions
169 multirevs Specifying Multiple Revisions
170 multirevs Specifying Multiple Revisions
170 diffs Diff Formats
171 diffs Diff Formats
171 templating Template Usage
172 templating Template Usage
172 urls URL Paths
173 urls URL Paths
173 extensions Using additional features
174 extensions Using additional features
174 hgweb Configuring hgweb
175 hgweb Configuring hgweb
176 glossary Glossary
175 %% test short command list with verbose option
177 %% test short command list with verbose option
176 Mercurial Distributed SCM (version xxx)
178 Mercurial Distributed SCM (version xxx)
177
179
178 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
180 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
179 This is free software; see the source for copying conditions. There is NO
181 This is free software; see the source for copying conditions. There is NO
180 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
182 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
181
183
182 basic commands:
184 basic commands:
183
185
184 add:
186 add:
185 add the specified files on the next commit
187 add the specified files on the next commit
186 annotate, blame:
188 annotate, blame:
187 show changeset information by line for each file
189 show changeset information by line for each file
188 clone:
190 clone:
189 make a copy of an existing repository
191 make a copy of an existing repository
190 commit, ci:
192 commit, ci:
191 commit the specified files or all outstanding changes
193 commit the specified files or all outstanding changes
192 diff:
194 diff:
193 diff repository (or selected files)
195 diff repository (or selected files)
194 export:
196 export:
195 dump the header and diffs for one or more changesets
197 dump the header and diffs for one or more changesets
196 forget:
198 forget:
197 forget the specified files on the next commit
199 forget the specified files on the next commit
198 init:
200 init:
199 create a new repository in the given directory
201 create a new repository in the given directory
200 log, history:
202 log, history:
201 show revision history of entire repository or files
203 show revision history of entire repository or files
202 merge:
204 merge:
203 merge working directory with another revision
205 merge working directory with another revision
204 pull:
206 pull:
205 pull changes from the specified source
207 pull changes from the specified source
206 push:
208 push:
207 push changes to the specified destination
209 push changes to the specified destination
208 remove, rm:
210 remove, rm:
209 remove the specified files on the next commit
211 remove the specified files on the next commit
210 serve:
212 serve:
211 start stand-alone webserver
213 start stand-alone webserver
212 status, st:
214 status, st:
213 show changed files in the working directory
215 show changed files in the working directory
214 summary, sum:
216 summary, sum:
215 summarize working directory state
217 summarize working directory state
216 update, up, checkout, co:
218 update, up, checkout, co:
217 update working directory (or switch revisions)
219 update working directory (or switch revisions)
218
220
219 global options:
221 global options:
220 -R --repository REPO repository root directory or name of overlay bundle
222 -R --repository REPO repository root directory or name of overlay bundle
221 file
223 file
222 --cwd DIR change working directory
224 --cwd DIR change working directory
223 -y --noninteractive do not prompt, assume 'yes' for any required answers
225 -y --noninteractive do not prompt, assume 'yes' for any required answers
224 -q --quiet suppress output
226 -q --quiet suppress output
225 -v --verbose enable additional output
227 -v --verbose enable additional output
226 --config CONFIG [+] set/override config option (use 'section.name=value')
228 --config CONFIG [+] set/override config option (use 'section.name=value')
227 --debug enable debugging output
229 --debug enable debugging output
228 --debugger start debugger
230 --debugger start debugger
229 --encoding ENCODE set the charset encoding (default: ascii)
231 --encoding ENCODE set the charset encoding (default: ascii)
230 --encodingmode MODE set the charset encoding mode (default: strict)
232 --encodingmode MODE set the charset encoding mode (default: strict)
231 --traceback always print a traceback on exception
233 --traceback always print a traceback on exception
232 --time time how long the command takes
234 --time time how long the command takes
233 --profile print command execution profile
235 --profile print command execution profile
234 --version output version information and exit
236 --version output version information and exit
235 -h --help display help and exit
237 -h --help display help and exit
236
238
237 [+] marked option can be specified multiple times
239 [+] marked option can be specified multiple times
238
240
239 use "hg help" for the full list of commands
241 use "hg help" for the full list of commands
240 hg add [OPTION]... [FILE]...
242 hg add [OPTION]... [FILE]...
241
243
242 add the specified files on the next commit
244 add the specified files on the next commit
243
245
244 Schedule files to be version controlled and added to the repository.
246 Schedule files to be version controlled and added to the repository.
245
247
246 The files will be added to the repository at the next commit. To undo an
248 The files will be added to the repository at the next commit. To undo an
247 add before that, see "hg forget".
249 add before that, see "hg forget".
248
250
249 If no names are given, add all files to the repository.
251 If no names are given, add all files to the repository.
250
252
251 use "hg -v help add" to show verbose help
253 use "hg -v help add" to show verbose help
252
254
253 options:
255 options:
254
256
255 -I --include PATTERN [+] include names matching the given patterns
257 -I --include PATTERN [+] include names matching the given patterns
256 -X --exclude PATTERN [+] exclude names matching the given patterns
258 -X --exclude PATTERN [+] exclude names matching the given patterns
257 -n --dry-run do not perform actions, just print output
259 -n --dry-run do not perform actions, just print output
258
260
259 [+] marked option can be specified multiple times
261 [+] marked option can be specified multiple times
260
262
261 use "hg -v help add" to show global options
263 use "hg -v help add" to show global options
262 %% verbose help for add
264 %% verbose help for add
263 hg add [OPTION]... [FILE]...
265 hg add [OPTION]... [FILE]...
264
266
265 add the specified files on the next commit
267 add the specified files on the next commit
266
268
267 Schedule files to be version controlled and added to the repository.
269 Schedule files to be version controlled and added to the repository.
268
270
269 The files will be added to the repository at the next commit. To undo an
271 The files will be added to the repository at the next commit. To undo an
270 add before that, see "hg forget".
272 add before that, see "hg forget".
271
273
272 If no names are given, add all files to the repository.
274 If no names are given, add all files to the repository.
273
275
274 An example showing how new (unknown) files are added automatically by "hg
276 An example showing how new (unknown) files are added automatically by "hg
275 add":
277 add":
276
278
277 $ ls
279 $ ls
278 foo.c
280 foo.c
279 $ hg status
281 $ hg status
280 ? foo.c
282 ? foo.c
281 $ hg add
283 $ hg add
282 adding foo.c
284 adding foo.c
283 $ hg status
285 $ hg status
284 A foo.c
286 A foo.c
285
287
286 options:
288 options:
287
289
288 -I --include PATTERN [+] include names matching the given patterns
290 -I --include PATTERN [+] include names matching the given patterns
289 -X --exclude PATTERN [+] exclude names matching the given patterns
291 -X --exclude PATTERN [+] exclude names matching the given patterns
290 -n --dry-run do not perform actions, just print output
292 -n --dry-run do not perform actions, just print output
291
293
292 global options:
294 global options:
293 -R --repository REPO repository root directory or name of overlay bundle
295 -R --repository REPO repository root directory or name of overlay bundle
294 file
296 file
295 --cwd DIR change working directory
297 --cwd DIR change working directory
296 -y --noninteractive do not prompt, assume 'yes' for any required
298 -y --noninteractive do not prompt, assume 'yes' for any required
297 answers
299 answers
298 -q --quiet suppress output
300 -q --quiet suppress output
299 -v --verbose enable additional output
301 -v --verbose enable additional output
300 --config CONFIG [+] set/override config option (use
302 --config CONFIG [+] set/override config option (use
301 'section.name=value')
303 'section.name=value')
302 --debug enable debugging output
304 --debug enable debugging output
303 --debugger start debugger
305 --debugger start debugger
304 --encoding ENCODE set the charset encoding (default: ascii)
306 --encoding ENCODE set the charset encoding (default: ascii)
305 --encodingmode MODE set the charset encoding mode (default: strict)
307 --encodingmode MODE set the charset encoding mode (default: strict)
306 --traceback always print a traceback on exception
308 --traceback always print a traceback on exception
307 --time time how long the command takes
309 --time time how long the command takes
308 --profile print command execution profile
310 --profile print command execution profile
309 --version output version information and exit
311 --version output version information and exit
310 -h --help display help and exit
312 -h --help display help and exit
311
313
312 [+] marked option can be specified multiple times
314 [+] marked option can be specified multiple times
313 %% test help option with version option
315 %% test help option with version option
314 Mercurial Distributed SCM (version xxx)
316 Mercurial Distributed SCM (version xxx)
315
317
316 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
318 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
317 This is free software; see the source for copying conditions. There is NO
319 This is free software; see the source for copying conditions. There is NO
318 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
320 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
319
321
320 hg add [OPTION]... [FILE]...
322 hg add [OPTION]... [FILE]...
321
323
322 add the specified files on the next commit
324 add the specified files on the next commit
323
325
324 Schedule files to be version controlled and added to the repository.
326 Schedule files to be version controlled and added to the repository.
325
327
326 The files will be added to the repository at the next commit. To undo an
328 The files will be added to the repository at the next commit. To undo an
327 add before that, see "hg forget".
329 add before that, see "hg forget".
328
330
329 If no names are given, add all files to the repository.
331 If no names are given, add all files to the repository.
330
332
331 use "hg -v help add" to show verbose help
333 use "hg -v help add" to show verbose help
332
334
333 options:
335 options:
334
336
335 -I --include PATTERN [+] include names matching the given patterns
337 -I --include PATTERN [+] include names matching the given patterns
336 -X --exclude PATTERN [+] exclude names matching the given patterns
338 -X --exclude PATTERN [+] exclude names matching the given patterns
337 -n --dry-run do not perform actions, just print output
339 -n --dry-run do not perform actions, just print output
338
340
339 [+] marked option can be specified multiple times
341 [+] marked option can be specified multiple times
340
342
341 use "hg -v help add" to show global options
343 use "hg -v help add" to show global options
342 hg add: option --skjdfks not recognized
344 hg add: option --skjdfks not recognized
343 hg add [OPTION]... [FILE]...
345 hg add [OPTION]... [FILE]...
344
346
345 add the specified files on the next commit
347 add the specified files on the next commit
346
348
347 Schedule files to be version controlled and added to the repository.
349 Schedule files to be version controlled and added to the repository.
348
350
349 The files will be added to the repository at the next commit. To undo an
351 The files will be added to the repository at the next commit. To undo an
350 add before that, see "hg forget".
352 add before that, see "hg forget".
351
353
352 If no names are given, add all files to the repository.
354 If no names are given, add all files to the repository.
353
355
354 use "hg -v help add" to show verbose help
356 use "hg -v help add" to show verbose help
355
357
356 options:
358 options:
357
359
358 -I --include PATTERN [+] include names matching the given patterns
360 -I --include PATTERN [+] include names matching the given patterns
359 -X --exclude PATTERN [+] exclude names matching the given patterns
361 -X --exclude PATTERN [+] exclude names matching the given patterns
360 -n --dry-run do not perform actions, just print output
362 -n --dry-run do not perform actions, just print output
361
363
362 [+] marked option can be specified multiple times
364 [+] marked option can be specified multiple times
363
365
364 use "hg -v help add" to show global options
366 use "hg -v help add" to show global options
365 %% test ambiguous command help
367 %% test ambiguous command help
366 list of commands:
368 list of commands:
367
369
368 add add the specified files on the next commit
370 add add the specified files on the next commit
369 addremove add all new files, delete all missing files
371 addremove add all new files, delete all missing files
370
372
371 use "hg -v help ad" to show aliases and global options
373 use "hg -v help ad" to show aliases and global options
372 %% test command without options
374 %% test command without options
373 hg verify
375 hg verify
374
376
375 verify the integrity of the repository
377 verify the integrity of the repository
376
378
377 Verify the integrity of the current repository.
379 Verify the integrity of the current repository.
378
380
379 This will perform an extensive check of the repository's integrity,
381 This will perform an extensive check of the repository's integrity,
380 validating the hashes and checksums of each entry in the changelog,
382 validating the hashes and checksums of each entry in the changelog,
381 manifest, and tracked files, as well as the integrity of their crosslinks
383 manifest, and tracked files, as well as the integrity of their crosslinks
382 and indices.
384 and indices.
383
385
384 Returns 0 on success, 1 if errors are encountered.
386 Returns 0 on success, 1 if errors are encountered.
385
387
386 use "hg -v help verify" to show global options
388 use "hg -v help verify" to show global options
387 hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...
389 hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...
388
390
389 diff repository (or selected files)
391 diff repository (or selected files)
390
392
391 Show differences between revisions for the specified files.
393 Show differences between revisions for the specified files.
392
394
393 Differences between files are shown using the unified diff format.
395 Differences between files are shown using the unified diff format.
394
396
395 NOTE: diff may generate unexpected results for merges, as it will default
397 NOTE: diff may generate unexpected results for merges, as it will default
396 to comparing against the working directory's first parent changeset if no
398 to comparing against the working directory's first parent changeset if no
397 revisions are specified.
399 revisions are specified.
398
400
399 When two revision arguments are given, then changes are shown between
401 When two revision arguments are given, then changes are shown between
400 those revisions. If only one revision is specified then that revision is
402 those revisions. If only one revision is specified then that revision is
401 compared to the working directory, and, when no revisions are specified,
403 compared to the working directory, and, when no revisions are specified,
402 the working directory files are compared to its parent.
404 the working directory files are compared to its parent.
403
405
404 Alternatively you can specify -c/--change with a revision to see the
406 Alternatively you can specify -c/--change with a revision to see the
405 changes in that changeset relative to its first parent.
407 changes in that changeset relative to its first parent.
406
408
407 Without the -a/--text option, diff will avoid generating diffs of files it
409 Without the -a/--text option, diff will avoid generating diffs of files it
408 detects as binary. With -a, diff will generate a diff anyway, probably
410 detects as binary. With -a, diff will generate a diff anyway, probably
409 with undesirable results.
411 with undesirable results.
410
412
411 Use the -g/--git option to generate diffs in the git extended diff format.
413 Use the -g/--git option to generate diffs in the git extended diff format.
412 For more information, read "hg help diffs".
414 For more information, read "hg help diffs".
413
415
414 Returns 0 on success.
416 Returns 0 on success.
415
417
416 options:
418 options:
417
419
418 -r --rev REV [+] revision
420 -r --rev REV [+] revision
419 -c --change REV change made by revision
421 -c --change REV change made by revision
420 -a --text treat all files as text
422 -a --text treat all files as text
421 -g --git use git extended diff format
423 -g --git use git extended diff format
422 --nodates omit dates from diff headers
424 --nodates omit dates from diff headers
423 -p --show-function show which function each change is in
425 -p --show-function show which function each change is in
424 --reverse produce a diff that undoes the changes
426 --reverse produce a diff that undoes the changes
425 -w --ignore-all-space ignore white space when comparing lines
427 -w --ignore-all-space ignore white space when comparing lines
426 -b --ignore-space-change ignore changes in the amount of white space
428 -b --ignore-space-change ignore changes in the amount of white space
427 -B --ignore-blank-lines ignore changes whose lines are all blank
429 -B --ignore-blank-lines ignore changes whose lines are all blank
428 -U --unified NUM number of lines of context to show
430 -U --unified NUM number of lines of context to show
429 --stat output diffstat-style summary of changes
431 --stat output diffstat-style summary of changes
430 -I --include PATTERN [+] include names matching the given patterns
432 -I --include PATTERN [+] include names matching the given patterns
431 -X --exclude PATTERN [+] exclude names matching the given patterns
433 -X --exclude PATTERN [+] exclude names matching the given patterns
432
434
433 [+] marked option can be specified multiple times
435 [+] marked option can be specified multiple times
434
436
435 use "hg -v help diff" to show global options
437 use "hg -v help diff" to show global options
436 hg status [OPTION]... [FILE]...
438 hg status [OPTION]... [FILE]...
437
439
438 aliases: st
440 aliases: st
439
441
440 show changed files in the working directory
442 show changed files in the working directory
441
443
442 Show status of files in the repository. If names are given, only files
444 Show status of files in the repository. If names are given, only files
443 that match are shown. Files that are clean or ignored or the source of a
445 that match are shown. Files that are clean or ignored or the source of a
444 copy/move operation, are not listed unless -c/--clean, -i/--ignored,
446 copy/move operation, are not listed unless -c/--clean, -i/--ignored,
445 -C/--copies or -A/--all are given. Unless options described with "show
447 -C/--copies or -A/--all are given. Unless options described with "show
446 only ..." are given, the options -mardu are used.
448 only ..." are given, the options -mardu are used.
447
449
448 Option -q/--quiet hides untracked (unknown and ignored) files unless
450 Option -q/--quiet hides untracked (unknown and ignored) files unless
449 explicitly requested with -u/--unknown or -i/--ignored.
451 explicitly requested with -u/--unknown or -i/--ignored.
450
452
451 NOTE: status may appear to disagree with diff if permissions have changed
453 NOTE: status may appear to disagree with diff if permissions have changed
452 or a merge has occurred. The standard diff format does not report
454 or a merge has occurred. The standard diff format does not report
453 permission changes and diff only reports changes relative to one merge
455 permission changes and diff only reports changes relative to one merge
454 parent.
456 parent.
455
457
456 If one revision is given, it is used as the base revision. If two
458 If one revision is given, it is used as the base revision. If two
457 revisions are given, the differences between them are shown. The --change
459 revisions are given, the differences between them are shown. The --change
458 option can also be used as a shortcut to list the changed files of a
460 option can also be used as a shortcut to list the changed files of a
459 revision from its first parent.
461 revision from its first parent.
460
462
461 The codes used to show the status of files are:
463 The codes used to show the status of files are:
462
464
463 M = modified
465 M = modified
464 A = added
466 A = added
465 R = removed
467 R = removed
466 C = clean
468 C = clean
467 ! = missing (deleted by non-hg command, but still tracked)
469 ! = missing (deleted by non-hg command, but still tracked)
468 ? = not tracked
470 ? = not tracked
469 I = ignored
471 I = ignored
470 = origin of the previous file listed as A (added)
472 = origin of the previous file listed as A (added)
471
473
472 Returns 0 on success.
474 Returns 0 on success.
473
475
474 options:
476 options:
475
477
476 -A --all show status of all files
478 -A --all show status of all files
477 -m --modified show only modified files
479 -m --modified show only modified files
478 -a --added show only added files
480 -a --added show only added files
479 -r --removed show only removed files
481 -r --removed show only removed files
480 -d --deleted show only deleted (but tracked) files
482 -d --deleted show only deleted (but tracked) files
481 -c --clean show only files without changes
483 -c --clean show only files without changes
482 -u --unknown show only unknown (not tracked) files
484 -u --unknown show only unknown (not tracked) files
483 -i --ignored show only ignored files
485 -i --ignored show only ignored files
484 -n --no-status hide status prefix
486 -n --no-status hide status prefix
485 -C --copies show source of copied files
487 -C --copies show source of copied files
486 -0 --print0 end filenames with NUL, for use with xargs
488 -0 --print0 end filenames with NUL, for use with xargs
487 --rev REV [+] show difference from revision
489 --rev REV [+] show difference from revision
488 --change REV list the changed files of a revision
490 --change REV list the changed files of a revision
489 -I --include PATTERN [+] include names matching the given patterns
491 -I --include PATTERN [+] include names matching the given patterns
490 -X --exclude PATTERN [+] exclude names matching the given patterns
492 -X --exclude PATTERN [+] exclude names matching the given patterns
491
493
492 [+] marked option can be specified multiple times
494 [+] marked option can be specified multiple times
493
495
494 use "hg -v help status" to show global options
496 use "hg -v help status" to show global options
495 hg status [OPTION]... [FILE]...
497 hg status [OPTION]... [FILE]...
496
498
497 show changed files in the working directory
499 show changed files in the working directory
498 hg: unknown command 'foo'
500 hg: unknown command 'foo'
499 Mercurial Distributed SCM
501 Mercurial Distributed SCM
500
502
501 basic commands:
503 basic commands:
502
504
503 add add the specified files on the next commit
505 add add the specified files on the next commit
504 annotate show changeset information by line for each file
506 annotate show changeset information by line for each file
505 clone make a copy of an existing repository
507 clone make a copy of an existing repository
506 commit commit the specified files or all outstanding changes
508 commit commit the specified files or all outstanding changes
507 diff diff repository (or selected files)
509 diff diff repository (or selected files)
508 export dump the header and diffs for one or more changesets
510 export dump the header and diffs for one or more changesets
509 forget forget the specified files on the next commit
511 forget forget the specified files on the next commit
510 init create a new repository in the given directory
512 init create a new repository in the given directory
511 log show revision history of entire repository or files
513 log show revision history of entire repository or files
512 merge merge working directory with another revision
514 merge merge working directory with another revision
513 pull pull changes from the specified source
515 pull pull changes from the specified source
514 push push changes to the specified destination
516 push push changes to the specified destination
515 remove remove the specified files on the next commit
517 remove remove the specified files on the next commit
516 serve start stand-alone webserver
518 serve start stand-alone webserver
517 status show changed files in the working directory
519 status show changed files in the working directory
518 summary summarize working directory state
520 summary summarize working directory state
519 update update working directory (or switch revisions)
521 update update working directory (or switch revisions)
520
522
521 use "hg help" for the full list of commands or "hg -v" for details
523 use "hg help" for the full list of commands or "hg -v" for details
522 hg: unknown command 'skjdfks'
524 hg: unknown command 'skjdfks'
523 Mercurial Distributed SCM
525 Mercurial Distributed SCM
524
526
525 basic commands:
527 basic commands:
526
528
527 add add the specified files on the next commit
529 add add the specified files on the next commit
528 annotate show changeset information by line for each file
530 annotate show changeset information by line for each file
529 clone make a copy of an existing repository
531 clone make a copy of an existing repository
530 commit commit the specified files or all outstanding changes
532 commit commit the specified files or all outstanding changes
531 diff diff repository (or selected files)
533 diff diff repository (or selected files)
532 export dump the header and diffs for one or more changesets
534 export dump the header and diffs for one or more changesets
533 forget forget the specified files on the next commit
535 forget forget the specified files on the next commit
534 init create a new repository in the given directory
536 init create a new repository in the given directory
535 log show revision history of entire repository or files
537 log show revision history of entire repository or files
536 merge merge working directory with another revision
538 merge merge working directory with another revision
537 pull pull changes from the specified source
539 pull pull changes from the specified source
538 push push changes to the specified destination
540 push push changes to the specified destination
539 remove remove the specified files on the next commit
541 remove remove the specified files on the next commit
540 serve start stand-alone webserver
542 serve start stand-alone webserver
541 status show changed files in the working directory
543 status show changed files in the working directory
542 summary summarize working directory state
544 summary summarize working directory state
543 update update working directory (or switch revisions)
545 update update working directory (or switch revisions)
544
546
545 use "hg help" for the full list of commands or "hg -v" for details
547 use "hg help" for the full list of commands or "hg -v" for details
546 %% test command with no help text
548 %% test command with no help text
547 hg nohelp
549 hg nohelp
548
550
549 (no help text available)
551 (no help text available)
550
552
551 use "hg -v help nohelp" to show global options
553 use "hg -v help nohelp" to show global options
552 %% test that default list of commands omits extension commands
554 %% test that default list of commands omits extension commands
553 Mercurial Distributed SCM
555 Mercurial Distributed SCM
554
556
555 list of commands:
557 list of commands:
556
558
557 add add the specified files on the next commit
559 add add the specified files on the next commit
558 addremove add all new files, delete all missing files
560 addremove add all new files, delete all missing files
559 annotate show changeset information by line for each file
561 annotate show changeset information by line for each file
560 archive create an unversioned archive of a repository revision
562 archive create an unversioned archive of a repository revision
561 backout reverse effect of earlier changeset
563 backout reverse effect of earlier changeset
562 bisect subdivision search of changesets
564 bisect subdivision search of changesets
563 branch set or show the current branch name
565 branch set or show the current branch name
564 branches list repository named branches
566 branches list repository named branches
565 bundle create a changegroup file
567 bundle create a changegroup file
566 cat output the current or given revision of files
568 cat output the current or given revision of files
567 clone make a copy of an existing repository
569 clone make a copy of an existing repository
568 commit commit the specified files or all outstanding changes
570 commit commit the specified files or all outstanding changes
569 copy mark files as copied for the next commit
571 copy mark files as copied for the next commit
570 diff diff repository (or selected files)
572 diff diff repository (or selected files)
571 export dump the header and diffs for one or more changesets
573 export dump the header and diffs for one or more changesets
572 forget forget the specified files on the next commit
574 forget forget the specified files on the next commit
573 grep search for a pattern in specified files and revisions
575 grep search for a pattern in specified files and revisions
574 heads show current repository heads or show branch heads
576 heads show current repository heads or show branch heads
575 help show help for a given topic or a help overview
577 help show help for a given topic or a help overview
576 identify identify the working copy or specified revision
578 identify identify the working copy or specified revision
577 import import an ordered set of patches
579 import import an ordered set of patches
578 incoming show new changesets found in source
580 incoming show new changesets found in source
579 init create a new repository in the given directory
581 init create a new repository in the given directory
580 locate locate files matching specific patterns
582 locate locate files matching specific patterns
581 log show revision history of entire repository or files
583 log show revision history of entire repository or files
582 manifest output the current or given revision of the project manifest
584 manifest output the current or given revision of the project manifest
583 merge merge working directory with another revision
585 merge merge working directory with another revision
584 outgoing show changesets not found in the destination
586 outgoing show changesets not found in the destination
585 parents show the parents of the working directory or revision
587 parents show the parents of the working directory or revision
586 paths show aliases for remote repositories
588 paths show aliases for remote repositories
587 pull pull changes from the specified source
589 pull pull changes from the specified source
588 push push changes to the specified destination
590 push push changes to the specified destination
589 recover roll back an interrupted transaction
591 recover roll back an interrupted transaction
590 remove remove the specified files on the next commit
592 remove remove the specified files on the next commit
591 rename rename files; equivalent of copy + remove
593 rename rename files; equivalent of copy + remove
592 resolve various operations to help finish a merge
594 resolve various operations to help finish a merge
593 revert restore individual files or directories to an earlier state
595 revert restore individual files or directories to an earlier state
594 rollback roll back the last transaction (dangerous)
596 rollback roll back the last transaction (dangerous)
595 root print the root (top) of the current working directory
597 root print the root (top) of the current working directory
596 serve start stand-alone webserver
598 serve start stand-alone webserver
597 showconfig show combined config settings from all hgrc files
599 showconfig show combined config settings from all hgrc files
598 status show changed files in the working directory
600 status show changed files in the working directory
599 summary summarize working directory state
601 summary summarize working directory state
600 tag add one or more tags for the current or given revision
602 tag add one or more tags for the current or given revision
601 tags list repository tags
603 tags list repository tags
602 tip show the tip revision
604 tip show the tip revision
603 unbundle apply one or more changegroup files
605 unbundle apply one or more changegroup files
604 update update working directory (or switch revisions)
606 update update working directory (or switch revisions)
605 verify verify the integrity of the repository
607 verify verify the integrity of the repository
606 version output version and copyright information
608 version output version and copyright information
607
609
608 enabled extensions:
610 enabled extensions:
609
611
610 helpext (no help text available)
612 helpext (no help text available)
611
613
612 additional help topics:
614 additional help topics:
613
615
614 config Configuration Files
616 config Configuration Files
615 dates Date Formats
617 dates Date Formats
616 patterns File Name Patterns
618 patterns File Name Patterns
617 environment Environment Variables
619 environment Environment Variables
618 revisions Specifying Single Revisions
620 revisions Specifying Single Revisions
619 multirevs Specifying Multiple Revisions
621 multirevs Specifying Multiple Revisions
620 diffs Diff Formats
622 diffs Diff Formats
621 templating Template Usage
623 templating Template Usage
622 urls URL Paths
624 urls URL Paths
623 extensions Using additional features
625 extensions Using additional features
624 hgweb Configuring hgweb
626 hgweb Configuring hgweb
627 glossary Glossary
625
628
626 use "hg -v help" to show aliases and global options
629 use "hg -v help" to show aliases and global options
627 %% test list of commands with command with no help text
630 %% test list of commands with command with no help text
628 helpext extension - no help text available
631 helpext extension - no help text available
629
632
630 list of commands:
633 list of commands:
631
634
632 nohelp (no help text available)
635 nohelp (no help text available)
633
636
634 use "hg -v help helpext" to show aliases and global options
637 use "hg -v help helpext" to show aliases and global options
635 %% test a help topic
638 %% test a help topic
636 Specifying Single Revisions
639 Specifying Single Revisions
637
640
638 Mercurial supports several ways to specify individual revisions.
641 Mercurial supports several ways to specify individual revisions.
639
642
640 A plain integer is treated as a revision number. Negative integers are
643 A plain integer is treated as a revision number. Negative integers are
641 treated as sequential offsets from the tip, with -1 denoting the tip, -2
644 treated as sequential offsets from the tip, with -1 denoting the tip, -2
642 denoting the revision prior to the tip, and so forth.
645 denoting the revision prior to the tip, and so forth.
643
646
644 A 40-digit hexadecimal string is treated as a unique revision identifier.
647 A 40-digit hexadecimal string is treated as a unique revision identifier.
645
648
646 A hexadecimal string less than 40 characters long is treated as a unique
649 A hexadecimal string less than 40 characters long is treated as a unique
647 revision identifier and is referred to as a short-form identifier. A
650 revision identifier and is referred to as a short-form identifier. A
648 short-form identifier is only valid if it is the prefix of exactly one
651 short-form identifier is only valid if it is the prefix of exactly one
649 full-length identifier.
652 full-length identifier.
650
653
651 Any other string is treated as a tag or branch name. A tag name is a
654 Any other string is treated as a tag or branch name. A tag name is a
652 symbolic name associated with a revision identifier. A branch name denotes
655 symbolic name associated with a revision identifier. A branch name denotes
653 the tipmost revision of that branch. Tag and branch names must not contain
656 the tipmost revision of that branch. Tag and branch names must not contain
654 the ":" character.
657 the ":" character.
655
658
656 The reserved name "tip" is a special tag that always identifies the most
659 The reserved name "tip" is a special tag that always identifies the most
657 recent revision.
660 recent revision.
658
661
659 The reserved name "null" indicates the null revision. This is the revision
662 The reserved name "null" indicates the null revision. This is the revision
660 of an empty repository, and the parent of revision 0.
663 of an empty repository, and the parent of revision 0.
661
664
662 The reserved name "." indicates the working directory parent. If no
665 The reserved name "." indicates the working directory parent. If no
663 working directory is checked out, it is equivalent to null. If an
666 working directory is checked out, it is equivalent to null. If an
664 uncommitted merge is in progress, "." is the revision of the first parent.
667 uncommitted merge is in progress, "." is the revision of the first parent.
General Comments 0
You need to be logged in to leave comments. Login now