Table of Contents
precslog - print log messages and other information about PRECS files precslog
}
Copyright (C) 1995 University of Kansas. All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Kansas University not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Kansas University makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
precslog prints information about PRECS files. Pathnames matching the PRECS suffix denote PRECS files; all others denote working files. Names are paired as explained in getf(1).
precslog prints the following information for each PRECS file: PRECS pathname, working pathname, head (i.e., the number of the latest revision on the trunk), default branch, access list, locks, symbolic names, suffix, total number of revisions, number of revisions selected for printing, and descriptive text. This is followed by entries for the selected revisions in reverse chronological order for each branch. For each revision, precslog prints revision number, author, date/time, state, number of lines added/deleted (with respect to the previous revision), locker of the revision (if any), and log message. All times are displayed in Coordinated Universal Time (UTC). Without options, precslog prints complete information.
- -R
- Print only the name of the PRECS file. This is convenient for translating a working pathname into a PRECS pathname.
- -h
- Print only the PRECS pathname, working pathname, head, default branch, access list, locks, symbolic names, and suffix.
- -t
- Print the same as -h, plus the descriptive text.
- -b
- Print information about the revisions on the default branch, normally the highest branch on the trunk.
- -ddates
- Print information about revisions with a checkin date/time in the ranges given by the semicolon-separated list of dates. A range of the form or selects the revisions that were deposited between d1 and d2 inclusive. A range of the form <d or selects all revisions dated d or earlier. A range of the form or >d selects all revisions dated d or later. A range of the form d selects the single, latest revision dated d or earlier. The date/time strings d, d1, and d2 are in the free format explained in getf(1). Quoting is normally necessary, especially for < and >. Note that the separator is a semicolon.
- -r[revisions]
- prints information about revisions given in the comma-separated list revisions of revisions and ranges. A range means revisions rev1 to rev2 on the same branch, :rev means revisions from the beginning of the branch up to and including rev, and means revisions starting with rev to the end of the branch containing rev. An argument that is a branch means all revisions on that branch. A range of branches means all revisions on the branches in that range. A branch followed by a . means the latest revision in that branch. A bare -r with no revisions means the latest revision on the default branch, normally the trunk.
- -sstates
- prints information about revisions whose state attributes match one of the states given in the comma-separated list states.
- -w[logins]
- prints information about revisions checked in by users with login names appearing in the comma-separated list logins. If logins is omitted, the user's login is assumed.
- -Vn
- Emulate RCS version n when generating logs. See getf(1) for more.
precslog prints the intersection of the revisions selected with the options -d, -s, and -w, intersected with the union of the revisions selected by -b and -r.
- RCSINIT
- options prepended to the argument list, separated by spaces. See getf(1) for details.
The exit status is zero if and only if all operations were successful. Author: Robert W. Hill $Id: precs/docs:precslog.1 1.2 $
basics(1), newf (1), newg (1), newp (1), gets (1), getf (1), getg (1), getp (1), edits (1), editf (1), editg (1), editp (1), deltas (1), deltaf (1), deltag (1), deltap (1), install(1) precs (1), liste (1), listf (1), listg (1), overview(1), prepf (1), prepp (1), precsintro (1), rmf (1), rmg (1), rmp(1), removing (1), setgroup (1), unedit (1), xprecs (1),
Table of Contents
www.fiveanddime.net