From 34af4baa9ed5f6383358255be48d233ede358c99 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Thu, 13 Nov 2014 15:09:02 -0500 Subject: [PATCH] Doc typos fixed. --- src | 12 ++++++------ src.asc | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src b/src index b8b3660..9c50d04 100755 --- 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 7809842..b0cd5a3 100644 --- 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. -- 2.43.0