(cvs-revert-if-needed): Ignore `unknown' files, since cvs

did not touch them.
This commit is contained in:
Stefan Monnier 2007-11-15 15:37:55 +00:00
parent a1bf7841cf
commit e75e6cc8f7
2 changed files with 10 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2007-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
* pcvs.el (cvs-revert-if-needed): Ignore `unknown' files, since cvs
did not touch them.
2007-11-15 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-menu.el: New file.
@ -30,8 +35,7 @@
(byte-compile-nilconstp): New function.
(byte-optimize-cond): Kill subsequent branches when a branch is
know to be taken or not taken.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand
coding.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand coding.
2007-11-13 Dan Nicolaescu <dann@ics.uci.edu>
@ -40,8 +44,8 @@
2007-11-12 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-open-connection-setup-interactive-shell): Check
whether the output of "uname -sr" has been changed.
* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Check whether the output of "uname -sr" has been changed.
2007-11-12 Vinicius Jose Latorre <viniciusjl@ig.com.br>
@ -55,8 +59,7 @@
a bootstrap failure.
* vc-cvs.el (vc-cvs-diff): If backup files exist, diff them
instead of doing "cvs diff" in order to avoid accessing the
repository.
instead of doing "cvs diff" in order to avoid accessing the repository.
2007-11-12 Kevin Ryde <user42@zip.com.au>

View file

@ -2291,7 +2291,7 @@ this file, or a list of arguments to send to the program."
(buffer (find-buffer-visiting file)))
;; For a revert to happen the user must be editing the file...
(unless (or (null buffer)
(eq (cvs-fileinfo->type fileinfo) 'MESSAGE)
(eq (cvs-fileinfo->type fileinfo) '(MESSAGE UNKNOWN))
;; FIXME: check whether revert is really needed.
;; `(verify-visited-file-modtime buffer)' doesn't cut it
;; because it only looks at the time stamp (it ignores