[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs history and modules
From: |
Larry Jones |
Subject: |
Re: cvs history and modules |
Date: |
Mon, 4 Feb 2002 16:08:19 -0500 (EST) |
Craig Emery writes:
>
> cvs history -mmod1 -xARM -a -D yesterday
>
> gives the error
>
> cvs [history aborted]: Only one report type allowed from: "-Tcomxe".
>
> I just don't get the -report / -flags / -options bit of the help.
The history command is hopelessly baroque and really needs to be
completely redesigned.
The history command can produce a number of different kinds of reports;
the options listed under "Reports" specify which kind of report to
produce and thus are all mutually exclusive. -m generates a "Module
History" report for the named module, which is not what you want. What
you want is a "Committed Files" report (-c, which is exactly equivalent
to your -xARM, but a tad more obvious). The division between "flags"
and "options" is a complete mystery to me, too -- both specify selection
criteria to apply to the history records. You've figured out -a and -D,
what you haven't figured out (because it's not at all obvious) is that
the way to specify a particular module is by using -p to specify the
top-level repository directory you want (the report includes all files
whose name *starts* with the specified string, not just those that are
exactly equal).
-Larry Jones
Archaeologists have the most mind-numbing job on the planet. -- Calvin