--- [EMAIL PROTECTED] wrote: > You could write a perl script that would take a file > name and do > a "cvs editors" on it. If there were any, it could > list who is > editing the file and end, and if there were none it > could do a > "cvs edit".
There's a race condition here in which there's a small chance of more than one person succeeding in editing the file(s) and hence the reason for the advisory locks patch (read on). > You might find something useful in the > "cvs edit -c" > patch in the Renegade CVS Sourceforge project, but I > don't have the > URL, Sourceforge's search isn't working right now, > and I don't > remember exactly what it does. "cvs edit -c" is exactly what you describe above. The caveat is that anyone could do a plain "cvs edit" or "cvs edit -f" to bypass or override the check (unless one patched the patch). Noel __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs