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

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

bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN


From: Carsten Bormann
Subject: bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN on OSX
Date: Mon, 21 Jan 2013 14:25:39 +0100

Checking in with vc-next-action in OSX with SVN backend often simply
fails with an authentication error.  This is mostly unnecessary, as OSX
SVN knows how to interactively obtain authentication.

Commenting out the forced "--non-interactive" in vc-svn-comment fixes this:

 (defun vc-svn-command (buffer okstatus file-or-list &rest flags)
   "A wrapper around `vc-do-command' for use in vc-svn.el.
 The difference to vc-do-command is that this function always invokes `svn',
 and that it passes \"--non-interactive\" and `vc-svn-global-switches' to
 it before FLAGS."
   ;; Might be nice if svn defaulted to non-interactive if stdin not tty.
   ;; http://svn.haxx.se/dev/archive-2008-05/0762.shtml
   ;; http://svn.haxx.se/dev/archive-2009-04/0094.shtml
   ;; Maybe newer ones do?
!  ;; (or (member "--non-interactive"
!  ;;             (setq flags (if (stringp vc-svn-global-switches)
!  ;;                             (cons vc-svn-global-switches flags)
!  ;;                           (append vc-svn-global-switches flags))))
!  ;;     (setq flags (cons "--non-interactive" flags)))
   (apply 'vc-do-command (or buffer "*vc*") okstatus vc-svn-program file-or-list
          flags))

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2013-01-02 on bob.porkrind.org
Bzr revision: 111395 eggert@cs.ucla.edu-20130102075700-2j3hllme431z6und
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure --host=x86_64-apple-darwin --build=i686-apple-darwin
 --with-ns'

Important settings:
  value of $LC_CTYPE: UTF-8
  locale-coding-system: nil
  default enable-multibyte-characters: t





reply via email to

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