Commit 42550348 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-hg-state, vc-hg-dir-state): Deal with 'missing

files.
parent 0bf12140
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>
......
......@@ -177,6 +177,7 @@
((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)))))))
......@@ -222,7 +223,8 @@
(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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment