# HG changeset patch # User Eric S. Raymond # Date 1209700328 0 # Node ID dc1cd59ce955687b07075e208eca426fd439c324 # Parent e158200330c2945938eb3107ed6646ee683f713a Better error message on missing files. diff -r e158200330c2 -r dc1cd59ce955 lisp/ChangeLog --- a/lisp/ChangeLog Fri May 02 03:48:17 2008 +0000 +++ b/lisp/ChangeLog Fri May 02 03:52:08 2008 +0000 @@ -35,8 +35,8 @@ and was somewhat misleading. * vc-cvs.el (vc-cvs-delete-file) Don't do a "cvs commit" immediately after removing the file. - * vc.el (vc-next-action): More informative message when a fileset - is in a mixed state. + * vc.el (vc-next-action): More informative messages when a fileset + is in a mixed state or files are missing. 2008-05-01 Sam Steingold diff -r e158200330c2 -r dc1cd59ce955 lisp/vc.el --- a/lisp/vc.el Fri May 02 03:48:17 2008 +0000 +++ b/lisp/vc.el Fri May 02 03:52:08 2008 +0000 @@ -621,9 +621,6 @@ ;; ;; - add a mechanism for ignoring files. ;; -;; - vc-next-action should do something about 'missing files. Maybe -;; just warn, or offer to checkout. -;; ;; - When vc-next-action calls vc-checkin it could pre-fill the ;; *VC-log* buffer with some obvious items: the list of files that ;; were added, the list of files that were removed. If the diff is @@ -1653,6 +1650,8 @@ (error "Aborted"))))))) ;; Do the right thing (cond + ((eq state 'missing) + (error "Fileset files are missing, so cannot be operated on.")) ;; Files aren't registered ((or (eq state 'unregistered) (eq state 'ignored))