Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get cvs log of commits without checking out repo

Tags:

cvs

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.

like image 653
CodeAndCats Avatar asked Jul 23 '10 00:07

CodeAndCats


People also ask

How do I check my CVS commit history?

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).

How do I checkout a CVS repository?

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.

What is CVS log?

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.


1 Answers

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.
like image 86
Jeanne Boyarsky Avatar answered Sep 19 '22 20:09

Jeanne Boyarsky