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

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

From: Karl Chen <quarl_at_hkn.eecs.berkeley.edu>
Date: 2003-03-30 11:31:55 CEST

Hi,

The --extensions argument to svn diff doesn't seem to do anything. (I
want to specify -b or -w). Is it implemented at all? I can work
around it by creating a helper script that passes the desired
arguments and then using --diff-cmd. The parameter is misnamed since
it only allows you to give it a program (which must be a full path),
without arguments, and it doesn't work with any diff program than a
command-line GNU-diff-like program. Its error message is very
undescriptive ("error 255" for all errors).

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

-- 
Karl Chen / quarl@quarl.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 30 21:57:29 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.