CVS history: queries the submission records of all files in the directory in CVS.

Source: Internet
Author: User

We are used to viewing the change list of all files under a directory or even the entire project in eclipse SVN. Right-click the project and choose Project> Team> show history.

Recently, CVS is used. The CVS plug-in (eclipse CVS client 1.2.1) corresponding to eclipse does not support this application. I found other CVS clients (such as wincvs 2.0.2.4 ), similar functions are not found. (If you have any knowledge, please let us know. Thank you !)

 

You can only start with the command line, and then record the following.

 

Kick Start

 

First query the submission records of a file (this function can be implemented through most visual clients of CVs ):

Query the Historical submission records of A. file:

CVS history-ca a. File

 

Query the submission records of all files in a directory:

Query the submission records of all users in the xxx/XXX/xxx directory on April 9, June 1, 2014.

CVS history-ca-D 2014-06-01 xxx/XXX/xxx

 

If you do not know the composition rules of the XXX/xxx path, you can execute a global query statement to learn the composition rules of the path. For example, you can query the submission records of all users in the entire module on April 9, June 1, 2014:

CVS history-ca-D 2014-06-01

 

Okay!

 

Appendix: Help document for the CVS history command:

History: Invalid option -- S
Usage: CVs history [-report] [-flags] [-options ARGs] [files...]

Reports:
-T produce report on all tags
-C committed (modified) files
-O checked out modules
-M <module> look for specified module (repeatable)
-X [toefwucgmar] extract by record type
-E everything (same as-X, but all record types)
Flags:
-A all users (default is self)
-L last modified (committed or modified report)
-W working directory must match
Options:
-D <date> since date (1_formats)
-B <STR> back to record with str in module/file/repos Field
-F <File> specified file (same as command line) (repeatable)
-N <modulename> in Module (repeatable)
-P <repos> In repository (repeatable)
-R <rev/Tag> since rev or tag (looks inside RCS files !)
-T <tag> since tag record placed in history file (by anyone ).
-U <user> for user name (repeatable)
-z output for Time Zone (e.g.-Z-0700)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.