0

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?

Zoe
  • 27,060
  • 21
  • 118
  • 148
i alarmed alien
  • 9,412
  • 3
  • 27
  • 40
  • Are you after the next absolute commit across all branches, or just the next commit on the current branch? – Burhan Ali Jan 15 '12 at 17:12
  • The repository doesn't have any branches; I'm looking for the next commit of a specified file after certain dates. My solution was to parse the log message for the file (first option above). If there is a better way to do it, it'd be useful to know; otherwise, not to worry. – i alarmed alien Jan 17 '12 at 22:43

1 Answers1

0

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.

i alarmed alien
  • 9,412
  • 3
  • 27
  • 40