[cvsnt] not a valid editor of the file
Sumanjit Kaur Brar
SBrar at quark.com
Tue Oct 14 10:47:27 BST 2008
I am also facing similar problem. When I try to take an edit for the file, cvs server refuses and shows that another user has taken it for editing.
cvs edit -c -- abc.txt (in directory C:\Test\)
abc.txt rrapplean Thu Oct 9 21:33:59 2008 GMT RRapplean C:\cvs\
cvs [edit aborted]: Files being edited!
I tried using reserved edit, force edit but nothing worked. Can I forcibly unedit the file from server end or do I have to ask the user to explicitly unedit the file.
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Gerhard Fiedler
Sent: Friday, May 16, 2008 7:25 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] not a valid editor of the file
Arthur Barrett wrote:
>> I'm trying to commit several files and receive a message that I am not a
>> valid editor of these files and the operation fails. The server runs
>> on my machine and I've been the only one to edit these files. Has
>> anyone come across something like this?
>> Any help would be greatly appreciated.
> You added the files as '-kx', so you need to do 'cvs edit' before
> beginning work on the file.
You can also use 'cvs edit' after working on the file, before committing
the file. (This is a bit against the spirit of -kx and cvs edit, but it
helps fixing your situation and doesn't do any harm if you know that your'e
the only editor.)
Long term solutions are either to follow Arthur's advice and use 'cvs edit'
consistently as it's supposed to be used (TortoiseCVS can help a lot with
this) or to remove the -kx option.
cvsnt mailing list
cvsnt at cvsnt.org
More information about the cvsnt