[cvsnt] -kx problem with multiple file editing
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
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
MullionAudit_AUDITS.APV rickma Thu Apr 5 23:13:30 2007 GMT
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.
More information about the cvsnt