Noorul Islam K M <noo...@collab.net> writes:

> 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)

I forgot to add [PATCH] tag in the subject line. Adding it now.

Thanks and Regards
Noorul

Reply via email to