unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-dired refresh
@ 2008-01-18 21:48 Nick Roberts
  2008-01-18 23:00 ` Alexandru Harsanyi
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Roberts @ 2008-01-18 21:48 UTC (permalink / raw)
  To: emacs-devel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-18 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 21:48 vc-dired refresh Nick Roberts
2008-01-18 23:00 ` Alexandru Harsanyi

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).