[PATCH 07 of 14 evolve-ext] docs: change `divergent` references to `content-divergent`

Matt Harbison mharbison72 at gmail.com
Sun Apr 28 00:28:54 EDT 2019


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1556415664 14400
#      Sat Apr 27 21:41:04 2019 -0400
# Node ID acf83375bf919ce46f92f2e757b6826b70d8e72a
# Parent  62818a50aa85028e6a938eee4565d94277614f71
docs: change `divergent` references to `content-divergent`

Per https://www.mercurial-scm.org/wiki/CEDVocabulary

diff --git a/docs/concepts.rst b/docs/concepts.rst
--- a/docs/concepts.rst
+++ b/docs/concepts.rst
@@ -92,8 +92,8 @@
 think of the traditional parent/child DAG as the first derivative of
 your source code, and the obsolescence DAG as the second derivative.)
 
-Unstable changesets (orphan, bumped, divergent)
------------------------------------------------
+Unstable changesets (orphan, bumped, content-divergent)
+-------------------------------------------------------
 
 Evolving history can introduce problems that need to be solved. For
 example, if you prune a changeset *P* but not its descendants, those
@@ -129,17 +129,17 @@
 
 The third sort of trouble is when Alice and Bob both amend the same
 changeset *C* to have different successors. When this happens, the
-successors are both called *divergent* (unless one of them is in
-public phase; only mutable changesets are divergent).
+successors are both called *content-divergent* (unless one of them is in
+public phase; only mutable changesets are content-divergent).
 
-The collective term for orphan, bumped, and divergent changeset is
+The collective term for orphan, bumped, and content-divergent changeset is
 *unstable*::
 
-  unstable = orphan ∪ bumped ∪ divergent
+  unstable = orphan ∪ bumped ∪ content-divergent
 
 It is possible for a changeset to be in any of the unstable categories
-at the same time: it might be an orphan and divergent, or bumped and
-divergent, or whatever.
+at the same time: it might be an orphan and content-divergent, or bumped and
+content-divergent, or whatever.
 
   [diagram: Venn diagram of unstable changesets, showing overlap]
 
diff --git a/docs/evolve-faq.rst b/docs/evolve-faq.rst
--- a/docs/evolve-faq.rst
+++ b/docs/evolve-faq.rst
@@ -138,7 +138,7 @@
 You can still use rebase to move a whole segment of the changeset graph together.
 
 .. warning:: Beware that rebasing changesets already obsolete will likely result in
-             divergent versions of the changesets.
+             content-divergent versions of the changesets.
 
 Resolve history instability: ``evolve``
 ---------------------------------------
@@ -151,7 +151,7 @@
 declare it stable, in other words rebase its former descendants on its
 newest version.
 
-You can also use evolve to solve `bumped` and `divergent` changeset/
+You can also use evolve to solve `bumped` and `content-divergent` changeset/
 
 
 Fix my history afterward: ``prune -n``
diff --git a/docs/obs-terms.rst b/docs/obs-terms.rst
--- a/docs/obs-terms.rst
+++ b/docs/obs-terms.rst
@@ -104,8 +104,8 @@
 |                     | for *unstable*           |                             |
 |                     | changeset to combine     | (possible alternative name: |
 |                     | multiple issue at once.  | precarious)                 |
-|                     | (a.k.a. divergent   and  |                             |
-|                     | orphan)                  +-----------------------------+
+|                     | (a.k.a. content-divergent|                             |
+|                     | and orphan)              +-----------------------------+
 |                     |                          |                             |
 |                     | (possible alternative    | **bumped**                  |
 |                     | names: unsettled,        |                             |
@@ -125,17 +125,18 @@
 |                     |                          | mindless, disenchanting)    |
 |                     |                          |                             |
 |                     |                          +-----------------------------+
-|                     |                          | **divergent**               |
+|                     |                          | **content-divergent**       |
 |                     |                          |                             |
-|                     |                          | *divergent*   is changeset  |
-|                     |                          | that appears when multiple  |
-|                     |                          | changesets are successors   |
-|                     |                          | of the same predecessor.    |
+|                     |                          | *content-divergent*   is a  |
+|                     |                          | changeset that appears when |
+|                     |                          | multiple changesets are     |
+|                     |                          | successors of the same      |
+|                     |                          | predecessor.                |
 |                     |                          |                             |
-|                     |                          | *divergent*   are solved    |
-|                     |                          | through a three ways merge  |
-|                     |                          | between the two             |
-|                     |                          | *divergent*   ,             |
+|                     |                          | *content-divergent*   are   |
+|                     |                          | solved through a three way  |
+|                     |                          | merge between the two       |
+|                     |                          | *content-divergent*   ,     |
 |                     |                          | using the last "obsolete-   |
 |                     |                          | -common-ancestor" as the    |
 |                     |                          | base.                       |
@@ -226,7 +227,7 @@
 ``````
 
 Automatically resolve *troublesome* changesets
-(*orphan*, *bumped* and *divergent*)
+(*orphan*, *bumped* and *content-divergent*)
 
 This is an important name as hg pull/push will suggest it the same way it
 suggest merging when you add heads.
diff --git a/docs/sharing.rst b/docs/sharing.rst
--- a/docs/sharing.rst
+++ b/docs/sharing.rst
@@ -512,7 +512,7 @@
 the most common type of unstable changeset. (Recall that a
 non-obsolete changeset with obsolete ancestors is an orphan.)
 
