From: Andre Spiegel <spiegel@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: behavior of vc-recompute-state in combination with vc-cvs-stay-local is t
Date: Tue, 30 Nov 2004 12:08:01 +0100 [thread overview]
Message-ID: <1101812881.15479.21.camel@localhost> (raw)
In-Reply-To: <1B3ACCFD5694A94DBA4E231402B0E9ED57AECB@mucmail1.sdm.de>
On Mon, 2004-11-29 at 17:31 +0100, klaus.berndl@sdm.de wrote:
> 4. Running (vc-recompute-state "/a/file/under/remote-repository-CVS/file.txt")
> ==> returns always nil, because the state-binding in the vc-cvs-state is
> always nil for that file.
The code was simply based on the assumption that vc-recompute-state
would only be called for files that are already visited. In this case,
vc-state can never be nil because we compute it at visiting time
already.
I've changed this now and moved vc-recompute-state into vc-hooks.el. It
should always return a valid state now.
prev parent reply other threads:[~2004-11-30 11:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-29 16:31 behavior of vc-recompute-state in combination with vc-cvs-stay-local is t klaus.berndl
2004-11-30 11:08 ` Andre Spiegel [this message]
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=1101812881.15479.21.camel@localhost \
--to=spiegel@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).