[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Incorporate svn 1.7 changes to vc-svn.el

From: Noorul Islam K M <noorul_at_collab.net>
Date: Wed, 19 Jan 2011 17:22:19 +0530

After migrating working copy to 1.7, vc-svn.el is not functioning
properly. This is because .svn/entries file does not exist. I think we
no longer need to check existence of this file. Since .svn exists at the
root of the working copy we no longer be able to assume that .svn will
be available in all folders of working copy.

Log
[[[

Incorporate svn 1.7 changes.

* contrib/client-side/emacs/vc-svn.el
  (vc-svn-registered): Since 1.7 '.svn/entries' file does not exist. No
    need to check existence of this file. Running 'svn status' command
    alone is good enough.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
]]]

Thanks and Regards
Noorul

Index: contrib/client-side/emacs/vc-svn.el
===================================================================
--- contrib/client-side/emacs/vc-svn.el (revision 1060693)
+++ contrib/client-side/emacs/vc-svn.el (working copy)
@@ -115,10 +115,7 @@
 
 (defun vc-svn-registered (file)
   "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))))
 
 
 (put 'vc-svn-with-output-buffer 'lisp-indent-function 0)
Received on 2011-01-19 12:55:11 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.