[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in vc-svn
From: |
Leo |
Subject: |
Bug in vc-svn |
Date: |
Sun, 29 Jul 2007 23:44:20 +0100 |
User-agent: |
Gnus/5.110007 Emacs/23.0.0 (20070727) Fedora 7 (gnu/linux) |
Dear all,
I have just noted that the latest changes to vc-svn have caused the
following code to behave weirdly:
(add-hook 'log-edit-mode-hook 'my-vc-diff-other-window)
(defun my-vc-diff-other-window ()
"Display diffs between file versions, in another window."
(let (vc-diff-buffer)
(when (vc-backend (buffer-file-name vc-parent-buffer))
(save-window-excursion
(vc-diff nil t)
(setq vc-diff-buffer (current-buffer)))
(display-buffer vc-diff-buffer t))))
Now if you open a file under svn control and trying to check in changes
by "C-x v v", you can see that the *VC-log* is shrunk to very small. I
can also confirm that this does not happen with RCS etc.
HTH,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
[Prev in Thread] |
Current Thread |
[Next in Thread] |