[cvsnt] -kx problem with multiple file editing
Rick Martin
rsmandcam at _NO_SPAM_sbcglobal.net
Fri Apr 13 21:41:10 BST 2007
When you run a regular edit operation on multiple files and any one of them
has -kx options the edit command is made exclusive for all files in the
operation.
MyFile1.txt
MyBinary.exe -kBx
MyFile2.txt
cvs edit MyFile1.txt MyBinary.exe MyFile2.txt
Creates an <exclusive /> entry in the fileattr.xml for all three files.
When another user runs cvs edit on MyFile1.txt instead of getting the error
message about the file aready being edited they get an "invalid data from
server" message. See output below. The file in question is text.
cvs -r edit -- MullionAudit_AUDITS.APV (in directory
C:\CVSHome\SimCode\AUDITS\)
MullionAudit_AUDITS.APV rickma Thu Apr 5 23:13:30 2007 GMT
RICK-MARTIN1 C:\CVSHome\SIMCODE/AUDITS
cvs server: Edit on file 'MullionAudit_AUDITS.APV' refused by server
cvs edit: invalid data from cvs server
***** CVS exited normally with code 1 *****
Both server and client are running:2.5.03 (Scorpio) Build 2382
In this case I'm not using wrappers for the -k opt but explicitly added the
binary file with -kBx.
With GUI interfaces it's really easy to click on 4-5 files and hit edit. If
anyone of them is -kBx then all of the edits will be exclusive.
Thanks,
Rick
More information about the cvsnt
mailing list