unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: emacs-devel@gnu.org
Subject: vc-dired refresh
Date: Sat, 19 Jan 2008 10:48:16 +1300	[thread overview]
Message-ID: <18321.7840.682424.490929@kahikatea.snap.net.nz> (raw)


I've noticed the following problem with vc-dired.  Its present in Emacs 21.3
and a bit obscure, so Ij ust present it here for the record.

Sometimes that if you do version control operations outside Emacs, 'g'
(revert-buffer) in vc-dired doesn't keep track of the changes (presumably using
some internal state).

Here's one (contrived) example of what I'm saying:

From the command line:

  1) cd emacs/src  (or your directory for Emacs C files.

  2) touch emacs.c

From Emacs (with cvs-stay-local t)

  3) C-x v d

  4) Dired under VC (directory): ~/emacs/src/<RET>

emacs.c is displayed as modified because the date has changed

From the command line:

  5) cvs status emacs.c

This finds no changes, updates the timestamp in Entries and reports that
emacs.c is up-to-date.

From Emacs

  6) 'g' should show now that emacs.c is not modified but doesn't, presumably
  because it doesn't consult the Entries file again.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

             reply	other threads:[~2008-01-18 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 21:48 Nick Roberts [this message]
2008-01-18 23:00 ` vc-dired refresh Alexandru Harsanyi

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=18321.7840.682424.490929@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --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).