unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN on OSX
@ 2013-01-21 13:25 Carsten Bormann
  2013-01-22  2:02 ` Glenn Morris
  2013-01-22 18:14 ` Glenn Morris
  0 siblings, 2 replies; 17+ messages in thread
From: Carsten Bormann @ 2013-01-21 13:25 UTC (permalink / raw)
  To: 13513

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





^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-02-11  1:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-21 13:25 bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN on OSX Carsten Bormann
2013-01-22  2:02 ` Glenn Morris
2013-01-22  7:06   ` Carsten Bormann
2013-01-22 14:57     ` Stefan Monnier
2013-01-22 16:59       ` Glenn Morris
2013-01-22 19:00         ` Stefan Monnier
2013-01-23  8:41           ` Glenn Morris
2013-01-23  8:46             ` Glenn Morris
2013-01-23 21:53             ` Carsten Bormann
2013-01-30 16:42             ` Stefan Monnier
2013-01-30 17:02               ` Glenn Morris
2013-01-30 20:58                 ` Stefan Monnier
2013-01-30 21:07                   ` Glenn Morris
2013-01-30 21:10                     ` Glenn Morris
2013-02-11  1:08                       ` Glenn Morris
2013-01-22 18:14 ` Glenn Morris
2013-01-22 22:09   ` Carsten Bormann

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).