bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read only mode applied to modified files under CVS


From: Stefan Monnier
Subject: Re: Read only mode applied to modified files under CVS
Date: 18 Apr 2001 09:26:16 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103

>>>>> "Chris" == Chris Wood <address@hidden> writes:
> It seems that when a file under CVS has previously been modified, but not
> checked into the repository, the file becomes read only, ie it's only
> possible to modify a file the first time that file is visited following a
> checkin or out.

This is not the intended behavior and doesn't happen for me, so we'll
need more information to figure what is the problem.

Could you show the output of `ls -l' for the file under CVS
control that VC incorrectly opens as read-only ?
[I understand that you may not have `ls' on your NT system, in which
case, you can just open a dired buffer in the directory and show us
the relevant line.]
Also does the modeline say "CVS:XXX" or "CVS-XXX" ?

Finally, in the buffer where you see the problem could you do:

    M-: (user-login-name) RET
and
    M-: (user-login-name (nth 2 (file-attributes buffer-file-name))) RET

and tell us what the two commands returned (it should be the same).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]