-Two other types of instability can happen: *divergent* and
+Two other types of instability can happen: *content-divergent* and
 *bumped* changesets. Both are more likely with shared mutable
 history, especially mutable history shared by multiple developers.
 
@@ -556,11 +556,11 @@
 
 and add the same text.
 
-Example 6: Divergent changesets
-===============================
+Example 6: Content-divergent changesets
+=======================================
 
 When an obsolete changeset has two successors, those successors are
-*divergent*. One way to get into such a situation is by failing
+*content-divergent*. One way to get into such a situation is by failing
 to communicate with your teammates. Let's see how that might happen.
 
 First, we'll have Bob commit a bug fix that could still be improved::
@@ -596,11 +596,11 @@
   [...]
   added 1 changesets with 1 changes to 2 files (+1 heads)
   (run 'hg heads' to see heads, 'hg merge' to merge)
-  2 new divergent changesets
+  2 new content-divergent changesets
 
 Figure 9 shows the situation in Bob's repository.
 
-  [figure SG09: Bob's repo with 2 heads for the 2 divergent changesets, 6:a360 and 7:e3f9; wc is at 6:a360; both are successors of obsolete 4:2fe6, hence divergence]
+  [figure SG09: Bob's repo with 2 heads for the 2 content-divergent changesets, 6:a360 and 7:e3f9; wc is at 6:a360; both are successors of obsolete 4:2fe6, hence divergence]
 
 Now we need to get out of trouble. As usual, the answer is to evolve
 history. ::
@@ -619,7 +619,7 @@
 (``internal:other``) that will take Alice's changes over Bob's. (You
 might wonder why Bob wouldn't prefer his own changes by using
 ``internal:local``. He's avoiding a `bug`_ in ``evolve`` that occurs
-when evolving divergent changesets using ``internal:local``.)
+when evolving content-divergent changesets using ``internal:local``.)
 
 # XXX this link does not work
 .. _`bug`: https://bitbucket.org/marmoute/mutable-history/issue/48/
diff --git a/docs/tutorial/draft.md b/docs/tutorial/draft.md
--- a/docs/tutorial/draft.md
+++ b/docs/tutorial/draft.md
@@ -552,7 +552,7 @@
 
 ## Bumped
 
-## Divergent
+## Content-divergent
 
 ~~~graphviz
     digraph G {
@@ -561,17 +561,17 @@
         node[fixedsize=true, style="filled", width=1, height=1, fillcolor="#7F7FFF", shape="pentagon"];
 
         Root -> Base;
-        Root -> Divergent1;
-        Root -> Divergent2;
+        Root -> Content-divergent1;
+        Root -> Content-divergent2;
 
         // Obsolescence links
         edge[dir=back, style=dotted, arrowtail=dot];
-        Base -> Divergent1;
-        Base -> Divergent2;
+        Base -> Content-divergent1;
+        Base -> Content-divergent2;
 
         Base [shape="pentagon", fillcolor="#DFDFFF"];
-        Divergent1 [fillcolor="#FF3535"];
-        Divergent2 [fillcolor="#FF3535"];
+        Content-divergent1 [fillcolor="#FF3535"];
+        Content-divergent2 [fillcolor="#FF3535"];
         Root[shape="circle"];
     }
 ~~~
diff --git a/docs/tutorial/slides.md b/docs/tutorial/slides.md
--- a/docs/tutorial/slides.md
+++ b/docs/tutorial/slides.md
@@ -2170,7 +2170,7 @@
     }
 ~~~
 
-#### Divergent
+#### Content-divergent
 
 Now called `Content-divergent`
 
@@ -2181,17 +2181,17 @@
         node[fixedsize=true, style="filled", width=1, height=1, fillcolor="#7F7FFF", shape="pentagon"];
 
         Root -> Base;
-        Root -> Divergent1;
-        Root -> Divergent2;
+        Root -> Content-divergent1;
+        Root -> Content-divergent2;
 
         // Obsolescence links
         edge[dir=back, style=dotted, arrowtail=dot];
-        Base -> Divergent1;
-        Base -> Divergent2;
+        Base -> Content-divergent1;
+        Base -> Content-divergent2;
 
         Base [shape="pentagon", fillcolor="#DFDFFF"];
-        Divergent1 [fillcolor="#FF3535"];
-        Divergent2 [fillcolor="#FF3535"];
+        Content-divergent1 [fillcolor="#FF3535"];
+        Content-divergent2 [fillcolor="#FF3535"];
         Root[shape="circle"];
     }
 ~~~
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -356,7 +356,7 @@
 a consistent way for you to get back to a stable repository.
 
 (Incidentally, there are two other types of instability that changesets
-can get into with ``evolve``: they may be *divergent* or
+can get into with ``evolve``: they may be *content-divergent* or
 *bumped*. Both of those states are more likely to occur when
 `sharing mutable history`_, so we won't cover them in this user guide.)
 
@@ -594,7 +594,7 @@
 change in the future. Consider the history in Figure 12, where revision 27
 is obsolete and the child of 26, also obsolete. If we ``hg touch 27``, that
 creates a new revision which is a non-obsolete child of 26—i.e., it is an
-orphan. It's also *divergent*, another type of trouble that we'll learn
+orphan. It's also *content-divergent*, another type of trouble that we'll learn
 about in the `next section`_.
 
 .. _`next section`: sharing.html


More information about the Mercurial-devel mailing list