summaryrefslogtreecommitdiff
path: root/lisp/vc-cvs.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-12-31 20:43:49 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-12-31 20:43:49 +0000
commit8c58d37d56b880334a374cc50f3d0706d91b8cfe (patch)
treeb758f1a351afff874154c97a3df9e7fd18771cb0 /lisp/vc-cvs.el
parent55adbcc236c30c236b1bda59a6c17258fa7f541c (diff)
downloademacs-8c58d37d56b880334a374cc50f3d0706d91b8cfe.tar.gz
(vc-cvs-parse-entry): Set the vc-backend property.
Diffstat (limited to 'lisp/vc-cvs.el')
-rw-r--r--lisp/vc-cvs.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index c3aff66588b..321f4e52805 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -947,6 +947,7 @@ is non-nil."
(cond
;; entry for a "locally added" file (not yet committed)
((looking-at "/[^/]+/0/")
+ (vc-file-setprop file 'vc-backend 'CVS)
(vc-file-setprop file 'vc-checkout-time 0)
(vc-file-setprop file 'vc-working-revision "0")
(if set-state (vc-file-setprop file 'vc-state 'edited)))
@@ -962,6 +963,7 @@ is non-nil."
;; sticky tag
"\\(.\\|\\)" ;Sticky tag type (date or tag name, could be empty)
"\\(.*\\)")) ;Sticky tag
+ (vc-file-setprop file 'vc-backend 'CVS)
(vc-file-setprop file 'vc-working-revision (match-string 1))
(vc-file-setprop file 'vc-cvs-sticky-tag
(vc-cvs-parse-sticky-tag (match-string 4)