[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: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Tue, 12 Feb 2008 12:06:09 -0500

I didn't see your thread, 2 months ago. I recently started a new thread
on the same subject.

 

Have you learned anything about this? I have no answers yet.

 

 

 

 

From: Garrett Reinard [mailto:garrett.reinard_at_vanderbilt.edu]
Sent: Friday, December 14, 2007 11:05 AM
To: users_at_subversion.tigris.org
Subject: Possible Bug with "--non-interactive" mode on OS X Leopard

 

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

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin_at_patni.com and delete this mail.
_____________________________________________________________________
Received on 2008-02-12 18:06:59 CET

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.