summaryrefslogtreecommitdiff
path: root/lisp/vc-svn.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2007-12-27 03:10:52 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2007-12-27 03:10:52 +0000
commit13b5602562a80b3c3e601429bbde45a6db90a0a4 (patch)
tree097f3634482bbccc6d6994d951e6a225e83ded0b /lisp/vc-svn.el
parentc43b7df62c0cdc2d3a989d38cb33624b183dd612 (diff)
downloademacs-13b5602562a80b3c3e601429bbde45a6db90a0a4.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/vc-svn.el')
-rw-r--r--lisp/vc-svn.el35
1 files changed, 16 insertions, 19 deletions
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index 2b46d2b9fec..87e1517e879 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -374,25 +374,22 @@ The changes are between FIRST-VERSION and SECOND-VERSION."
(vc-setup-buffer buffer)
(let ((inhibit-read-only t))
(goto-char (point-min))
- ;; Add a line to tell log-view-mode what file this is.
- ;; FIXME if there are multiple files, log-view-current-file
- ;; breaks. It's trivial to adapt log-view-file-re for the
- ;; changed prefix, but less trivial to make
- ;; log-view-current-file actually do the right thing in the
- ;; multiple file case.
- (insert (format "Working file%s: "
- (if (= (length files) 1)
- ""
- "s"))
- (vc-delistify (mapcar 'file-relative-name files)) "\n"))
- (vc-svn-command
- buffer
- (if (and (= (length files) 1) (vc-stay-local-p (car files))) 'async 0)
- files "log"
- ;; By default Subversion only shows the log upto the working revision,
- ;; whereas we also want the log of the subsequent commits. At least
- ;; that's what the vc-cvs.el code does.
- "-rHEAD:0")))
+ (if files
+ (dolist (file files)
+ (insert "Working file: " file "\n")
+ (vc-svn-command
+ buffer
+ 'async
+ ;; (if (and (= (length files) 1) (vc-stay-local-p file)) 'async 0)
+ (list file)
+ "log"
+ ;; By default Subversion only shows the log up to the
+ ;; working revision, whereas we also want the log of the
+ ;; subsequent commits. At least that's what the
+ ;; vc-cvs.el code does.
+ "-rHEAD:0"))
+ ;; Dump log for the entire directory.
+ (vc-svn-command buffer 0 nil "log" "-rHEAD:0")))))
(defun vc-svn-wash-log ()
"Remove all non-comment information from log output."