Name
log
Synopsis
log
[ -b ] [ -ddates] [ -h ] [ -N ] [ -rrevisions] [ -R ] [ -sstate] [ -t ] [ -wlogins] [file]
Print an activity log for the files.
The standard meaning of the common client option -l applies. Additional options are listed in Table 18-30.
Table 18-30. log options
|
Option |
Description |
|---|---|
|
|
List revisions on default branch. |
|
|
Report on these dates. |
|
|
Print header only. |
|
|
Don’t print tags. |
|
|
Report on the listed revisions. There is no space between -r and its argument. Without an argument, the latest revision of the default branch is used. |
|
|
Print RCS filename only. The usage of -R here is different than elsewhere in CVS (-R usually causes CVS to operate recursively). |
|
|
Print only those revisions having the specified state. |
|
|
Print only header and descriptive text. |
|
|
Report on check-ins by the listed logins. There is no space between -w and its argument. |
For -d, use the date specifications in Table 18-31. Multiple specifications separated by semicolons may be provided.
Table 18-31. log date range specifications
|
Specification |
Description |
|---|---|
|
d1<d2, or d2>d1 |
The revisions dated between d1 and d2, exclusive |
|
d1<=d2, or d2>=d1 |
The revisions dated between d1 and d2, inclusive |
|
<d, or d> |
The revisions dated before d |
|
<=d, or d>= |
The revisions dated on or before d |
|
d<, or >d |
The revisions dated after d |
|
d<=, or >=d |
The revisions dated on or after d |
|
d |
The most recent ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access