]> thyrsus.com Git - src.git/commitdiff
Doc typos fixed.
authorBaptiste Fontaine <batifon@yahoo.fr>
Thu, 13 Nov 2014 20:09:02 +0000 (15:09 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 13 Nov 2014 20:09:02 +0000 (15:09 -0500)
src
src.asc

diff --git a/src b/src
index b8b36607b2cf12e178fafe00ea8de9812f06322c..9c50d04290132ecad23da74584981d66e85447df 100755 (executable)
--- a/src
+++ b/src
@@ -268,7 +268,7 @@ src help [command]
 
 src commit [- | -m 'string' | -f 'file' | -e] ['file'...]
    Enters a commit for specified files. Separately to each one.
-   A history is created for the file if it does not aleady exist.
+   A history is created for the file if it does not already exist.
    With '-', take comment text from stdin; with '-m' use the
    following string as the comment; with '-f' take from a file.
    With '-e', edit even after '-f' or '-m'.   ci is a synonym for commit.
@@ -349,7 +349,7 @@ The omission of 'src remove' is a deliberate speed bump.
 
 
 def parse_as_revspec(token):
-    "Does this look like something that should be parsed aas a revision spec?"
+    "Does this look like something that should be parsed as a revision spec?"
     if "-" in token or ".." in token:
         return True
     elif token.isdigit():
@@ -486,7 +486,7 @@ class CommandContext:
             sys.stderr.write("selection: %s, branchwise is %s\n" % (self.seq, "on" if self.branchwise else "off"))
             for item in metadata.revlist:
                 sys.stdout.write("%s\t%s\t%s\n" % (item.revno, item.date, item.native))
-        # Because in the branchwise case the seqence is generated in reverse
+        # Because in the branchwise case the sequence is generated in reverse
         if backwards != self.branchwise:
             self.seq.reverse()
         return [metadata.by_revno(s) for s in self.seq]
@@ -1056,7 +1056,7 @@ class RCS:
         "Does the master for this file have any revisions"
         # The magic number 105 is the size of an empty RCS file (no
         # metadata, no revisions) at 76 bytes, plus 29 bytes. We
-        # assume that this ize has stayed constant or increased since
+        # assume that this size has stayed constant or increased since
         # ancient times. In fact the size of an RCS file with revisions
         # goes up more - by the 78 bytes for the final, fixed line of the
         # log display.  This gives us plenty of slack to cope with
@@ -1067,7 +1067,7 @@ class RCS:
         # status.
         return os.path.getsize(self.history(arg)) > 105
     def workfile(self, arg):
-        "Workfile correponding to an RCS master"
+        "Workfile corresponding to an RCS master"
         return arg[:-2]
     def splitrev(self, rev):
         "RCS revision to numeric tuple."
@@ -1097,7 +1097,7 @@ class RCS:
         return "0." in symbol
     def branch_to_base(self, revid):
         "Go from a branch ID sticky tag to the revision it was based on."
-        # Must return an emptry string for the fake root sticky tag.
+        # Must return an empty string for the fake root sticky tag.
         return self.joinrev(self.splitrev(revid)[:-2])
     def branch_to_tip(self, revid, metadata):
         "Go from a branch ID sticky tag to the tip revision of its base."
diff --git a/src.asc b/src.asc
index 7809842d81a776b3cdac7a1806a8727f2aa6e221..b0cd5a3693d4816ac77b2efe1085808b9a9ab05e 100644 (file)
--- a/src.asc
+++ b/src.asc
@@ -54,7 +54,7 @@ src help [command]::
 
 src commit [- | -m string | -f file | -e] ['file'...]::
    Enters a commit for specified files. Separately to each one.
-   A history is created for the file if it does not aleady exist.
+   A history is created for the file if it does not already exist.
    With '-', take comment text from stdin; with '-m' use the
    following string as the comment; with '-f' take from a file.
    With '-e', edit even after '-f' or '-m'. ci is a synonym for commit.