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

Re: svn diff; vc-svn-diff in vc-svn.el

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-04-10 20:24:57 CEST

Karl Chen <quarl@hkn.eecs.berkeley.edu> writes:
> Also a typo in vc-svn.el prevents the vc-svn-diff function from being
> used at all even though the diff switches are ignored by the function
> and then possibly svn itself.
>
> --- vc-svn.el (revision 5495)
> +++ vc-svn.el (working copy)
> @@ -280,11 +280,11 @@
> workfile contents as the newer version.
> This function returns a status of either 0 (no differences found), or
> 1 (either non-empty diff or the diff is run asynchronously)."
> - (let* ((diff-switches-list (vc-diff-switches-list svn))
> + (let* ((diff-switches-list (vc-diff-switches-list 'svn))
> (status (vc-svn-run-status file))
> (local (elt status 1))

The code works for me without this patch; `vc-diff-switches-list' is a
macro not a function.

What was the error you were getting?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 10 21:08:10 2003

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.