problems with svn --non-interactive and 10.5.2
problems with svn --non-interactive and 10.5.2
- Subject: problems with svn --non-interactive and 10.5.2
- From: "B.J. Buchalter" <email@hidden>
- Date: Mon, 31 Mar 2008 23:58:49 -0400
Hi Folks,
We have recently encountered problems with the svn command-line tools
included with the Xcode package and Mac OS X 10.5.2. The problem comes
from using svn with a repository with the svn:// protocol.
When you provide credentials for a repository with accessed via a
svn:// URL, the svn client caches the credentials (password) using the
Mac OS X keychain. Each time you access that repository (without
providing the credentials), the svn client will look up the cached
credentials in the key chain and use them if found.
So, if you are in a working directory for a repository with a svn://
URL and the server requires credentials, and you type:
svn status -u
svn will look up the password and use it and you get the information
with no further interaction (the -u makes the client check the
repository for updates).
You can also explicitly state that you don't want the svn client to
ask for credentials using the --non-interactive command line switch:
svn status -u --non-interactive
On 10.5.0, this works fine (both invocations do not require any
further interaction, and retrieve the status).
On 10.5.2, "svn status -u" works fine -- it gets the password from the
keychain and retrieves the status from the server.
But, on 10.5.2 "svn status -u --non-interactive" does not work.
Instead, the client prints the following error message:
svn: Can't get password
This seems to be a problem with keychain access triggered by the
10.5.2 update and the --non-interactive mode.
The reason that this is a problem is that that tools like bbedit and
svnX automatically add --non-interactive to their invocations of the
command line tool.
I have tried using Keychain access to ensure that the svn executable
is authorized to get the keychain item without interaction. That had
no effect. I have also tried to set the access control to "All all
applications to access this item" -- also with no effect.
Anyone else seeing this? Any ideas about how to fix it?
Best regards,
B.J. Buchalter
Metric Halo
http://www.mhlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden