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.
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():
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]
"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
# 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."
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."
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.