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:CVSHomeSimCodeAUDITS)
MullionAudit_AUDITS.APV rickma Thu Apr 5 23:13:30 2007
GMT
RICK-MARTIN1 C:CVSHomeSIMCODE/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
_______________________________________________
cvsnt mailing list
cvsnt cvsnt.org
h
ttp://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
|