swh.loader.cvs.rlog module#

RCS/CVS rlog parser, derived from viewvc and cvs2gitdump.py

class swh.loader.cvs.rlog.revtuple(number, date, author, state, branches, revnumstr, commitid)[source]#

Bases: NamedTuple

Create new instance of revtuple(number, date, author, state, branches, revnumstr, commitid)

number: str#

Alias for field number 0

date: int#

Alias for field number 1

author: bytes#

Alias for field number 2

state: str#

Alias for field number 3

branches: None#

Alias for field number 4

revnumstr: None#

Alias for field number 5

commitid: str | None#

Alias for field number 6

class swh.loader.cvs.rlog.RlogConv(cvsroot_path: str, fuzzsec: int)[source]#

Bases: object

parse_rlog(fp: BinaryIO) None[source]#
getlog(fp: BinaryIO, path: bytes, rev: str) bytes | None[source]#
swh.loader.cvs.rlog.cvs_strptime(timestr)[source]#