 (defvar svn-transient-buffers)
 (defvar svn-ediff-windows)
 (defvar svn-ediff-result)
+(defvar svn-status-last-diff-options nil)
 (defvar svn-admin-last-repository-dir nil "The last repository url for various operations.")
 
 ;; Emacs 21 defines these in ediff-init.el but it seems more robust


(when (not svn-status-diff-mode-map)
  (setq svn-status-diff-mode-map (copy-keymap diff-mode-shared-map))
  (define-key svn-status-diff-mode-map [?w] 'svn-status-diff-save-current-defun-as-kill))


(defvar svn-global-trac-map ()
  "Subkeymap used in `svn-global-keymap' for trac issue tracker commands.")

    (setq revision (svn-status-read-revision-string
                    "Diff with files for version: " "PREV")))

  (setq svn-status-last-diff-options (list line-infos recursive revision))

  (let ((clear-buf t)
        (beginning nil))
    (dolist (line-info line-infos)
