[PATCH 2 of 6 misc] spelling: fixes from spell checker

Mads Kiilerich mads at kiilerich.com
Sun Apr 13 12:13:46 CDT 2014


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1397408460 -7200
#      Sun Apr 13 19:01:00 2014 +0200
# Node ID 0759c3fdc3e3847e95ef34729a7a133e1fd374f7
# Parent  3d61b730ab071141c7ae69b497b343a0023a3b8a
spelling: fixes from spell checker

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -438,7 +438,7 @@ def debugcolor(ui, repo, **opts):
     _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)
diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py
--- a/hgext/convert/__init__.py
+++ b/hgext/convert/__init__.py
@@ -146,7 +146,7 @@ def convert(ui, src, dest=None, revmapfi
     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.
 
diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py
--- a/mercurial/bundle2.py
+++ b/mercurial/bundle2.py
@@ -24,7 +24,7 @@ The format is architectured as follow
 the Binary format
 ============================
 
-All numbers are unsigned and big endian.
+All numbers are unsigned and big-endian.
 
 stream level parameters
 ------------------------
@@ -40,21 +40,21 @@ Binary format is as follow
   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,11 +85,11 @@ Binary format is as follow
 
     :typesize: (one byte)
 
-    :typename: alphanumerical part name
+    :parttype: alphanumerical part name
 
     :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>
 
@@ -118,7 +118,7 @@ Binary format is as follow
     `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
 ============================
@@ -188,7 +188,7 @@ class unbundlerecords(object):
     """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'.
 
@@ -300,7 +300,7 @@ class bundle20(object):
 
     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
@@ -318,7 +318,7 @@ class bundle20(object):
     def addpart(self, part):
         """add a new part to the bundle2 container
 
-        Parts contains the actuall applicative payload."""
+        Parts contains the actual applicative payload."""
         self._parts.append(part)
 
     def getchunks(self):
@@ -376,7 +376,7 @@ class unbundle20(object):
 
     @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]
@@ -460,7 +460,7 @@ class unbundle20(object):
         # split mandatory from advisory
         mansizes = paramsizes[:mancount]
         advsizes = paramsizes[mancount:]
-        # retrive param value
+        # retrieve param value
         manparams = []
         for key, value in mansizes:
             manparams.append((fromheader(key), fromheader(value)))
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2258,7 +2258,7 @@ def _performrevert(repo, parents, ctx, r
     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()
diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -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 at selenic.com>
 #
@@ -18,7 +18,7 @@ class pushoperation(object):
 
     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.
     """
 
@@ -43,7 +43,7 @@ class pushoperation(object):
         #   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
@@ -245,7 +245,7 @@ def _pushcomputecommonheads(pushop):
     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:
@@ -380,7 +380,7 @@ class pulloperation(object):
 
     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.
     """
 
@@ -401,9 +401,9 @@ class pulloperation(object):
         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'])
@@ -612,7 +612,7 @@ def getbundle(repo, source, heads=None, 
     return bundle2.unbundle20(repo.ui, temp)
 
 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
@@ -632,7 +632,7 @@ def unbundle(repo, cg, heads, source, ur
     """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."""
diff --git a/mercurial/merge.py b/mercurial/merge.py
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -85,14 +85,14 @@ class mergestate(object):
     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), ...]"""
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -176,7 +176,7 @@ def encodemeta(meta):
         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 _encodeonemarker(marker):
 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 @@ def successorssets(repo, initialnode, ca
                 # 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 _computeextinctset(repo):
 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 @@ def createmarkers(repo, relations, flag=
     """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,
 
diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -2459,7 +2459,7 @@ class _addset(_orderedsetmixin):
 
     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
diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py
--- a/mercurial/wireproto.py
+++ b/mercurial/wireproto.py
@@ -393,7 +393,7 @@ class wirepeer(peer.peerrepository):
 
         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 @@ def options(cmd, keys, others):
 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 @@ def _capabilities(repo, proto):
 
     - 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 @@ def _capabilities(repo, proto):
     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 @@ def stream(repo, proto):
     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 @@ def unbundle(repo, proto, heads):
             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)
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -149,7 +149,7 @@ def parseargs():
         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",
@@ -596,7 +596,7 @@ def rematch(el, l):
 
 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
@@ -654,7 +654,7 @@ def tsttest(test, wd, options, replaceme
     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
diff --git a/tests/test-ancestor.py b/tests/test-ancestor.py
--- a/tests/test-ancestor.py
+++ b/tests/test-ancestor.py
@@ -103,7 +103,7 @@ def test_lazyancestors():
 
 
 # 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',
diff --git a/tests/test-bookmarks-current.t b/tests/test-bookmarks-current.t
--- a/tests/test-bookmarks-current.t
+++ b/tests/test-bookmarks-current.t
@@ -183,7 +183,7 @@ set and then unset it
   [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 .
diff --git a/tests/test-bundle.t b/tests/test-bundle.t
--- a/tests/test-bundle.t
+++ b/tests/test-bundle.t
@@ -546,7 +546,7 @@ test for http://mercurial.selenic.com/bt
 
 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 at bbd179dfa0a7: unknown parent!
diff --git a/tests/test-command-template.t b/tests/test-command-template.t
--- a/tests/test-command-template.t
+++ b/tests/test-command-template.t
@@ -1486,7 +1486,7 @@ No tag set:
   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 @@ Test string escaping:
   $ 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
diff --git a/tests/test-convert.t b/tests/test-convert.t
--- a/tests/test-convert.t
+++ b/tests/test-convert.t
@@ -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.
   
diff --git a/tests/test-encoding-textwrap.t b/tests/test-encoding-textwrap.t
--- a/tests/test-encoding-textwrap.t
+++ b/tests/test-encoding-textwrap.t
@@ -238,7 +238,7 @@ define commands to display help text
   
   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
diff --git a/tests/test-grep.t b/tests/test-grep.t
--- a/tests/test-grep.t
+++ b/tests/test-grep.t
@@ -118,7 +118,7 @@ match in last "line" without newline
 
   $ 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.
diff --git a/tests/test-histedit-fold.t b/tests/test-histedit-fold.t
--- a/tests/test-histedit-fold.t
+++ b/tests/test-histedit-fold.t
@@ -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 @@ check saving last-message.txt
 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
diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -13,7 +13,7 @@ using the "replace" error handler:
   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)
diff --git a/tests/test-import-git.t b/tests/test-import-git.t
--- a/tests/test-import-git.t
+++ b/tests/test-import-git.t
@@ -321,7 +321,7 @@ Multiple binary files:
   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
diff --git a/tests/test-largefiles-cache.t b/tests/test-largefiles-cache.t
--- a/tests/test-largefiles-cache.t
+++ b/tests/test-largefiles-cache.t
@@ -27,7 +27,7 @@ Discard all cached largefiles in USERCAC
 
 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
diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t
--- a/tests/test-largefiles.t
+++ b/tests/test-largefiles.t
@@ -489,8 +489,8 @@ dir after a purge.
   $ 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
diff --git a/tests/test-mq-guards.t b/tests/test-mq-guards.t
--- a/tests/test-mq-guards.t
+++ b/tests/test-mq-guards.t
@@ -441,7 +441,7 @@ hg qseries -m with color
   \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
diff --git a/tests/test-newbranch.t b/tests/test-newbranch.t
--- a/tests/test-newbranch.t
+++ b/tests/test-newbranch.t
@@ -210,7 +210,7 @@ Update with no arguments: tipmost revisi
   abort: branch foobar not found
   [255]
 
-Fastforward merge:
+Fast-forward merge:
 
   $ hg branch ff
   marked working directory as branch ff
diff --git a/tests/test-obsolete-divergent.t b/tests/test-obsolete-divergent.t
--- a/tests/test-obsolete-divergent.t
+++ b/tests/test-obsolete-divergent.t
@@ -247,7 +247,7 @@ split is not divergences
       392fd25390da
   $ hg log -r 'divergent()'
 
-Even when subsequente rewriting happen
+Even when subsequent rewriting happen
 
   $ mkcommit A_3
   created new head
diff --git a/tests/test-phases-exchange.t b/tests/test-phases-exchange.t
--- a/tests/test-phases-exchange.t
+++ b/tests/test-phases-exchange.t
@@ -845,10 +845,9 @@ Discovery locally secret changeset on a 
   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
diff --git a/tests/test-phases.t b/tests/test-phases.t
--- a/tests/test-phases.t
+++ b/tests/test-phases.t
@@ -148,7 +148,7 @@ Test secret changeset are not pushed
 (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 @@ visible shared between the initial repo 
   $ 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'
diff --git a/tests/test-propertycache.py b/tests/test-propertycache.py
--- a/tests/test-propertycache.py
+++ b/tests/test-propertycache.py
@@ -39,8 +39,8 @@ mercurial.localrepo.localrepository.test
 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()
diff --git a/tests/test-push-warn.t b/tests/test-push-warn.t
--- a/tests/test-push-warn.t
+++ b/tests/test-push-warn.t
@@ -353,7 +353,7 @@ Using --new-branch to push new named bra
   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
diff --git a/tests/test-rebase-scenario-global.t b/tests/test-rebase-scenario-global.t
--- a/tests/test-rebase-scenario-global.t
+++ b/tests/test-rebase-scenario-global.t
@@ -650,7 +650,7 @@ each root have a different common ancest
   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
diff --git a/tests/test-rename-merge2.t b/tests/test-rename-merge2.t
--- a/tests/test-rename-merge2.t
+++ b/tests/test-rename-merge2.t
@@ -774,7 +774,7 @@ m "nm a b" "um x a" "      " "22 get a, 
 
 Systematic and terse testing of merge merges and ancestor calculation:
 
-Excpected result:
+Expected result:
 
 \  a  m1  m2  dst
 0  -   f   f   f   "versions differ"
diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -548,7 +548,7 @@ test sorting two sorted collections in d
   6
   2
 
-test substracting something from an addset
+test subtracting something from an addset
 
   $ log '(outgoing() or removes(a)) - removes(a)'
   8
diff --git a/tests/test-subrepo-git.t b/tests/test-subrepo-git.t
--- a/tests/test-subrepo-git.t
+++ b/tests/test-subrepo-git.t
@@ -452,7 +452,7 @@ Sticky subrepositories, no changes
   da5f5b1d8ffcf62fb8327bcd3c89a4367a6018e7
   $ cd ..
 
-Sticky subrepositorys, file changes
+Sticky subrepositories, file changes
   $ touch s/f1
   $ cd s
   $ git add f1
diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -306,7 +306,7 @@ Sticky subrepositories, no changes
   2
   $ cd ..
 
-Sticky subrepositorys, file changes
+Sticky subrepositories, file changes
   $ touch s/f1
   $ cd s
   $ svn add f1
diff --git a/tests/test-subrepo.t b/tests/test-subrepo.t
--- a/tests/test-subrepo.t
+++ b/tests/test-subrepo.t
@@ -948,7 +948,7 @@ Sticky subrepositories, no changes
   $ 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 @@ configuration
   $ 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
diff --git a/tests/test-transplant.t b/tests/test-transplant.t
--- a/tests/test-transplant.t
+++ b/tests/test-transplant.t
@@ -71,7 +71,7 @@ test transplanted revset
       "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 @@ Issue1111: Test transplant --merge
   $ hg ci -m appendd
   created new head
 
-tranplant
+transplant
 
   $ hg transplant -m 1
   applying 42dc4432fd35


More information about the Mercurial-devel mailing list