unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc bug with cvs head
@ 2008-05-05  1:10 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2008-05-05  1:10 UTC (permalink / raw)
  To: emacs-devel

I used vc-dir on an svn directory.  I updated, then edited a file that
had a conflict.  When I saved the file I got the appended.

Part of the problem is that vc-dir-mark-buffer-changed calls things
named client-mode->[...] -- but that doesn't exist.
Simply renaming these to vc-client-object->[...] (random stab at a
fix) does not work.

Also, IMO the buffer-local variable 'client-mode' ought to be renamed
to 'vc-something'.

Tom

  (client-mode->file-to-state client-mode)
  (apply (client-mode->file-to-state client-mode) fname)
  (let* ((file-short ...) (state ...) (extra ...) (entry ...)) (vc-dir-update (\
list entry) status-buf))
  (progn (let* (... ... ... ...) (vc-dir-update ... status-buf)))
  (if (eq t (compare-strings file nil ... ddir nil nil)) (progn (let* ... ...))\
)
  (when (eq t (compare-strings file nil ... ddir nil nil)) (let* (... ... ... .\
..) (vc-dir-update ... status-buf)))
  (let ((ddir ...)) (when (eq t ...) (let* ... ...)))
  (progn (setq found-vc-dir-buf t) (let (...) (when ... ...)))
  (if (eq major-mode (quote vc-dir-mode)) (progn (setq found-vc-dir-buf t) (let\
 ... ...)))
  (when (eq major-mode (quote vc-dir-mode)) (setq found-vc-dir-buf t) (let (...\
) (when ... ...)))
  (while --dolist-tail-- (setq status-buf (car --dolist-tail--)) (set-buffer st\
atus-buf) (when (eq major-mode ...) (setq found-vc-dir-buf t) (let ... ...)) (s\
etq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- ...) status-buf) (while --dolist-tail-- (setq status-b\
uf ...) (set-buffer status-buf) (when ... ... ...) (setq --dolist-tail-- ...)))
  (dolist (status-buf (buffer-list)) (set-buffer status-buf) (when (eq major-mo\
de ...) (setq found-vc-dir-buf t) (let ... ...)))
  (save-excursion (dolist (status-buf ...) (set-buffer status-buf) (when ... ..\
. ...)) (unless found-vc-dir-buf (remove-hook ... ...)))
  (let* ((file ...) (found-vc-dir-buf nil)) (save-excursion (dolist ... ... ...\
) (unless found-vc-dir-buf ...)))
  vc-dir-mark-buffer-changed()
  run-hooks(after-save-hook)
  basic-save-buffer()
  save-buffer(1)
  call-interactively(save-buffer nil nil)




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

only message in thread, other threads:[~2008-05-05  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05  1:10 vc bug with cvs head Tom Tromey

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).