emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vc-svn can't work


From: 橋 宏彰
Subject: vc-svn can't work
Date: Mon, 25 Oct 2004 03:10:42 +0900 (JST)

I visit subversion's working copy directory use dired.

    C-x C-f ~/directory

and visit a version controled file.

    dired command 'v'

then error message found in mini-buffer and cant open that file.

    Running svn...FAILED (nil)

I was debuged vc-svn.el, vc.el and simple.el

In function vc-do-command, call "process-file".

    (setq status (apply 'process-file command nil t nil squeezed))

But status value always "nil".(svn status command was success)

I made patch for simple.el, it work.

Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.663
diff -u -r1.663 simple.el
--- simple.el   24 Oct 2004 09:06:05 -0000      1.663
+++ simple.el   24 Oct 2004 17:36:48 -0000
@@ -1901,13 +1901,13 @@
         (if fh (apply fh 'process-file program infile buffer display args)
           (when infile (setq lc (file-local-copy infile)))
           (setq stderr-file (when (and (consp buffer) (stringp (cadr buffer)))
-                              (make-temp-file "emacs"))))
-      (prog1
-          (apply 'call-process program
-                 (or lc infile)
-                 (if stderr-file (list (car buffer) stderr-file) buffer)
-                 display args)
-        (when stderr-file (copy-file stderr-file (cadr buffer))))
+                              (make-temp-file "emacs")))
+          (prog1
+              (apply 'call-process program
+                     (or lc infile)
+                     (if stderr-file (list (car buffer) stderr-file) buffer)
+                     display args)
+            (when stderr-file (copy-file stderr-file (cadr buffer)))))
       (when stderr-file (delete-file stderr-file))
       (when lc (delete-file lc)))))


\In GNU Emacs 21.3.50.22 (i386-unknown-freebsd5.3, X toolkit, Xaw3d scroll bars)
 of 2004-10-25 on tomba.cskk-sv.co.jp
configured using `configure 'CFLAGS=-pipe -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.eucJP
  locale-coding-system: japanese-iso-8bit
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  encoded-kbd-mode: t
  menu-bar-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x m C-c C-q y ESC x r e p o TAB TAB TAB TAB r TAB 
TAB TAB b TAB TAB TAB RET

Recent messages:
(New file)
Wrote /home/hashiz/Mail/draft/13
Draft is prepared
Kill draft message? (y or n) 
(No changes need to be saved)
Draft was killed
Making completion list...
Loading eieio-opt...done
Making completion list...
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]