[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Possible Bug with "--non-interactive" mode on OS X Leopard

From: Garrett Reinard <garrett.reinard_at_vanderbilt.edu>
Date: 2007-12-14 22:31:18 CET

I forgot to mention... Our windows svn client is the same version/
revision as the Mac OSX client.

Also, the svn server version is 1.4.0 (r21228).

We are currently investigating whether or not running version 1.4.4
server will fix the problem... It would seem the issue is not simply
that the client is 1.4.4 and the server 1.4.0 since the windows client
works fine... but we thought it would be nice to rule that out for
sure...

-Garrett

On Dec 14, 2007, at 10:05 AM, Garrett Reinard wrote:

> Hello All,
>
> I'm in need of some help in confirming a bug. I encountered a
> problem today while trying to use svn on a new MacBook Pro running
> OS X Leopard.
>
> It appears the "--non-interactive" parameter causes "authorization
> failed" errors when attempting to run svn commands against our
> repository even when the auth information is already cached.
>
> When I run any of the svn commands without the "--non-interactive"
> parameter, they work fine with no prompting, etc... My username/
> password/server_key are already cached...
>
> My understanding of the "--non-interactive" parameter is that it
> should only fail out IF prompting is necessary. In my case, it's
> not, but the failure still occurs.
>
> Below is a command sequence to reproduce the issue, along with
> information about the Subversion and OS X versions I'm running. I
> should point out that we have been running these commands
> successfully on Windows XP Pro for quite some time with no
> issues... Therefore I believe the issue is most likely specific to
> this newer OS...
>
> This is somewhat of a blocking issue for myself and the rest of our
> development team as we are migrating to MacBook Pro's for mobility
> etc, and we use Maven 2 for our application builds and deployments.
> The SVN SCM Provider used by the Maven release plugin uses the "--
> non-interactive" parameter whenever it executes svn commands.
>
> Any info or help you all could provide would be great.
>
> Thanks very much for your time...
>
> -Garrett
>
>
> Example Command Sequence:
>
> First execute this command in some directory (i.e. temp1)
>
> svn checkout https://host/svn/MyProject some_dir
>
> It should complete successfully with no user/password/key prompting
> at all. Then execute this command in another directory (temp2):
>
> svn --non-interactive checkout https://host/svn/MyProject some_dir
>
> This will fail complaining that "authorization failed". Remove the
> "--non-interactive" parameter and re-run the command. It will
> succeed as before with no prompting.
>
>
> Subversion Version:
>
> garrett-reinards-macbook-pro:~ reinhag$ svn --version
> svn, version 1.4.4 (r25188)
> compiled Sep 23 2007, 22:32:34
>
> Copyright (C) 2000-2006 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://www.Collab.Net/
> ).
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.
> - handles 'http' scheme
> - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' scheme
>
>
> OS Version: Mac OS X 10.5.1 Build 9B18
Received on Fri Dec 14 22:31:44 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.