[cvsnt] prompt user from commitinfo script

Rick Martin rsmandcam at _NO_SPAM_sbcglobal.net
Fri Mar 30 19:06:11 BST 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Does anyone know if it is possible to ask the user a question from inside a
python commitinfo script?
I have a commitinfo script that is checking for specific files being
committed. When it finds them it prints a warning back to the user.
It would be really nice to ask the user a question at this point and get a
confirmation.
I've tried using raw_input which works when the script is invoked locally
rather than from the commitinfo trigger. It doesn't work when called from
commitinfo it returns immediately with an EOF setting.

There have been times running WinCVS where it comes back and indicates the
cvs server is asking a question needing a user response. I'd like it to
behave something like that. 

TIA,
Rick


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook