You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Harvey, Edward" <Ed...@patni.com> on 2008/02/12 17:06:09 UTC

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

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@vanderbilt.edu] 
Sent: Friday, December 14, 2007 11:05 AM
To: users@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@patni.com and delete this mail. 
_____________________________________________________________________

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

Posted by Garrett Reinard <ga...@vanderbilt.edu>.
Hi Edward,

The topic was escalated to the dev mailing list and a defect was  
entered in both the Subversion and Apple bug trackers...

Here is a link to the dev thread: http://www.opensubscriber.com/message/dev@subversion.tigris.org/8234471.html

I have yet to hear of any resolution to the problem though...  It had  
something to do with how the Keychain stuff works on Leopard...

In the meantime we have just been building our maven releases on  
Windows XP running in VMWare fusion...

-Garrett

On Feb 12, 2008, at 11:06 AM, Harvey, Edward wrote:

> 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@vanderbilt.edu]
> Sent: Friday, December 14, 2007 11:05 AM
> To: users@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@patni.com and  
> delete this mail.
> _____________________________________________________________________