comparison lisp/vc-svn.el @ 94563:a0bb8ca25a33

Clean up vc*-revision-granularity and vc*-checkout-model.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 02 May 2008 17:47:25 +0000
parents 2a61c5f918a5
children ee5932bf781d
comparison
equal deleted inserted replaced
94562:46f178f2b009 94563:a0bb8ca25a33
89 (t ".svn")) 89 (t ".svn"))
90 "The name of the \".svn\" subdirectory or its equivalent.") 90 "The name of the \".svn\" subdirectory or its equivalent.")
91 91
92 ;;; Properties of the backend 92 ;;; Properties of the backend
93 93
94 (defun vc-svn-revision-granularity () 94 (defun vc-svn-revision-granularity () 'repository)
95 'repository) 95 (defun vc-svn-checkout-model (files) 'implicit)
96
96 ;;; 97 ;;;
97 ;;; State-querying functions 98 ;;; State-querying functions
98 ;;; 99 ;;;
99 100
100 ;;; vc-svn-admin-directory is generally not defined when the 101 ;;; vc-svn-admin-directory is generally not defined when the
190 ;; There is no need to consult RCS headers under SVN, because we 191 ;; There is no need to consult RCS headers under SVN, because we
191 ;; get the workfile version for free when we recognize that a file 192 ;; get the workfile version for free when we recognize that a file
192 ;; is registered in SVN. 193 ;; is registered in SVN.
193 (vc-svn-registered file) 194 (vc-svn-registered file)
194 (vc-file-getprop file 'vc-working-revision)) 195 (vc-file-getprop file 'vc-working-revision))
195
196 (defun vc-svn-checkout-model (files)
197 "SVN-specific version of `vc-checkout-model'."
198 ;; It looks like Subversion has no equivalent of CVSREAD.
199 'implicit)
200 196
201 ;; vc-svn-mode-line-string doesn't exist because the default implementation 197 ;; vc-svn-mode-line-string doesn't exist because the default implementation
202 ;; works just fine. 198 ;; works just fine.
203 199
204 (defun vc-svn-previous-revision (file rev) 200 (defun vc-svn-previous-revision (file rev)