# HG changeset patch # User Eric S. Raymond # Date 1209699496 0 # Node ID c0d96bdee44161a7686fae656a9d17cc7ba9d394 # Parent 37fa7ba3820cc9d942b2c1a328ed976455ac7a43 More informative message when a fileset is in a mixed state. diff -r 37fa7ba3820c -r c0d96bdee441 lisp/ChangeLog --- a/lisp/ChangeLog Fri May 02 03:30:10 2008 +0000 +++ b/lisp/ChangeLog Fri May 02 03:38:16 2008 +0000 @@ -27,6 +27,8 @@ and was somewhat misleading. * vc.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. 2008-05-01 Sam Steingold diff -r 37fa7ba3820c -r c0d96bdee441 lisp/vc.el --- a/lisp/vc.el Fri May 02 03:30:10 2008 +0000 +++ b/lisp/vc.el Fri May 02 03:38:16 2008 +0000 @@ -1620,7 +1620,8 @@ ;; Ignore directories, they are compatible with anything. (unless (file-directory-p file) (unless (vc-compatible-state (vc-state file) state) - (error "Fileset is in a mixed-up state %s %s" state (vc-state file))) + (error "%s:%s clashes with %s:%s" + file (vc-state file) (car files) state)) (unless (eq (vc-checkout-model backend file) model) (error "Fileset has mixed checkout models")))) ;; Check for buffers in the fileset not matching the on-disk contents.