spelling: fixes from spell checker
authorMads Kiilerich <madski@unity3d.com>
Sun, 13 Apr 2014 19:01:00 +0200
changeset 21024 7731a2281cf0
parent 21023 57b50abe2b24
child 21025 54af51c18c4c
spelling: fixes from spell checker
hgext/color.py
hgext/convert/__init__.py
mercurial/bundle2.py
mercurial/cmdutil.py
mercurial/exchange.py
mercurial/merge.py
mercurial/obsolete.py
mercurial/revset.py
mercurial/wireproto.py
tests/run-tests.py
tests/test-ancestor.py
tests/test-bookmarks-current.t
tests/test-bundle.t
tests/test-command-template.t
tests/test-convert.t
tests/test-encoding-textwrap.t
tests/test-grep.t
tests/test-histedit-fold.t
tests/test-i18n.t
tests/test-import-git.t
tests/test-largefiles-cache.t
tests/test-largefiles.t
tests/test-mq-guards.t
tests/test-newbranch.t
tests/test-obsolete-divergent.t
tests/test-phases-exchange.t
tests/test-phases.t
tests/test-propertycache.py
tests/test-push-warn.t
tests/test-rebase-scenario-global.t
tests/test-rename-merge2.t
tests/test-revset.t
tests/test-subrepo-git.t
tests/test-subrepo-svn.t
tests/test-subrepo.t
tests/test-transplant.t
--- a/hgext/color.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/hgext/color.py	Sun Apr 13 19:01:00 2014 +0200
@@ -438,7 +438,7 @@
     _styles = {}
     for effect in _effects.keys():
         _styles[effect] = effect
-    ui.write(('colormode: %s\n') % ui._colormode)
+    ui.write(('color mode: %s\n') % ui._colormode)
     ui.write(_('available colors:\n'))
     for label, colors in _styles.items():
         ui.write(('%s\n') % colors, label=label)
--- a/hgext/convert/__init__.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/hgext/convert/__init__.py	Sun Apr 13 19:01:00 2014 +0200
@@ -146,7 +146,7 @@
     you want to close a branch. Each entry contains a revision or hash
     separated by white space.
 
-    The tagpmap is a file that exactly analogous to the branchmap. This will
+    The tagmap is a file that exactly analogous to the branchmap. This will
     rename tags on the fly and prevent the 'update tags' commit usually found
     at the end of a convert process.
 
--- a/mercurial/bundle2.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/bundle2.py	Sun Apr 13 19:01:00 2014 +0200
@@ -24,7 +24,7 @@
 the Binary format
 ============================
 
-All numbers are unsigned and big endian.
+All numbers are unsigned and big-endian.
 
 stream level parameters
 ------------------------
@@ -40,21 +40,21 @@
   A blob of `params size` containing the serialized version of all stream level
   parameters.
 
-  The blob contains a space separated list of parameters. parameter with value
+  The blob contains a space separated list of parameters. Parameters with value
   are stored in the form `<name>=<value>`. Both name and value are urlquoted.
 
   Empty name are obviously forbidden.
 
   Name MUST start with a letter. If this first letter is lower case, the
-  parameter is advisory and can be safefly ignored. However when the first
+  parameter is advisory and can be safely ignored. However when the first
   letter is capital, the parameter is mandatory and the bundling process MUST
   stop if he is not able to proceed it.
 
   Stream parameters use a simple textual format for two main reasons:
 
-  - Stream level parameters should remains simple and we want to discourage any
+  - Stream level parameters should remain simple and we want to discourage any
     crazy usage.
-  - Textual data allow easy human inspection of a the bundle2 header in case of
+  - Textual data allow easy human inspection of a bundle2 header in case of
     troubles.
 
   Any Applicative level options MUST go into a bundle2 part instead.
@@ -85,14 +85,14 @@
 
     :typesize: (one byte)
 
-    :typename: alphanumerical part name
+    :parttype: alphanumerical part name
 
     :partid: A 32bits integer (unique in the bundle) that can be used to refer
              to this part.
 
     :parameters:
 
