From 5378843c2327d5bd08f7c20e9e4f6c21ba888b75 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Fri, 4 Jan 2008 07:59:25 +0000 Subject: [PATCH] * vc-git.el (vc-git-dir-state): * vc-hg.el (vc-hg-dir-state): Set the vc-backend property. --- lisp/ChangeLog | 5 +++++ lisp/vc-git.el | 3 +++ lisp/vc-hg.el | 2 ++ 3 files changed, 10 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2ee492aff86..58420d8483b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-01-04 Dan Nicolaescu + + * vc-git.el (vc-git-dir-state): + * vc-hg.el (vc-hg-dir-state): Set the vc-backend property. + 2008-01-04 Richard Stallman * delsel.el (delete-selection-mode): Doc fix. diff --git a/lisp/vc-git.el b/lisp/vc-git.el index be5bbcfe43e..4d68624ad8e 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -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) diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index a7c10eeb027..7f1074abdcc 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -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) -- 2.39.2