all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug in vc-svn
@ 2007-07-29 22:44 Leo
  0 siblings, 0 replies; only message in thread
From: Leo @ 2007-07-29 22:44 UTC (permalink / raw)
  To: emacs-devel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-29 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 22:44 Bug in vc-svn Leo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.