]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-hg-state, vc-hg-dir-state): Deal with 'missing
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 27 Mar 2008 22:18:10 +0000 (22:18 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 27 Mar 2008 22:18:10 +0000 (22:18 +0000)
files.

lisp/ChangeLog
lisp/vc-hg.el

index b939374d03e24bffe27f3e682693111b3592ec34..171bb3f7f0f7452fa72b09aefb33d690d3138d78 100644 (file)
@@ -1,5 +1,8 @@
 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>
index ac87336d5d76fb5193a4af87254754a2a1aafd02..abf64a7f9879a52c1fbc6629e6c7ed8257427386 100644 (file)
             ((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)))