comments: fix minor spelling issues found with spell checker
authorMads Kiilerich <madski@unity3d.com>
Thu, 20 Feb 2014 02:39:01 +0100
changeset 20549 2025315cfb0c
parent 20548 5bd6a9fec103
child 20550 1716a2671ec7
comments: fix minor spelling issues found with spell checker
mercurial/minirst.py
mercurial/obsolete.py
mercurial/repoview.py
--- a/mercurial/minirst.py	Sat Feb 15 01:23:12 2014 +0100
+++ b/mercurial/minirst.py	Thu Feb 20 02:39:01 2014 +0100
@@ -109,7 +109,7 @@
             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 @@
             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'))
--- a/mercurial/obsolete.py	Sat Feb 15 01:23:12 2014 +0100
+++ b/mercurial/obsolete.py	Thu Feb 20 02:39:01 2014 +0100
@@ -766,7 +766,7 @@
 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
--- a/mercurial/repoview.py	Sat Feb 15 01:23:12 2014 +0100
+++ b/mercurial/repoview.py	Thu Feb 20 02:39:01 2014 +0100
@@ -96,7 +96,7 @@
 
 # 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).