Women in Technology

Hear us Roar



Article:
  Running Arbitrary Scripts Under CVS
Subject:   Using python script with verifymsg
Date:   2003-08-04 15:00:58
From:   anonymous2
Response to: Using python script with verifymsg

CVS doesn't expect you to use interaction in these scripts. There are several reasons the developers didn't include interaction, one of which is that some remote access methods just don't allow it. This is explained on page 163 of 'Essential CVS', and is also somewhere in 'info cvs' but I can't find it there right now.


You may find that verifymsg is more useful to you when checking whether the user has written a proper log file entry. If you combine that with the 'ReReadLogAfterVerify' option in the CVSROOT/config file, your script can change the log message that CVS stores.


If there is simply not enough information in the log file, you can refuse to allow the commit to proceed.

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • Using python script with verifymsg
    2003-08-05 01:57:13  anonymous2 [View]

    So I guess it's not possible to open editor and re-edit temp log message if original message has been noticed to be incomplete ?? Is this due to client/server model ??