-        Part's parameter may have arbitraty content, the binary structure is::
+        Part's parameter may have arbitrary content, the binary structure is::
 
             <mandatory-count><advisory-count><param-sizes><param-data>
 
@@ -121,7 +121,7 @@
     `chunksize` says)` The payload part is concluded by a zero size chunk.
 
     The current implementation always produces either zero or one chunk.
-    This is an implementation limitation that will ultimatly be lifted.
+    This is an implementation limitation that will ultimately be lifted.
 
 Bundle processing
 ============================
@@ -193,7 +193,7 @@
     """keep record of what happens during and unbundle
 
     New records are added using `records.add('cat', obj)`. Where 'cat' is a
-    category of record and obj is an arbitraty object.
+    category of record and obj is an arbitrary object.
 
     `records['cat']` will return all entries of this category 'cat'.
 
@@ -327,7 +327,7 @@
 
     Use the `addparam` method to add stream level parameter. and `addpart` to
     populate it. Then call `getchunks` to retrieve all the binary chunks of
-    datathat compose the bundle2 container."""
+    data that compose the bundle2 container."""
 
     def __init__(self, ui):
         self.ui = ui
@@ -345,7 +345,7 @@
     def addpart(self, part):
         """add a new part to the bundle2 container
 
-        Parts contains the actuall applicative payload."""
+        Parts contains the actual applicative payload."""
         assert part.id is None
         part.id = len(self._parts) # very cheap counter
         self._parts.append(part)
@@ -412,7 +412,7 @@
 
     @util.propertycache
     def params(self):
-        """dictionnary of stream level parameters"""
+        """dictionary of stream level parameters"""
         self.ui.debug('reading bundle2 stream parameters\n')
         params = {}
         paramssize = self._unpack(_fstreamparamsize)[0]
--- a/mercurial/cmdutil.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/cmdutil.py	Sun Apr 13 19:01:00 2014 +0200
@@ -2258,7 +2258,7 @@
     This is an independent function to let extension to plug in and react to
     the imminent revert.
 
-    Make sure you have the working directory locked when caling this function.
+    Make sure you have the working directory locked when calling this function.
     """
     parent, p2 = parents
     node = ctx.node()
--- a/mercurial/exchange.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/exchange.py	Sun Apr 13 19:01:00 2014 +0200
@@ -1,4 +1,4 @@
-# exchange.py - utily to exchange data between repo.
+# exchange.py - utility to exchange data between repos.
 #
 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
 #
@@ -17,7 +17,7 @@
 
     It purpose is to carry push related state and very common operation.
 
-    A new should be created at the begining of each push and discarded
+    A new should be created at the beginning of each push and discarded
     afterward.
     """
 
@@ -42,7 +42,7 @@
         #   we have outgoing changesets but refused to push
         # - other values as described by addchangegroup()
         self.ret = None
-        # discover.outgoing object (contains common and outgoin data)
+        # discover.outgoing object (contains common and outgoing data)
         self.outgoing = None
         # all remote heads before the push
         self.remoteheads = None
@@ -244,7 +244,7 @@
     pushop.commonheads = cheads
 
 def _pushsyncphase(pushop):
-    """synchronise phase information locally and remotly"""
+    """synchronise phase information locally and remotely"""
     unfi = pushop.repo.unfiltered()
     cheads = pushop.commonheads
     if pushop.ret:
@@ -379,7 +379,7 @@
 
     It purpose is to carry push related state and very common operation.
 
-    A new should be created at the begining of each pull and discarded
+    A new should be created at the beginning of each pull and discarded
     afterward.
     """
 
@@ -400,9 +400,9 @@
         self.common = None
         # set of pulled head
         self.rheads = None
-        # list of missing changeset to fetch remotly
+        # list of missing changeset to fetch remotely
         self.fetch = None
-        # result of changegroup pulling (used as returng code by pull)
+        # result of changegroup pulling (used as return code by pull)
         self.cgresult = None
         # list of step remaining todo (related to future bundle2 usage)
         self.todosteps = set(['changegroup', 'phases', 'obsmarkers'])
@@ -609,7 +609,7 @@
     return bundle2.unbundle20(repo.ui, util.chunkbuffer(bundler.getchunks()))
 
 class PushRaced(RuntimeError):
-    """An exception raised during unbunding that indicate a push race"""
+    """An exception raised during unbundling that indicate a push race"""
 
 def check_heads(repo, their_heads, context):
     """check if the heads of a repo have been modified
@@ -629,7 +629,7 @@
     """Apply a bundle to a repo.
 
     this function makes sure the repo is locked during the application and have
-    mechanism to check that no push race occured between the creation of the
+    mechanism to check that no push race occurred between the creation of the
     bundle and its application.
 
     If the push was raced as PushRaced exception is raised."""
--- a/mercurial/merge.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/merge.py	Sun Apr 13 19:01:00 2014 +0200
@@ -85,14 +85,14 @@
     def _readrecords(self):
         """Read merge state from disk and return a list of record (TYPE, data)
 
-        We read data from both V1 and Ve files decide which on to use.
+        We read data from both v1 and v2 files and decide which one to use.
 
-        V1 have been used by version prior to 2.9.1 and contains less data than
-        v2. We read both version and check if no data in v2 contradict one in
+        V1 has been used by version prior to 2.9.1 and contains less data than
+        v2. We read both versions and check if no data in v2 contradicts
         v1. If there is not contradiction we can safely assume that both v1
         and v2 were written at the same time and use the extract data in v2. If
         there is contradiction we ignore v2 content as we assume an old version
-        of Mercurial have over written the mergstate file and left an old v2
+        of Mercurial has overwritten the mergestate file and left an old v2
         file around.
 
         returns list of record [(TYPE, data), ...]"""
--- a/mercurial/obsolete.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/obsolete.py	Sun Apr 13 19:01:00 2014 +0200
@@ -176,7 +176,7 @@
         if ':' in key or '\0' in key:
             raise ValueError("':' and '\0' are forbidden in metadata key'")
         if '\0' in value:
-            raise ValueError("':' are forbidden in metadata value'")
+            raise ValueError("':' is forbidden in metadata value'")
     return '\0'.join(['%s:%s' % (k, meta[k]) for k in sorted(meta)])
 
 def decodemeta(data):
@@ -355,8 +355,8 @@
 def _pushkeyescape(markers):
     """encode markers into a dict suitable for pushkey exchange
 
-    - binary data is base86 encoded
-    - splitted in chunks less than 5300 bytes"""
+    - binary data is base85 encoded
+    - split in chunks smaller than 5300 bytes"""
     keys = {}
     parts = []
     currentlen = _maxpayload * 2  # ensure we create a new part
@@ -652,7 +652,7 @@
                 # Within a marker, a successor may have divergent successors
                 # sets. In such a case, the marker will contribute multiple
                 # divergent successors sets. If multiple successors have
-                # divergent successors sets, a cartesian product is used.
+                # divergent successors sets, a Cartesian product is used.
                 #
                 # At the end we post-process successors sets to remove
                 # duplicated entry and successors set that are strict subset of
@@ -779,7 +779,7 @@
 def _computebumpedset(repo):
     """the set of revs trying to obsolete public revisions"""
     bumped = set()
-    # utils function (avoid attribute lookup in the loop)
+    # util function (avoid attribute lookup in the loop)
     phase = repo._phasecache.phase # would be faster to grab the full list
     public = phases.public
     cl = repo.changelog
@@ -825,7 +825,7 @@
     """Add obsolete markers between changesets in a repo
 
     <relations> must be an iterable of (<old>, (<new>, ...)[,{metadata}])
-    tuple. `old` and `news` are changectx. metadata is an optional dictionnary
+    tuple. `old` and `news` are changectx. metadata is an optional dictionary
     containing metadata for this marker only. It is merged with the global
     metadata specified through the `metadata` argument of this function,
 
--- a/mercurial/revset.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/revset.py	Sun Apr 13 19:01:00 2014 +0200
@@ -2459,7 +2459,7 @@
 
     If the ascending attribute is set, that means the two structures are
     ordered in either an ascending or descending way. Therefore, we can add
-    them mantaining the order by iterating over both at the same time
+    them maintaining the order by iterating over both at the same time
 
     This class does not duck-type baseset and it's only supposed to be used
     internally
--- a/mercurial/wireproto.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/mercurial/wireproto.py	Sun Apr 13 19:01:00 2014 +0200
@@ -393,7 +393,7 @@
 
         The command is expected to return a stream.
 
-        The stream may have been compressed in some implementaitons. This
+        The stream may have been compressed in some implementations. This
         function takes care of the decompression. This is the only difference
         with _callstream.
 
@@ -475,7 +475,7 @@
 commands = {}
 
 def wireprotocommand(name, args=''):
-    """decorator for wireprotocol command"""
+    """decorator for wire protocol command"""
     def register(func):
         commands[name] = (func, args)
         return func
@@ -551,7 +551,7 @@
 
     - returns a lists: easy to alter
     - change done here will be propagated to both `capabilities` and `hello`
-      command without any other effort. without any other action needed.
+      command without any other action needed.
     """
     # copy to prevent modification of the global list
     caps = list(wireprotocaps)
@@ -569,7 +569,7 @@
     caps.append('httpheader=1024')
     return caps
 
-# If you are writting and extension and consider wrapping this function. Wrap
+# If you are writing an extension and consider wrapping this function. Wrap
 # `_capabilities` instead.
 @wireprotocommand('capabilities')
 def capabilities(repo, proto):
@@ -692,7 +692,7 @@
     The format is simple: the server writes out a line with the amount
     of files, then the total amount of bytes to be transferred (separated
     by a space). Then, for each file, the server first writes the filename
-    and filesize (separated by the null character), then the file contents.
+    and file size (separated by the null character), then the file contents.
     '''
 
     if not _allowstream(repo.ui):
@@ -776,7 +776,7 @@
             os.unlink(tempname)
     except util.Abort, inst:
         # The old code we moved used sys.stderr directly.
-        # We did not changed it to minise code change.
+        # We did not change it to minimise code change.
         # This need to be moved to something proper.
         # Feel free to do it.
         sys.stderr.write("abort: %s\n" % inst)
--- a/tests/run-tests.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/run-tests.py	Sun Apr 13 19:01:00 2014 +0200
@@ -149,7 +149,7 @@
         help="print a test coverage report")
     parser.add_option("-d", "--debug", action="store_true",
         help="debug mode: write output of test scripts to console"
-             " rather than capturing and diff'ing it (disables timeout)")
+             " rather than capturing and diffing it (disables timeout)")
     parser.add_option("-f", "--first", action="store_true",
         help="exit on the first test failure")
     parser.add_option("-H", "--htmlcov", action="store_true",
@@ -606,7 +606,7 @@
 
 def globmatch(el, l):
     # The only supported special characters are * and ? plus / which also
-    # matches \ on windows. Escaping of these caracters is supported.
+    # matches \ on windows. Escaping of these characters is supported.
     if el + '\n' == l:
         if os.altsep:
             # matching on "/" is not needed for this line
@@ -664,7 +664,7 @@
     after = {}
     pos = prepos = -1
 
-    # Expected shellscript output
+    # Expected shell script output
     expected = {}
 
     # We keep track of whether or not we're in a Python block so we
--- a/tests/test-ancestor.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-ancestor.py	Sun Apr 13 19:01:00 2014 +0200
@@ -103,7 +103,7 @@
 
 
 # The C gca algorithm requires a real repo. These are textual descriptions of
-# dags that have been known to be problematic.
+# DAGs that have been known to be problematic.
 dagtests = [
     '+2*2*2/*3/2',
     '+3*3/*2*2/*4*4/*4/2*4/2*2',
--- a/tests/test-bookmarks-current.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-bookmarks-current.t	Sun Apr 13 19:01:00 2014 +0200
@@ -183,7 +183,7 @@
   [1]
 
 when a bookmark is active, hg up -r . is
-analogus to hg book -i <active bookmark>
+analogous to hg book -i <active bookmark>
 
   $ hg up -q X
   $ hg up -q .
--- a/tests/test-bundle.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-bundle.t	Sun Apr 13 19:01:00 2014 +0200
@@ -546,7 +546,7 @@
 
 test that verify bundle does not traceback
 
-partial history bundle, fails w/ unkown parent
+partial history bundle, fails w/ unknown parent
 
   $ hg -R bundle.hg verify
   abort: 00changelog.i@bbd179dfa0a7: unknown parent!
--- a/tests/test-command-template.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-command-template.t	Sun Apr 13 19:01:00 2014 +0200
@@ -1486,7 +1486,7 @@
   1: null+2
   0: null+1
 
-One common tag: longuest path wins:
+One common tag: longest path wins:
 
   $ hg tag -r 1 -m t1 -d '6 0' t1
   $ hg log --template '{rev}: {latesttag}+{latesttagdistance}\n'
@@ -1709,7 +1709,7 @@
   $ hg log -R a -r 8 --template '{files % r"{file}\n"}\n'
   fourth\nsecond\nthird\n
 
-Test string escapeing in nested expression:
+Test string escaping in nested expression:
 
   $ hg log -R a -r 8 --template '{ifeq(r"\x6e", if("1", "\x5c\x786e"), join(files, "\x5c\x786e"))}\n'
   fourth\x6esecond\x6ethird
--- a/tests/test-convert.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-convert.t	Sun Apr 13 19:01:00 2014 +0200
@@ -126,7 +126,7 @@
       you want to close a branch. Each entry contains a revision or hash
       separated by white space.
   
-      The tagpmap is a file that exactly analogous to the branchmap. This will
+      The tagmap is a file that exactly analogous to the branchmap. This will
       rename tags on the fly and prevent the 'update tags' commit usually found
       at the end of a convert process.
   
--- a/tests/test-encoding-textwrap.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-encoding-textwrap.t	Sun Apr 13 19:01:00 2014 +0200
@@ -238,7 +238,7 @@
   
   use "hg -v help show_ambig_ru" to show the global options
 
-(2-2-4) display Russian ambiguous-width charactes in utf-8
+(2-2-4) display Russian ambiguous-width characters in utf-8
 
   $ COLUMNS=60 HGENCODINGAMBIGUOUS=wide hg --encoding utf-8 --config extensions.show=./show.py help show_ambig_ru
   hg show_ambig_ru
--- a/tests/test-grep.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-grep.t	Sun Apr 13 19:01:00 2014 +0200
@@ -118,7 +118,7 @@
 
   $ cd ..
 
-Issue685: trackback in grep -r after rename
+Issue685: traceback in grep -r after rename
 
 Got a traceback when using grep on a single
 revision with renamed files.
--- a/tests/test-histedit-fold.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-histedit-fold.t	Sun Apr 13 19:01:00 2014 +0200
@@ -1,4 +1,4 @@
-Test histedit extention: Fold commands
+Test histedit extension: Fold commands
 ======================================
 
 This test file is dedicated to testing the fold command in non conflicting
@@ -173,7 +173,7 @@
 folding and creating no new change doesn't break:
 -------------------------------------------------
 
-folded content is dropped during a merge. The folded commit should properly disapear.
+folded content is dropped during a merge. The folded commit should properly disappear.
 
   $ mkdir fold-to-empty-test
   $ cd fold-to-empty-test
--- a/tests/test-i18n.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-i18n.t	Sun Apr 13 19:01:00 2014 +0200
@@ -13,7 +13,7 @@
   abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)!
   [255]
 
-Using a more accomodating encoding:
+Using a more accommodating encoding:
 
   $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
   abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc)
--- a/tests/test-import-git.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-import-git.t	Sun Apr 13 19:01:00 2014 +0200
@@ -321,7 +321,7 @@
   a874b471193996e7cb034bb301cac7bdaf3e3f46 644   mbinary2
 
 Binary file and delta hunk (we build the patch using this sed hack to
-avoid an unquoted ^, which check-code says breaks sh on solaris):
+avoid an unquoted ^, which check-code says breaks sh on Solaris):
 
   $ sed 's/ caret /^/g;s/ dollarparen /$(/g' > quote-hack.patch <<'EOF'
   > diff --git a/delta b/delta
--- a/tests/test-largefiles-cache.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-largefiles-cache.t	Sun Apr 13 19:01:00 2014 +0200
@@ -27,7 +27,7 @@
 
 Create mirror repo, and pull from source without largefile:
 "pull" is used instead of "clone" for suppression of (1) updating to
-tip (= cahcing largefile from source repo), and (2) recording source
+tip (= caching largefile from source repo), and (2) recording source
 repo as "default" path in .hg/hgrc.
 
   $ hg init mirror
--- a/tests/test-largefiles.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-largefiles.t	Sun Apr 13 19:01:00 2014 +0200
@@ -489,8 +489,8 @@
   $ cat sub2/large7
   large7
 
-Test addremove: verify that files that should be added as largfiles are added as
-such and that already-existing largfiles are not added as normal files by
+Test addremove: verify that files that should be added as largefiles are added as
+such and that already-existing largefiles are not added as normal files by
 accident.
 
   $ rm normal3
--- a/tests/test-mq-guards.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-mq-guards.t	Sun Apr 13 19:01:00 2014 +0200
@@ -441,7 +441,7 @@
   \x1b[0;31;1mb.patch\x1b[0m (esc)
 
 
-excercise cornercases in "qselect --reapply"
+excercise corner cases in "qselect --reapply"
 
   $ hg qpop -a
   popping c.patch
--- a/tests/test-newbranch.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-newbranch.t	Sun Apr 13 19:01:00 2014 +0200
@@ -210,7 +210,7 @@
   abort: branch foobar not found
   [255]
 
-Fastforward merge:
+Fast-forward merge:
 
   $ hg branch ff
   marked working directory as branch ff
--- a/tests/test-obsolete-divergent.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-obsolete-divergent.t	Sun Apr 13 19:01:00 2014 +0200
@@ -247,7 +247,7 @@
       392fd25390da
   $ hg log -r 'divergent()'
 
-Even when subsequente rewriting happen
+Even when subsequent rewriting happen
 
   $ mkcommit A_3
   created new head
--- a/tests/test-phases-exchange.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-phases-exchange.t	Sun Apr 13 19:01:00 2014 +0200
@@ -908,10 +908,9 @@
   o  0 public a-A - 054250a37db4
   
 
-pushing a locally public and draft changesets remotly secret should make them
+pushing a locally public and draft changesets remotely secret should make them
 appear on the remote side.
 
-
   $ hg -R ../mu phase --secret --force 967b449fbc94
   $ hg push -r 435b5d83910c ../mu
   pushing to ../mu
--- a/tests/test-phases.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-phases.t	Sun Apr 13 19:01:00 2014 +0200
@@ -148,7 +148,7 @@
 (Issue3303)
 Check that remote secret changeset are ignore when checking creation of remote heads
 
-We add a secret head into the push destination.  This secreat head shadow a
+We add a secret head into the push destination. This secret head shadows a
 visible shared between the initial repo and the push destination.
 
   $ hg up -q 4 # B'
@@ -156,8 +156,8 @@
   $ hg phase .
   5: secret
 
-# We now try to push a new public changeset that descend from the common public
-# head shadowed by the remote secret head.
+We now try to push a new public changeset that descend from the common public
+head shadowed by the remote secret head.
 
   $ cd ../initialrepo
   $ hg up -q 6 #B'
--- a/tests/test-propertycache.py	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-propertycache.py	Sun Apr 13 19:01:00 2014 +0200
@@ -39,8 +39,8 @@
 mercurial.localrepo.localrepository.testcachedunfifoobar = testcachedunfifoobar
 
 
-# create an empty repo. and instanciate it. It is important to run
-# those test on the real object to detect regression.
+# Create an empty repo and instantiate it. It is important to run
+# these tests on the real object to detect regression.
 repopath = os.path.join(os.environ['TESTTMP'], 'repo')
 assert subprocess.call(['hg', 'init', repopath]) == 0
 ui = uimod.ui()
--- a/tests/test-push-warn.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-push-warn.t	Sun Apr 13 19:01:00 2014 +0200
@@ -353,7 +353,7 @@
   adding file changes
   added 1 changesets with 1 changes to 1 files
 
-Pushing muliple headed new branch:
+Pushing multi headed new branch:
 
   $ echo 14 > foo
   $ hg -q branch f
--- a/tests/test-rebase-scenario-global.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-rebase-scenario-global.t	Sun Apr 13 19:01:00 2014 +0200
@@ -650,7 +650,7 @@
   o  0: 'A'
   
 
-Test that rebase is not confused by $CWD disapearing during rebase (issue 4121)
+Test that rebase is not confused by $CWD disappearing during rebase (issue 4121)
 
   $ cd ..
   $ hg init cwd-vanish
--- a/tests/test-rename-merge2.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-rename-merge2.t	Sun Apr 13 19:01:00 2014 +0200
@@ -774,7 +774,7 @@
 
 Systematic and terse testing of merge merges and ancestor calculation:
 
-Excpected result:
+Expected result:
 
 \  a  m1  m2  dst
 0  -   f   f   f   "versions differ"
--- a/tests/test-revset.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-revset.t	Sun Apr 13 19:01:00 2014 +0200
@@ -548,7 +548,7 @@
   6
   2
 
-test substracting something from an addset
+test subtracting something from an addset
 
   $ log '(outgoing() or removes(a)) - removes(a)'
   8
--- a/tests/test-subrepo-git.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-subrepo-git.t	Sun Apr 13 19:01:00 2014 +0200
@@ -452,7 +452,7 @@
   da5f5b1d8ffcf62fb8327bcd3c89a4367a6018e7
   $ cd ..
 
-Sticky subrepositorys, file changes
+Sticky subrepositories, file changes
   $ touch s/f1
   $ cd s
   $ git add f1
--- a/tests/test-subrepo-svn.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-subrepo-svn.t	Sun Apr 13 19:01:00 2014 +0200
@@ -306,7 +306,7 @@
   2
   $ cd ..
 
-Sticky subrepositorys, file changes
+Sticky subrepositories, file changes
   $ touch s/f1
   $ cd s
   $ svn add f1
--- a/tests/test-subrepo.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-subrepo.t	Sun Apr 13 19:01:00 2014 +0200
@@ -948,7 +948,7 @@
   $ hg -R t id
   e95bcfa18a35
 
-Sticky subrepositorys, file changes
+Sticky subrepositories, file changes
   $ touch s/f1
   $ touch t/f1
   $ hg add -S s/f1
@@ -1333,7 +1333,7 @@
   $ cd ..
 
 
-Test that comit --secret works on both repo and subrepo (issue4182)
+Test that commit --secret works on both repo and subrepo (issue4182)
 
   $ cd main
   $ echo secret >> b
--- a/tests/test-transplant.t	Sun Apr 13 19:01:00 2014 +0200
+++ b/tests/test-transplant.t	Sun Apr 13 19:01:00 2014 +0200
@@ -71,7 +71,7 @@
       "transplanted([set])"
         Transplanted changesets in set, or all transplanted changesets.
 
-test tranplanted keyword
+test transplanted keyword
 
   $ hg log --template '{rev} {transplanted}\n'
   7 a53251cdf717679d1907b289f991534be05c997a
@@ -414,7 +414,7 @@
   $ hg ci -m appendd
   created new head
 
-tranplant
+transplant
 
   $ hg transplant -m 1
   applying 42dc4432fd35