mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(vc-hg-dir-state): Set the vc-backend property.
This commit is contained in:
parent
1da8a03154
commit
03da37df75
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2007-12-29 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.
|
||||
|
||||
2007-12-29 Eric S. Raymond <esr@snark.thyrsus.com>
|
||||
|
||||
* vc-svn.el (vc-svn-parse-status): Recognize 'unregistered,
|
||||
|
|
|
|||
|
|
@ -200,15 +200,20 @@
|
|||
;; should not show up in vc-dired, so don't deal with them
|
||||
;; here.
|
||||
((eq status-char ?C)
|
||||
(vc-file-setprop file 'vc-backend 'Hg)
|
||||
(vc-file-setprop file 'vc-state 'up-to-date))
|
||||
((eq status-char ?A)
|
||||
(vc-file-setprop file 'vc-backend 'Hg)
|
||||
(vc-file-setprop file 'vc-working-revision "0")
|
||||
(vc-file-setprop file 'vc-state 'added))
|
||||
((eq status-char ?R)
|
||||
(vc-file-setprop file 'vc-backend 'Hg)
|
||||
(vc-file-setprop file 'vc-state 'removed))
|
||||
((eq status-char ?M)
|
||||
(vc-file-setprop file 'vc-backend 'Hg)
|
||||
(vc-file-setprop file 'vc-state 'edited))
|
||||
((eq status-char ?I)
|
||||
(vc-file-setprop file 'vc-backend 'Hg)
|
||||
(vc-file-setprop file 'vc-state 'ignored))
|
||||
((eq status-char ??)
|
||||
(vc-file-setprop file 'vc-backend 'none)
|
||||
|
|
@ -216,6 +221,7 @@
|
|||
((eq status-char ?!)
|
||||
nil)
|
||||
(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)))
|
||||
(forward-line)))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue