From: Stefan Monnier Date: Thu, 15 Nov 2007 15:37:55 +0000 (+0000) Subject: (cvs-revert-if-needed): Ignore `unknown' files, since cvs X-Git-Tag: emacs-pretest-23.0.90~9735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e75e6cc8f7b830964e323b6b109985565532046f;p=emacs.git (cvs-revert-if-needed): Ignore `unknown' files, since cvs did not touch them. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index edc8ae70dd2..f39752b4e18 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-11-15 Stefan Monnier + + * pcvs.el (cvs-revert-if-needed): Ignore `unknown' files, since cvs + did not touch them. + 2007-11-15 Jay Belanger * 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 @@ -40,8 +44,8 @@ 2007-11-12 Michael Albinus - * 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 @@ -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 diff --git a/lisp/pcvs.el b/lisp/pcvs.el index a0bac0b2871..b0b5d919cb0 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -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