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

Re: [PATCH] vc-svn: Enable vc-merge, avoid "svn status -uv"

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-04-03 21:42:17 CEST

Martin Pool <mbp@sourcefrog.net> writes:
> * tools/client-side/vc-svn.el (vc-svn-state): Avoid running "svn
> status -uv" to check the status of a file, because this causes
> network delays and is not really necessary, and also does not work
> on newly-added files in some releases of Subversion (issue #1042).
>
> * tools/client-side/vc-svn.el: Describe how to get svn support
> autoloaded by emacs. Document work that should be done to bring
> this up to the same standard as emacs vc-cvs support.
>
> * tools/client-side/vc-svn.el (vc-svn-merge-news): Implement vc-merge
> for Subversion. After merging updates, if any, cause vc to reload
> the file's base revision.

No need to list the same file three times. I rewrote the log message
thusly:

 .----------------------------------------------------------------------.
 | Patch from Martin Pool <mbp@sourcefrog.net>: |
 | |
 | Enable vc-merge in vc-svn.el, and avoid "svn status -uv". |
 | |
 | * tools/client-side/vc-svn.el: |
 | (vc-svn-state): Avoid running "svn status -uv" to check the status |
 | of a file, because this causes network delays and is not really |
 | necessary, and also does not work on newly-added files in some |
 | releases of Subversion [see issue #1042]. |
 | (vc-svn-merge-news): Implement vc-merge for Subversion. After |
 | merging updates, if any, cause vc to reload the file's base |
 | revision. |
 | |
 | Also, describe how to get svn support autoloaded by emacs, and |
 | document work that should be done to bring this up to the same |
 | standard as emacs vc-cvs support. |
 `----------------------------------------------------------------------'

> Index: tools/client-side/vc-svn.el
> ===================================================================
> --- tools/client-side/vc-svn.el (revision 5449)
> +++ tools/client-side/vc-svn.el (working copy)
> @@ -11,17 +11,51 @@
> ;;; VC patches.
>
>
> +;;; To make this file load on demand, put this line into a startup file:
> +;;;
> +;;; (add-to-list 'vc-handled-backends 'SVN)
> +
> +

This won't do any good if the file is not in the user's `load-path'
(in fact, it will cause an error when bringing svn-controlled files
into Emacs! :-) ). I'll amend the instructions when I apply the
patch.

Otherwise, looks good, I'm applying now.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 3 22:24:30 2003

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