[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: log cmd for deleted files
From: |
Jim.Hyslop |
Subject: |
RE: log cmd for deleted files |
Date: |
Thu, 5 Aug 2004 08:37:16 -0400 |
Euan Guttridge wrote:
> - log command to show filenames only for files deleted on a
> branch between 2
> dates.
Well, the first thing I usually do is look at the command-line options.
% cvs --help log
Usage: cvs log [-lRhtNb] [-r[revisions]] [-d dates] [-s states]
[-w[logins]] [files...]
-l Local directory only, no recursion.
-R Only print name of RCS file.
-h Only print header.
-t Only print header and descriptive text.
-N Do not list tags.
-S Do not print name/header if no revisions selected.
-b Only list revisions on the default branch.
-r[revisions] A comma-separated list of revisions to print:
rev1:rev2 Between rev1 and rev2, including rev1 and rev2.
rev1::rev2 Between rev1 and rev2, excluding rev1.
rev: rev and following revisions on the same branch.
rev:: After rev on the same branch.
:rev rev and previous revisions on the same branch.
::rev rev and previous revisions on the same branch.
rev Just rev.
branch All revisions on the branch.
branch. The last revision on the branch.
-d dates A semicolon-separated list of dates
(D1<D2 for range, D for latest before).
-s states Only list revisions with specified states.
-w[logins] Only list revisions checked in by specified logins.
(Specify the --help global option for a list of other help options)
Hey, look at that... -d lets you filter by date, -r lets you filter by
branch, and -s lets you filter by state (i.e. "dead").
Easy, wasn't it? :=)
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)