(vc-svn-diff): If files is nil don't set oldvers to
authorNick Roberts <nickrob@snap.net.nz>
Thu, 30 Oct 2008 09:23:31 +0000 (09:23 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Thu, 30 Oct 2008 09:23:31 +0000 (09:23 +0000)
nil so that log-view-diff-changeset works.

lisp/vc-svn.el

index 26e18d0..a53b478 100644 (file)
@@ -476,6 +476,7 @@ or svn+ssh://."
 (defun vc-svn-diff (files &optional oldvers newvers buffer)
   "Get a difference report using SVN between two revisions of fileset FILES."
   (and oldvers
+       files
        (catch 'no
         (dolist (f files)
           (or (equal oldvers (vc-working-revision f))