From: Andre Spiegel <spiegel@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: vc-mode permissions problems on NT
Date: Tue, 09 Sep 2003 19:10:53 +0200 [thread overview]
Message-ID: <1063127161.542.10.camel@localhost> (raw)
In-Reply-To: <ullsyj8xy.fsf@boost-consulting.com>
On Tue, 2003-09-09 at 17:08, David Abrahams wrote:
> I normally have CVSREAD set in my environment so that files are
> checked out read-only by default. After building emacs from the CVS
> HEAD as of a few days ago, `C-x v v' on an *un-edited* write-protected
> file under source control yields the following messages:
>
> File is edited but read-only; making it writable
> File is under version-control; use C-x v v to check in/out
I think a quick workaround might be to set vc-stay-local to nil, and
maybe also vc-cvs-stay-local to nil. This will cause VC not to rely on
its timestamp heuristics, and do a real "cvs status" during C-x v v.
I cannot reproduce your actual problem over here, but I have some
guesses.
Is this with a local repository, or a remote one? Does the problem
happen for every file, even when it's freshly checked out from CVS?
Before you do anything with the file in Emacs, do the timestamp in
CVS/Entries and the file's modification time agree? When you visit the
file in Emacs (without doing anything yet), does the modeline show the
file as edited ("CVS:x.xx") or up-to-date ("CVS-x.xx")?
I have a suspicion that this might be related to the libc problem we've
recently seen, where file's modification times are incorrectly set to
1970-01-01. If you see anything along these lines, please also let me
know.
next parent reply other threads:[~2003-09-09 17:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ullsyj8xy.fsf@boost-consulting.com>
2003-09-09 17:10 ` Andre Spiegel [this message]
2003-09-09 18:30 ` vc-mode permissions problems on NT David Abrahams
2003-09-09 19:02 ` Andre Spiegel
2003-09-10 13:25 ` David Abrahams
2003-09-10 14:04 ` Andre Spiegel
2003-09-10 15:57 ` David Abrahams
2003-09-11 9:25 ` Andre Spiegel
2003-09-11 11:20 ` David Abrahams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1063127161.542.10.camel@localhost \
--to=spiegel@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).