I am processing a set of files and want to be able to pull the first commit after certain dates (as opposed to before a date, as in CVS's -D option). This will probably involve some sort of scripting. My ideas were:

  • parse the cvs log for each file to get the appropriate revision numbers

  • use the -D option to get the previous file, get that file's revision number (through cvs status or the file header), and then get the subsequent file

Parsing the logs looks the easiest way. Is there a CVS shortcut that I am missing or a clever way to do it that I don't know about?

有帮助吗?

解决方案

There doesn't seem to be a CVS shortcut for this, so I parsed the log message for the file and found the first release after date xxx.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top