I want to get a list of all commits for a module in cvs without checking that module out. Is this possible? If so how?
I can use the cvs log command like so:
cvs log > commitlog.txt
but this only appears to work for already checked out module that i'm running the command from. I want to be able to get the log for a module without having to check it out.
Whenever you commit a file you specify a log message. To look through the log messages which have been specified for every revision which has been committed, use the cvs log command (see section log--Print out log information for files).
Use “cvs checkout” giving the name of the directory in the cvs repository you want to checkout, where the name you give is a directory under CVSROOT, presently $CD_SOFT/cvs (eg app/alh, script). The directory you give, and all subdirectories, will be placed in your working directory.
The cvs log command displays information about files, directories, or modules. You pass a parameter to specify which file, directory, or module you are interested in. If you don't specify anything, cvs log displays log information about all files in the current sandbox directory.
Yes. There is a "rlog" command. It is similar to log except doesn't require checked out code. In other words, the command is run "remotely."
rlog [options] [files…]
Print out history information for modules. See log—Print out log
information for files.
-b Only list revisions on the default branch. See log options. -d dates Specify dates (d1<d2 for range, d for latest before). See log
options. -h
Only print header. See log options. -l Local; run only in current working directory. See Recursive
behavior. -N
Do not list tags. See log options. -R Only print name of RCS file. See log options. -rrevs Only list revisions revs. See log options. -s states Only list revisions with specified states. See log options. -t Only print header and descriptive text. See log options. -wlogins Only list revisions checked in by specified logins. See log options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With