Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top