The vc-svn.el file at
http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/emacs/vc-svn.el
for svn support in Emacs 21 broke with the change in Subversion that
puts .svn only at the top level of a repository. Now the
(vc-svn-registered) test for whether a file is in a Subversion
repository always fails, leading Emacs to report that nothing in svn is
"under version control".
I made the following trivial change to have that function merely call
svn status, omitting the efficiency check for .svn/entries, and it has
been working ok.
Not sure if vc-svn.el is maintained here or if anyone besides me on the
planet is still using Emacs 21, but thought I'd pass it along. If it's
deemed worth submitting as an issue, I'm happy to do that.
Best,
Karl
--- ORIG/vc-svn.el 2013-07-19 16:03:05.740311730 -0700
+++ vc-svn.el 2013-07-19 16:12:16.241234191 -0700
@@ -127,6 +127,5 @@
"Return true if FILE is registered under Subversion."
- ;; First, a quick false positive test: is there a `.svn/entries' file?
- (and (file-exists-p (expand-file-name ".svn/entries"
- (file-name-directory file)))
- (not (null (vc-svn-run-status file)))))
+ (not (null (vc-svn-run-status file))))
+ ;; We used to check for .svn/entries here for efficiency,
+ ;; but now .svn is only at the top level of the repository.
Diff finished at Fri Jul 19 16:12:17
Received on 2013-07-20 08:32:10 CEST