[cvsnt] Difference between exclusive edit and resrved edit?
Bo Berglund
Bo.Berglund at system3r.com
Mon Oct 20 14:50:09 BST 2008
I looked at the dsecription inside the cvswrappers file itself and got confused....
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
#
# wildcard [option value][option value]...
#
# where option is one of
# -f from cvs filter value: path to filter
# -t to cvs filter value: path to filter
# -m update methodology value: MERGE or COPY
# -k expansion mode value: b, o, kkv, &c
#
# and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'
Does this mean that *only* the values b, o, kkv and c are allowed as arguments?
How can I specify the x then?
I thought that I should enter this until I read the decsription:
*.package -k 'bx'
*.padstack -k 'bx'
*.part -k 'bx'
*.symbol -k 'bx'
(the files are binary libraries used by our electronic CAD system to generate patterns on circuit boards)
Maybe it should be like this instead?
*.package -k 'b' -k 'x'
*.padstack -k 'b' -k 'x'
*.part -k 'b' -k 'x'
*.symbol -k 'b' -k 'x'
Best regards,
Bo Berglund
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Glen Starrett
Sent: den 20 oktober 2008 14:38
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Difference between exclusive edit and resrved edit?
Hi Bo,
> cvs update -k+x file to enforce exclusive reservation
That's probably the one you want. That command just adds the exclusive
bit to them, so if they are already set up with deltas then it'll just
add it.
You'll probably also want to update the cvswrappers on the server to
reflect the change, so new files are added with the exclusive option as
well.
> What I can't quite grasp is the difference between these two
> options....
One is "voluntary", but I've never used that option.
> The concurrent edit model with all files checked out read/write
> obviously does not fit the bill. And the exclusive checkout used by
> other version control systems is also no good because all of the
> developers need a copy of the library files locally, albeit readonly.
Files with the "x" option are checked out read only, and made rw by the
edit command.
Regards,
--
Glen Starrett
Technical Account Manager, North America
March Hare Software, LLC
http://march-hare.com/cvspro/
O: 800-653-1501 x803
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/
More information about the cvsnt
mailing list