2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
+ * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing
+ files.
+
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
((eq state ?M) 'edited)
((eq state ?I) 'ignored)
((eq state ?R) 'removed)
+ ((eq state ?!) 'missing)
((eq state ??) 'unregistered)
((eq state ?C) 'up-to-date) ;; Older mercurials use this
(t 'up-to-date)))))))
(vc-file-setprop file 'vc-backend 'none)
(vc-file-setprop file 'vc-state 'unregistered))
((eq status-char ?!)
- nil)
+ (vc-file-setprop file 'vc-backend 'Hg)
+ (vc-file-setprop file 'vc-state 'missing))
(t ;; Presently C, might change to = in 0.9.6
(vc-file-setprop file 'vc-backend 'Hg)
(vc-file-setprop file 'vc-state 'up-to-date)))