Commit 5378843c authored by Dan Nicolaescu's avatar Dan Nicolaescu

* vc-git.el (vc-git-dir-state):

* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.
parent 78379264
2008-01-04 Dan Nicolaescu <dann@ics.uci.edu>
* vc-git.el (vc-git-dir-state):
* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.
2008-01-04 Richard Stallman <rms@gnu.org>
* delsel.el (delete-selection-mode): Doc fix.
......@@ -167,10 +167,13 @@
;; should not show up in vc-dired, so don't deal with them
;; here.
((eq status-char ?H)
(vc-file-setprop file 'vc-backend 'Git)
(vc-file-setprop file 'vc-state 'up-to-date))
((eq status-char ?M)
(vc-file-setprop file 'vc-backend 'Git)
(vc-file-setprop file 'vc-state 'edited))
((eq status-char ?C)
(vc-file-setprop file 'vc-backend 'Git)
(vc-file-setprop file 'vc-state 'edited))
((eq status-char ??)
(vc-file-setprop file 'vc-backend 'none)
......
......@@ -188,9 +188,11 @@
;; should not show up in vc-dired, so don't deal with them
;; here.
((eq status-char ?A)
(vc-file-setprop file 'vc-backend 'Hg)
(vc-file-setprop file 'vc-workfile-version "0")
(vc-file-setprop file 'vc-state 'edited))
((eq status-char ?M)
(vc-file-setprop file 'vc-backend 'Hg)
(vc-file-setprop file 'vc-state 'edited))
((eq status-char ??)
(vc-file-setprop file 'vc-backend 'none)
......
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