Mercurial > evolve
comparison docs/concepts.rst @ 4619:93514c421528
docs: change `troubled` references to `unstable`
Per https://www.mercurial-scm.org/wiki/CEDVocabulary
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 27 Apr 2019 21:27:54 -0400 |
parents | 803d32f4e498 |
children | a05bfdf372fb |
comparison
equal
deleted
inserted
replaced
4618:803d32f4e498 | 4619:93514c421528 |
---|---|
90 | 90 |
91 (If you prefer a calculus metaphor to set theory, it might help to | 91 (If you prefer a calculus metaphor to set theory, it might help to |
92 think of the traditional parent/child DAG as the first derivative of | 92 think of the traditional parent/child DAG as the first derivative of |
93 your source code, and the obsolescence DAG as the second derivative.) | 93 your source code, and the obsolescence DAG as the second derivative.) |
94 | 94 |
95 Troubled changesets (orphan, bumped, divergent) | 95 Unstable changesets (orphan, bumped, divergent) |
96 ----------------------------------------------- | 96 ----------------------------------------------- |
97 | 97 |
98 Evolving history can introduce problems that need to be solved. For | 98 Evolving history can introduce problems that need to be solved. For |
99 example, if you prune a changeset *P* but not its descendants, those | 99 example, if you prune a changeset *P* but not its descendants, those |
100 descendants are now on thin ice. To push a changeset to another | 100 descendants are now on thin ice. To push a changeset to another |
131 changeset *C* to have different successors. When this happens, the | 131 changeset *C* to have different successors. When this happens, the |
132 successors are both called *divergent* (unless one of them is in | 132 successors are both called *divergent* (unless one of them is in |
133 public phase; only mutable changesets are divergent). | 133 public phase; only mutable changesets are divergent). |
134 | 134 |
135 The collective term for orphan, bumped, and divergent changeset is | 135 The collective term for orphan, bumped, and divergent changeset is |
136 *troubled*:: | 136 *unstable*:: |
137 | 137 |
138 troubled = orphan ∪ bumped ∪ divergent | 138 unstable = orphan ∪ bumped ∪ divergent |
139 | 139 |
140 It is possible for a changeset to be in any of the troubled categories | 140 It is possible for a changeset to be in any of the unstable categories |
141 at the same time: it might be an orphan and divergent, or bumped and | 141 at the same time: it might be an orphan and divergent, or bumped and |
142 divergent, or whatever. | 142 divergent, or whatever. |
143 | 143 |
144 [diagram: Venn diagram of troubled changesets, showing overlap] | 144 [diagram: Venn diagram of unstable changesets, showing overlap] |
145 | 145 |
146 The presence of troubled changesets indicates the need to run ``hg | 146 The presence of unstable changesets indicates the need to run ``hg |
147 evolve``. | 147 evolve``. |
148 | 148 |
149 Hidden (and visible) changesets | 149 Hidden (and visible) changesets |
150 ------------------------------- | 150 ------------------------------- |
151 | 151 |
190 hideable = obsolete | 190 hideable = obsolete |
191 blockers = bookmarks ∪ parents(workingcopy) ∪ localtags | 191 blockers = bookmarks ∪ parents(workingcopy) ∪ localtags |
192 hidden = hideable ∖ ancestors((repo ∖ hideable) ∪ blockers) | 192 hidden = hideable ∖ ancestors((repo ∖ hideable) ∪ blockers) |
193 | 193 |
194 This will probably be clearer with a worked example. First, here's a | 194 This will probably be clearer with a worked example. First, here's a |
195 repository with some obsolete changesets, some troubled changesets, | 195 repository with some obsolete changesets, some unstable changesets, |
196 one bookmark, a working copy, and some hidden changesets:: | 196 one bookmark, a working copy, and some hidden changesets:: |
197 | 197 |
198 x-x | 198 x-x |
199 / | 199 / |
200 -o-o-o-o | 200 -o-o-o-o |