[cvsnt] problems with edit/commit -c

Torsten Martinsen torsten at tiscali.dk
Tue Sep 17 10:44:06 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


This is one of the things I have been wanting to fix for a while - I think
it would be quite easy to add a new keyword (say _exclusive) to CVS/fileattr
on the server. In this way true exclusive edits could be implemented. Some
day when I get lots of free time :-) ...

-Torsten

----- Original Message -----
From: "Tony Hoyle" <tmh at nodomain.org>
Newsgroups: support.cvsnt
To: <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
Sent: Tuesday, September 17, 2002 10:48
Subject: Re: [cvsnt] problems with edit/commit -c


> On Mon, 16 Sep 2002 19:44:40 +0000, Kim Sparrow wrote:
>
> > The 'edit -c' part seems to work fine.  When the other person tries to
> > do an 'edit -c', it says "cvs [edit aborted]: files being edited!"
> > Good.  When the other tries to do a plain 'edit', the CVS\fileattr file
> > in the repository correctly notes that both are now editors of the file.
> >  But when only one of us has a reserved edit and the other tries a
> > 'commit -c' the file gets committed as if it wasn't locked, no warning
> > message or anything.  From
> > http://www.devguy.com/fp/cfgmgmt/tools/install.htm I think I understand
> > how it's supposed to work.. and yet what I'm observing doesn't quite
> > match up.  I don't need to do any scripting in the CVSROOT directory
> > like in the old 'admin -l'  days do I?  I'm using 57i.
>
> CVS doesn't distinguish between a 'reserved' edit and a 'plain' edit, so
> you can circumvent the 'edit -c' system in the way you describe.  'commit
> -c' just checks to see if you're a valid editor of the file.  If you want
> to use reserved edits all the time you can tell CVS to always use '-c' by
> using a .cvsrc file in the home directory containing the default options.






More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook