file locking in cvs

2002-10-08 Thread Iqbal Shaikh
Hi all, Would like to know if we need to edit any admin file in CVSROOT to enable locking of files in cvs. Iknow cvs is mainly for concurrent usage/editing of files, but it would be gratefull if someone gives me some tips. Note: I have created a group cvsadmin and given the group full rights to

[Fwd: file locking in cvs]

2002-10-08 Thread Iqbal Shaikh
Want to actually clarify my mail, When i meant checked out files , I mean any files in the database,( not admin files ). iqbal Iqbal Shaikh wrote: Hi all, Would like to know if we need to edit any admin file in CVSROOT to enable locking of files in cvs. I know cvs is mainly for concurrent

Re: [Fwd: file locking in cvs]

2002-10-08 Thread Noel Yap
You might want to take a look at the advisory locks patch available at SourceForge under project RCVS. The patch won't give you reserved locks, but will give you advisory locks. The benefits of advisory locks over reserved locks are: 1. Complements CVS's concurrent development methodology. 2.

Re: file locking in cvs

2002-10-08 Thread Larry Jones
Iqbal Shaikh writes: Would like to know if we need to edit any admin file in CVSROOT to enable locking of files in cvs. Don't do that. I know cvs is mainly for concurrent usage/editing of files, Then why are you trying to subvert it? Note: I have created a group cvsadmin and

Re: file locking in cvs

2002-10-08 Thread Jenn Vesperman
On Tue, 2002-10-08 at 22:18, Iqbal Shaikh wrote: Hi all, Would like to know if we need to edit any admin file in CVSROOT to enable locking of files in cvs. Check info cvs, especially 'Multiple Developers' and the subheadings under Multiple Developers called 'Watches' and 'Choosing a model'.

Re: File Locking with CVS

2002-05-02 Thread Matthew Persico
Greg A. Woods [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... [ On Monday, April 29, 2002 at 15:48:37 (-0500), Gilroy, Michael -AES wrote: ] Subject: File Locking with CVS My manager won't let me use CVS with concurrent versions of files. I need to have the file locked when

File Locking with CVS

2002-04-29 Thread Gilroy, Michael -AES
My manager won't let me use CVS with concurrent versions of files. I need to have the file locked when I edit the file (cvs edit) so that no one else can do a 'cvs edit' until I either do a 'cvs unedit' or a 'cvs commit'. This would be similar to the way SCCS and RCS work. However, I also need

Re: File Locking with CVS

2002-04-29 Thread Noel Yap
--- Gilroy, Michael -AES [EMAIL PROTECTED] wrote: My manager won't let me use CVS with concurrent versions of files. I need to have the file locked when I edit the file (cvs edit) so that no one else can do a 'cvs edit' until I either do a 'cvs unedit' or a 'cvs commit'. This would be

Re: File Locking with CVS

2002-04-29 Thread david
My manager won't let me use CVS with concurrent versions of files. That means CVS is not really suited for your needs. If you are doing normal software development, you will find that concurrency works, regardless of what your manager says. It will solve many more problems than it creates.

Re: File Locking with CVS

2002-04-29 Thread Noel Yap
--- [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

Re: File Locking with CVS

2002-04-29 Thread Greg A. Woods
[ On Monday, April 29, 2002 at 15:48:37 (-0500), Gilroy, Michael -AES wrote: ] Subject: File Locking with CVS My manager won't let me use CVS with concurrent versions of files. I need to have the file locked when I edit the file (cvs edit) so that no one else can do a 'cvs edit' until I