--- "LIU,SHI-ZHOU (HP-China,ex2)" <[EMAIL PROTECTED]> wrote: > CVS server version:1.11.2 on HP-UX 11i > CVS client: Win CVS 1.3.8.1 on Win2K
I'd upgrade the client to be able to take advantage of some newer commands (eg "cvs edit"). > How to set CVS be the reserved checkout mode only? > I mean that if one > checkout a file and edit it, before he/she commit > it, other can't edit the > file. CVS doesn't have reserved locks. What you can do, though, is to take a look at the advisory locks patch available at SourceForge under project RCVS. It'll pretty much give you what you want except that, if a developer doesn't follow the rules (ie doesn't do "cvs edit -c") or forces an edit (ie does "cvs edit -f"), they'll be able to edit the file. The advantage is that, assuming users have "edit -c" in their ~/.cvsrc files, they'll be notified of someone else's edit before going ahead with "cvs edit -f" if they so choose. > Now, we use the rcslock.pl file according to the > book: Version Management > with CVS for CVS 1.11.2 by Per Cederqvist et al > And run the command "cvs admin -l", but thus make > no one can commit any > file. > If i run the command "cvs admin -L", when one > editing a file, other also > want to edit the file, it will give out the message: IMHO, using "cvs admin" should be avoided as much as possible since it's a tunnel to the underlying RCS implementation. HTH, Noel __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
