Package: tcllib, Version: CVS HEAD
doctools::cvs -
Processing text in 'cvs log' format
package require Tcl 8.2 package require textutil package require doctools::cvs ? 1 ? ::doctools::cvs::scanLog text evar cvar fvar ::doctools::cvs::toChangeLog evar cvar fvar
The commands ::doctools::cvs::scanLog and ::doctools::cvs::toChangeLog are derived from code found on the http://wiki.tcl.tk. See the references at the end of the page.
Type | Name | Mode |
---|---|---|
varname | evar | in |
Has to refer to a scalar variable. After the call this variable will
contain a list of all the entries found in the log file. An entry is
identified through the combination of date and author, and can be
split over multiple physical entries, one per touched file.
It should be noted that the entries are listed in the same order as they were found in the text. This is not necessarily sorted by date or author. Each item in the list is a list containing two elements, the date of the entry, and its author, in this order. The date is formatted as year/month/day. |
||
varname | cvar | in |
Has to refer to an array variable. Keys are strings containing the
date and author of log entries, in this order, separated by a comma.
The values are lists of comments made for the entry. |
||
varname | fvar | in |
Has to refer to an array variable. Keys are strings containing
date, author of a log entry, and a comment for that entry, in this
order, separated by commas.
The values are lists of the files the entry is touching. |
http://wiki.tcl.tk/log2changelog