tags:

views:

28

answers:

1

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.

+1  A: 

Yes. There is a "rlog" command. See this manual page for rlog for parameters (also included in this post). 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.
Jeanne Boyarsky
Ben Daniel
Ben,Odd. The link still works for me. But if it doesn't work universally, it is certainly better to have the options included. So done.
Jeanne Boyarsky