subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matti...@apache.org
Subject svn commit: r1435962 - /subversion/trunk/contrib/client-side/emacs/dsvn.el
Date Sun, 20 Jan 2013 20:57:59 GMT
Author: mattiase
Date: Sun Jan 20 20:57:58 2013
New Revision: 1435962

URL: http://svn.apache.org/viewvc?rev=1435962&view=rev
Log:
Use svn-diff-args everywhere svn diff is called. This rectifies an
earlier omission.

* contrib/client-side/emacs/dsvn.el
  (svn-call-process): Signature change.
  (svn-log-show-diff): Use svn-diff-args.

Modified:
    subversion/trunk/contrib/client-side/emacs/dsvn.el

Modified: subversion/trunk/contrib/client-side/emacs/dsvn.el
URL: http://svn.apache.org/viewvc/subversion/trunk/contrib/client-side/emacs/dsvn.el?rev=1435962&r1=1435961&r2=1435962&view=diff
==============================================================================
--- subversion/trunk/contrib/client-side/emacs/dsvn.el (original)
+++ subversion/trunk/contrib/client-side/emacs/dsvn.el Sun Jan 20 20:57:58 2013
@@ -165,7 +165,7 @@ arguments ARGS. Return the process objec
    (lambda ()
      (apply svn-process-file svn-program infile buffer display args))))
 
-(defun svn-call-process (buffer &rest args)
+(defun svn-call-process (buffer args)
   "Run svn and wait for it to finish.
 Argument BUFFER is the buffer in which to insert output.
 Optional argument ARGS are the arguments to svn."
@@ -614,8 +614,8 @@ VERBOSE-P."
       (erase-buffer)
       (setq default-directory dir)
       (svn-call-process diff-buf
-                        "diff" "-x" "-p" "-r"
-                        (format "%d:%d" (1- commit-id) commit-id)))))
+       (append (list "diff" "-r" (format "%d:%d" (1- commit-id) commit-id))
+               svn-diff-args)))))
 
 (defun svn-log-edit-files (commit-id)
   (let ((root (svn-repository-root))



Mime
View raw message