diff hgext3rd/topic/__init__.py @ 3225:28fb347a5bf8

typos: fix typos in several locations A user at Google attempted to fix our local copy because they had noticed a typo (accross instead of across), but this will just get overwritten on our next import. This commit fixes that case and a few others that my editor found. Most of the typos were in comments, but user-visible output is changed in a few cases: - accross -> across - splitted -> split - ambigious -> ambiguous - evolvestte -> evolvestate (this is in a ui.debug, so not often seen) There is another typo that I wanted to fix, but didn't: 'supercede' is spelled 'superseed' in a few locations. I believe this is only internal to the extension, instead of being user-visible, so while it could probably be fixed easily, I wasn't 100% sure it didn't end up in a file on disk or something and might cause problems, so I left it alone.
author Kyle Lippincott <spectral@google.com>
date Mon, 04 Dec 2017 14:27:27 -0800
parents 8f74cf219be3
children c1d20598bc2b
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Mon Dec 04 17:16:01 2017 +0530
+++ b/hgext3rd/topic/__init__.py	Mon Dec 04 14:27:27 2017 -0800
@@ -9,12 +9,12 @@
 
 Compared to bookmark, topic is reference carried by each changesets of the
 series instead of just the single head revision.  Topic are quite similar to
-the way named branch work, except they eventualy fade away when the changeset
+the way named branch work, except they eventually fade away when the changeset
 becomes part of the immutable history. Changeset can belong to both a topic and
 a named branch, but as long as it is mutable, its topic identity will prevail.
 As a result, default destination for 'update', 'merge', etc...  will take topic
 into account. When a topic is active these operations will only consider other
-changesets on that topic (and, in some occurence, bare changeset on same
+changesets on that topic (and, in some occurrence, bare changeset on same
 branch).  When no topic is active, changeset with topic will be ignored and
 only bare one on the same branch will be taken in account.
 
@@ -77,7 +77,7 @@
 ===================
 
 Topic vanish when changeset move to the public phases. Moving to the public
-phase usually happens on push, but it is possible ot update that behavior. The
+phase usually happens on push, but it is possible to update that behavior. The
 server needs to have specific config for this.
 
     # everything pushed become public (the default)
@@ -201,9 +201,9 @@
     )
 
     def extsetup(ui):
-        # register config that strickly belong to other code (thg, core, etc)
+        # register config that strictly belong to other code (thg, core, etc)
         #
-        # To ensure all config items we used are registerd, we register them if
+        # To ensure all config items we used are registered, we register them if
         # nobody else did so far.
         from mercurial import configitems
         extraitem = functools.partial(configitems._register, ui._knownconfig)
@@ -444,7 +444,7 @@
             reporef = weakref.ref(self)
 
             def currenttopicempty(tr):
-                # check active topic emptyness
+                # check active topic emptiness
                 repo = reporef()
                 csetcount = stack.stack(repo, topic=ct).changesetcount
                 empty = csetcount == 0
@@ -741,14 +741,14 @@
 """
 
 def _findconvertbmarktopic(repo, bmark):
-    """find revisions unambigiously defined by a bookmark
+    """find revisions unambiguously defined by a bookmark
 
     find all changesets under the bookmark and under that bookmark only.
     """
     return repo.revs(CONVERTBOOKREVSET, bmark, bmark, bmark, bmark, bmark)
 
 def _applyconvertbmarktopic(ui, repo, revs, old, bmark, tr):
-    """apply bookmark convertion to topic
+    """apply bookmark conversion to topic
 
     Sets a topic as same as bname to all the changesets under the bookmark
     and delete the bookmark, if topic is set to any changeset