Debian Codegraph @

doc/html/topic-glossary.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
7 <title>Glossary</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="glossary">
12 <span id="topic-glossary"></span>
13 <h1 class="title">Glossary</h1>
14
15 <dl class="docutils" id="glossary-1">
16 <dt>Ancestor</dt>
17 <dd>Any changeset that can be reached by an unbroken chain of parent
18 changesets from a given changeset. More precisely, the ancestors
19 of a changeset can be defined by two properties: a parent of a
20 changeset is an ancestor, and a parent of an ancestor is an
21 ancestor. See also: 'Descendant'.</dd>
22 <dt>Bookmark</dt>
23 <dd><p class="first">Bookmarks are pointers to certain commits that move when
24 committing. They are similar to tags in that it is possible to use
25 bookmark names in all places where Mercurial expects a changeset
26 ID, e.g., with <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg update</tt></a>. Unlike tags, bookmarks move along
27 when you make a commit.</p>
28 <p class="last">Bookmarks can be renamed, copied and deleted. Bookmarks are local,
29 unless they are explicitly pushed or pulled between repositories.
30 Pushing and pulling bookmarks allow you to collaborate with others
31 on a branch without creating a named branch.</p>
32 </dd>
33 <dt>Branch</dt>
34 <dd><p class="first">(Noun) A child changeset that has been created from a parent that
35 is not a head. These are known as topological branches, see
36 'Branch, topological'. If a topological branch is named, it becomes
37 a named branch. If a topological branch is not named, it becomes
38 an anonymous branch. See 'Branch, anonymous' and 'Branch, named'.</p>
39 <p>Branches may be created when changes are pulled from or pushed to
40 a remote repository, since new heads may be created by these
41 operations. Note that the term branch can also be used informally
42 to describe a development process in which certain development is
43 done independently of other development. This is sometimes done
44 explicitly with a named branch, but it can also be done locally,
45 using bookmarks or clones and anonymous branches.</p>
46 <p>Example: &quot;The experimental branch.&quot;</p>
47 <p>(Verb) The action of creating a child changeset which results in
48 its parent having more than one child.</p>
49 <p class="last">Example: &quot;I'm going to branch at X.&quot;</p>
50 </dd>
51 <dt>Branch, anonymous</dt>
52 <dd>Every time a new child changeset is created from a parent that is not
53 a head and the name of the branch is not changed, a new anonymous
54 branch is created.</dd>
55 <dt>Branch, closed</dt>
56 <dd>A named branch whose branch heads have all been closed.</dd>
57 <dt>Branch, default</dt>
58 <dd>The branch assigned to a changeset when no name has previously been
59 assigned.</dd>
60 <dt>Branch head</dt>
61 <dd>See 'Head, branch'.</dd>
62 <dt>Branch, inactive</dt>
63 <dd><p class="first">If a named branch has no topological heads, it is considered to be
64 inactive. As an example, a feature branch becomes inactive when it
65 is merged into the default branch. The <a class="reference external" href="hg-branches.html"><tt class="docutils literal">hg branches</tt></a> command
66 shows inactive branches by default, though they can be hidden with
67 <a class="reference external" href="hg-branches.html"><tt class="docutils literal">hg branches <span class="pre">--active</span></tt></a>.</p>
68 <p class="last">NOTE: this concept is deprecated because it is too implicit.
69 Branches should now be explicitly closed using <a class="reference external" href="hg-commit.html"><tt class="docutils literal">hg commit
70 <span class="pre">--close-branch</span></tt></a> when they are no longer needed.</p>
71 </dd>
72 <dt>Branch, named</dt>
73 <dd><p class="first">A collection of changesets which have the same branch name. By
74 default, children of a changeset in a named branch belong to the
75 same named branch. A child can be explicitly assigned to a
76 different branch. See <a class="reference external" href="hg-branch.html"><tt class="docutils literal">hg help branch</tt></a>, <a class="reference external" href="hg-branches.html"><tt class="docutils literal">hg help branches</tt></a> and
77 <a class="reference external" href="hg-commit.html"><tt class="docutils literal">hg commit <span class="pre">--close-branch</span></tt></a> for more information on managing
78 branches.</p>
79 <p class="last">Named branches can be thought of as a kind of namespace, dividing
80 the collection of changesets that comprise the repository into a
81 collection of disjoint subsets. A named branch is not necessarily
82 a topological branch. If a new named branch is created from the
83 head of another named branch, or the default branch, but no
84 further changesets are added to that previous branch, then that
85 previous branch will be a branch in name only.</p>
86 </dd>
87 <dt>Branch tip</dt>
88 <dd>See 'Tip, branch'.</dd>
89 <dt>Branch, topological</dt>
90 <dd>Every time a new child changeset is created from a parent that is
91 not a head, a new topological branch is created. If a topological
92 branch is named, it becomes a named branch. If a topological
93 branch is not named, it becomes an anonymous branch of the
94 current, possibly default, branch.</dd>
95 <dt>Changelog</dt>
96 <dd>A record of the changesets in the order in which they were added
97 to the repository. This includes details such as changeset id,
98 author, commit message, date, and list of changed files.</dd>
99 <dt>Changeset</dt>
100 <dd>A snapshot of the state of the repository used to record a change.</dd>
101 <dt>Changeset, child</dt>
102 <dd>The converse of parent changeset: if P is a parent of C, then C is
103 a child of P. There is no limit to the number of children that a
104 changeset may have.</dd>
105 <dt>Changeset id</dt>
106 <dd>A SHA-1 hash that uniquely identifies a changeset. It may be
107 represented as either a &quot;long&quot; 40 hexadecimal digit string, or a
108 &quot;short&quot; 12 hexadecimal digit string.</dd>
109 <dt>Changeset, merge</dt>
110 <dd>A changeset with two parents. This occurs when a merge is
111 committed.</dd>
112 <dt>Changeset, parent</dt>
113 <dd>A revision upon which a child changeset is based. Specifically, a
114 parent changeset of a changeset C is a changeset whose node
115 immediately precedes C in the DAG. Changesets have at most two
116 parents.</dd>
117 <dt>Checkout</dt>
118 <dd><p class="first">(Noun) The working directory being updated to a specific
119 revision. This use should probably be avoided where possible, as
120 changeset is much more appropriate than checkout in this context.</p>
121 <p>Example: &quot;I'm using checkout X.&quot;</p>
122 <p>(Verb) Updating the working directory to a specific changeset. See
123 <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg help update</tt></a>.</p>
124 <p class="last">Example: &quot;I'm going to check out changeset X.&quot;</p>
125 </dd>
126 <dt>Child changeset</dt>
127 <dd>See 'Changeset, child'.</dd>
128 <dt>Close changeset</dt>
129 <dd>See 'Head, closed branch'.</dd>
130 <dt>Closed branch</dt>
131 <dd>See 'Branch, closed'.</dd>
132 <dt>Clone</dt>
133 <dd><p class="first">(Noun) An entire or partial copy of a repository. The partial
134 clone must be in the form of a revision and its ancestors.</p>
135 <p>Example: &quot;Is your clone up to date?&quot;</p>
136 <p>(Verb) The process of creating a clone, using <a class="reference external" href="hg-clone.html"><tt class="docutils literal">hg clone</tt></a>.</p>
137 <p class="last">Example: &quot;I'm going to clone the repository.&quot;</p>
138 </dd>
139 <dt>Closed branch head</dt>
140 <dd>See 'Head, closed branch'.</dd>
141 <dt>Commit</dt>
142 <dd><p class="first">(Noun) A synonym for changeset.</p>
143 <p>Example: &quot;Is the bug fixed in your recent commit?&quot;</p>
144 <p>(Verb) The act of recording changes to a repository. When files
145 are committed in a working directory, Mercurial finds the
146 differences between the committed files and their parent
147 changeset, creating a new changeset in the repository.</p>
148 <p class="last">Example: &quot;You should commit those changes now.&quot;</p>
149 </dd>
150 <dt>Cset</dt>
151 <dd>A common abbreviation of the term changeset.</dd>
152 <dt>DAG</dt>
153 <dd>The repository of changesets of a distributed version control
154 system (DVCS) can be described as a directed acyclic graph (DAG),
155 consisting of nodes and edges, where nodes correspond to
156 changesets and edges imply a parent -&gt; child relation. This graph
157 can be visualized by graphical tools such as <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log <span class="pre">--graph</span></tt></a>. In
158 Mercurial, the DAG is limited by the requirement for children to
159 have at most two parents.</dd>
160 <dt>Deprecated</dt>
161 <dd>Feature removed from documentation, but not scheduled for removal.</dd>
162 <dt>Default branch</dt>
163 <dd>See 'Branch, default'.</dd>
164 <dt>Descendant</dt>
165 <dd>Any changeset that can be reached by a chain of child changesets
166 from a given changeset. More precisely, the descendants of a
167 changeset can be defined by two properties: the child of a
168 changeset is a descendant, and the child of a descendant is a
169 descendant. See also: 'Ancestor'.</dd>
170 <dt>Diff</dt>
171 <dd><p class="first">(Noun) The difference between the contents and attributes of files
172 in two changesets or a changeset and the current working
173 directory. The difference is usually represented in a standard
174 form called a &quot;diff&quot; or &quot;patch&quot;. The &quot;git diff&quot; format is used
175 when the changes include copies, renames, or changes to file
176 attributes, none of which can be represented/handled by classic
177 &quot;diff&quot; and &quot;patch&quot;.</p>
178 <p>Example: &quot;Did you see my correction in the diff?&quot;</p>
179 <p>(Verb) Diffing two changesets is the action of creating a diff or
180 patch.</p>
181 <p class="last">Example: &quot;If you diff with changeset X, you will see what I mean.&quot;</p>
182 </dd>
183 <dt>Directory, working</dt>
184 <dd>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 'Parent, 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.</dd>
191 <dt>Draft</dt>
192 <dd>Changesets in the draft phase have not been shared with publishing
193 repositories and may thus be safely changed by history-modifying
194 extensions. See <a class="reference external" href="topic-phases.html"><tt class="docutils literal">hg help phases</tt></a>.</dd>
195 <dt>Experimental</dt>
196 <dd>Feature that may change or be removed at a later date.</dd>
197 <dt>Graph</dt>
198 <dd>See DAG and <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log <span class="pre">--graph</span></tt></a>.</dd>
199 <dt>Head</dt>
200 <dd><p class="first">The term 'head' may be used to refer to both a branch head or a
201 repository head, depending on the context. See 'Head, branch' and
202 'Head, repository' for specific definitions.</p>
203 <p class="last">Heads are where development generally takes place and are the
204 usual targets for update and merge operations.</p>
205 </dd>
206 <dt>Head, branch</dt>
207 <dd>A changeset with no descendants on the same named branch.</dd>
208 <dt>Head, closed branch</dt>
209 <dd><p class="first">A changeset that marks a head as no longer interesting. The closed
210 head is no longer listed by <a class="reference external" href="hg-heads.html"><tt class="docutils literal">hg heads</tt></a>. A branch is considered
211 closed when all its heads are closed and consequently is not
212 listed by <a class="reference external" href="hg-branches.html"><tt class="docutils literal">hg branches</tt></a>.</p>
213 <p class="last">Closed heads can be re-opened by committing new changeset as the
214 child of the changeset that marks a head as closed.</p>
215 </dd>
216 <dt>Head, repository</dt>
217 <dd>A topological head which has not been closed.</dd>
218 <dt>Head, topological</dt>
219 <dd>A changeset with no children in the repository.</dd>
220 <dt>History, immutable</dt>
221 <dd>Once committed, changesets cannot be altered. Extensions which
222 appear to change history actually create new changesets that
223 replace existing ones, and then destroy the old changesets. Doing
224 so in public repositories can result in old changesets being
225 reintroduced to the repository.</dd>
226 <dt>History, rewriting</dt>
227 <dd>The changesets in a repository are immutable. However, extensions
228 to Mercurial can be used to alter the repository, usually in such
229 a way as to preserve changeset contents.</dd>
230 <dt>Immutable history</dt>
231 <dd>See 'History, immutable'.</dd>
232 <dt>Merge changeset</dt>
233 <dd>See 'Changeset, merge'.</dd>
234 <dt>Manifest</dt>
235 <dd>Each changeset has a manifest, which is the list of files that are
236 tracked by the changeset.</dd>
237 <dt>Merge</dt>
238 <dd>Used to bring together divergent branches of work. When you update
239 to a changeset and then merge another changeset, you bring the
240 history of the latter changeset into your working directory. Once
241 conflicts are resolved (and marked), this merge may be committed
242 as a merge changeset, bringing two branches together in the DAG.</dd>
243 <dt>Named branch</dt>
244 <dd>See 'Branch, named'.</dd>
245 <dt>Null changeset</dt>
246 <dd>The empty changeset. It is the parent state of newly-initialized
247 repositories and repositories with no checked out revision. It is
248 thus the parent of root changesets and the effective ancestor when
249 merging unrelated changesets. Can be specified by the alias 'null'
250 or by the changeset ID '000000000000'.</dd>
251 <dt>Parent</dt>
252 <dd>See 'Changeset, parent'.</dd>
253 <dt>Parent changeset</dt>
254 <dd>See 'Changeset, parent'.</dd>
255 <dt>Parent, working directory</dt>
256 <dd>The working directory parent reflects a virtual revision which is
257 the child of the changeset (or two changesets with an uncommitted
258 merge) shown by <a class="reference external" href="hg-parents.html"><tt class="docutils literal">hg parents</tt></a>. This is changed with
259 <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg update</tt></a>. Other commands to see the working directory parent
260 are <a class="reference external" href="hg-summary.html"><tt class="docutils literal">hg summary</tt></a> and <a class="reference external" href="hg-id.html"><tt class="docutils literal">hg id</tt></a>. Can be specified by the alias &quot;.&quot;.</dd>
261 <dt>Patch</dt>
262 <dd><p class="first">(Noun) The product of a diff operation.</p>
263 <p>Example: &quot;I've sent you my patch.&quot;</p>
264 <p>(Verb) The process of using a patch file to transform one
265 changeset into another.</p>
266 <p class="last">Example: &quot;You will need to patch that revision.&quot;</p>
267 </dd>
268 <dt>Phase</dt>
269 <dd>A per-changeset state tracking how the changeset has been or
270 should be shared. See <a class="reference external" href="topic-phases.html"><tt class="docutils literal">hg help phases</tt></a>.</dd>
271 <dt>Public</dt>
272 <dd>Changesets in the public phase have been shared with publishing
273 repositories and are therefore considered immutable. See <a class="reference external" href="topic-phases.html"><tt class="docutils literal">hg help
274 phases</tt></a>.</dd>
275 <dt>Pull</dt>
276 <dd>An operation in which changesets in a remote repository which are
277 not in the local repository are brought into the local
278 repository. Note that this operation without special arguments
279 only updates the repository, it does not update the files in the
280 working directory. See <a class="reference external" href="hg-pull.html"><tt class="docutils literal">hg help pull</tt></a>.</dd>
281 <dt>Push</dt>
282 <dd>An operation in which changesets in a local repository which are
283 not in a remote repository are sent to the remote repository. Note
284 that this operation only adds changesets which have been committed
285 locally to the remote repository. Uncommitted changes are not
286 sent. See <a class="reference external" href="hg-push.html"><tt class="docutils literal">hg help push</tt></a>.</dd>
287 <dt>Repository</dt>
288 <dd>The metadata describing all recorded states of a collection of
289 files. Each recorded state is represented by a changeset. A
290 repository is usually (but not always) found in the <tt class="docutils literal">.hg</tt>
291 subdirectory of a working directory. Any recorded state can be
292 recreated by &quot;updating&quot; a working directory to a specific
293 changeset.</dd>
294 <dt>Repository head</dt>
295 <dd>See 'Head, repository'.</dd>
296 <dt>Revision</dt>
297 <dd>A state of the repository at some point in time. Earlier revisions
298 can be updated to by using <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg update</tt></a>. See also 'Revision
299 number'; See also 'Changeset'.</dd>
300 <dt>Revision number</dt>
301 <dd>This integer uniquely identifies a changeset in a specific
302 repository. It represents the order in which changesets were added
303 to a repository, starting with revision number 0. Note that the
304 revision number may be different in each clone of a repository. To
305 identify changesets uniquely between different clones, see
306 'Changeset id'.</dd>
307 <dt>Revlog</dt>
308 <dd>History storage mechanism used by Mercurial. It is a form of delta
309 encoding, with occasional full revision of data followed by delta
310 of each successive revision. It includes data and an index
311 pointing to the data.</dd>
312 <dt>Rewriting history</dt>
313 <dd>See 'History, rewriting'.</dd>
314 <dt>Root</dt>
315 <dd>A changeset that has only the null changeset as its parent. Most
316 repositories have only a single root changeset.</dd>
317 <dt>Secret</dt>
318 <dd>Changesets in the secret phase may not be shared via push, pull,
319 or clone. See <a class="reference external" href="topic-phases.html"><tt class="docutils literal">hg help phases</tt></a>.</dd>
320 <dt>Tag</dt>
321 <dd>An alternative name given to a changeset. Tags can be used in all
322 places where Mercurial expects a changeset ID, e.g., with
323 <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg update</tt></a>. The creation of a tag is stored in the history and
324 will thus automatically be shared with other using push and pull.</dd>
325 <dt>Tip</dt>
326 <dd>The changeset with the highest revision number. It is the changeset
327 most recently added in a repository.</dd>
328 <dt>Tip, branch</dt>
329 <dd>The head of a given branch with the highest revision number. When
330 a branch name is used as a revision identifier, it refers to the
331 branch tip. See also 'Branch, head'. Note that because revision
332 numbers may be different in different repository clones, the
333 branch tip may be different in different cloned repositories.</dd>
334 <dt>Update</dt>
335 <dd><p class="first">(Noun) Another synonym of changeset.</p>
336 <p>Example: &quot;I've pushed an update.&quot;</p>
337 <p>(Verb) This term is usually used to describe updating the state of
338 the working directory to that of a specific changeset. See
339 <a class="reference external" href="hg-update.html"><tt class="docutils literal">hg help update</tt></a>.</p>
340 <p class="last">Example: &quot;You should update.&quot;</p>
341 </dd>
342 <dt>Working directory</dt>
343 <dd>See 'Directory, working'.</dd>
344 <dt>Working directory parent</dt>
345 <dd>See 'Parent, working directory'.</dd>
346 </dl>
347 </div>
348 </body>
349 </html>