Actions:
|
2013-01-18 03:29 AEST by Glen Starrett - If I do a commit with -s FOO=123Blue, then it shows up in the RCS file on that
version properly. However, it doesn't appear in the postcommit script variables.
samp cmd /c echo ABC $FOO CBA
outputs this:
C:\Users\Glen Starrett\Documents\test\europa\samp>cvs -s FOO=123Blue ci -m "Test
ci with user defined meta-data"
...
Checking in hi3.txt;
/myrepo/samp/hi3.txt,v <-- hi3.txt
new revision: 1.5; previous revision: 1.4
done
ABC CBA /myrepo/samp
The last line should be "ABC 123Blue CBA /myrepo/samp"
NOTE: This is just a guess, but if these are added automatically to the system
environment for script execution, it may have been disabled for security
reasons. For example: If the user-defined variables were included in the
environment variables the user could override something important and either
break the script or redirect it or something (e.g. cvs -d
ComSpec=MyBadProgLocationOnServer ...).
Another note: Using user-defined meta-data does work properly with keyword
expansion, per the documentation.
C:\Users\Glen Starrett\Documents\test\europa\samp>cvs ver
Client: Concurrent Versions System (CVSNT) 2.8.01 (Soolin) Build 4669 (client/se
rver)
Server: Concurrent Versions System (CVSNT) 2.8.01 (Soolin) Build 4669 (client/se
rver) |