unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carsten Bormann <cabo@tzi.org>
To: 13513@debbugs.gnu.org
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	[thread overview]
Message-ID: <m2y5fm8y7g.fsf@tzi.org> (raw)

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	other threads:[~2013-01-21 13:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21 13:25 Carsten Bormann [this message]
2013-01-22  2:02 ` bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN on OSX 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y5fm8y7g.fsf@tzi.org \
    --to=cabo@tzi.org \
    --cc=13513@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).