[PATCH 08 of 11] comments: fix minor spelling issues found with spell checker

Mads Kiilerich mads at kiilerich.com
Wed Feb 19 19:43:32 CST 2014


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1392860341 -3600
#      Thu Feb 20 02:39:01 2014 +0100
# Node ID a03c3f91bc52bad6796d83c9a723e64f74f8e9fa
# Parent  7e1fd5d7a88af2608ae0a9a5ed8b7940036ebd0f
comments: fix minor spelling issues found with spell checker

diff --git a/mercurial/minirst.py b/mercurial/minirst.py
--- a/mercurial/minirst.py
+++ b/mercurial/minirst.py
@@ -109,7 +109,7 @@ def findliteralblocks(blocks):
             elif len(blocks[i]['lines']) == 1 and \
                  blocks[i]['lines'][0].lstrip(' ').startswith('.. ') and \
                  blocks[i]['lines'][0].find(' ', 3) == -1:
-                # directive on its onw line, not a literal block
+                # directive on its own line, not a literal block
                 i += 1
                 continue
             else:
@@ -382,7 +382,7 @@ def addmargins(blocks):
             blocks[i]['type'] in ('bullet', 'option', 'field')):
             i += 1
         elif not blocks[i - 1]['lines']:
-            # no lines in previous block, do not seperate
+            # no lines in previous block, do not separate
             i += 1
         else:
             blocks.insert(i, dict(lines=[''], indent=0, type='margin'))
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -766,7 +766,7 @@ def _computeextinctset(repo):
 def _computebumpedset(repo):
     """the set of revs trying to obsolete public revisions"""
     bumped = set()
-    # utils function (avoid attribut lookup in the loop)
+    # utils 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
diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -96,7 +96,7 @@ def computeimpactable(repo):
 
 # function to compute filtered set
 #
-# When addding a new filter you MUST update the table at:
+# When adding a new filter you MUST update the table at:
 #     mercurial.branchmap.subsettable
 # Otherwise your filter will have to recompute all its branches cache
 # from scratch (very slow).


More information about the Mercurial-devel mailing list