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

Re: [PATCH] Re: Incorporate svn 1.7 changes to vc-svn.el

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 26 Jan 2011 07:45:11 +0200

This looks correct, perhaps someone with $EDITOR != vim can apply it?

Noorul Islam K M wrote on Wed, Jan 26, 2011 at 10:35:02 +0530:
> Noorul Islam K M <noorul_at_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
Received on 2011-01-26 06:49:29 CET

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