edwardvip / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

"Can't get password" message on attempt to commit to "svn://host" repository #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Command line svn commit works. While using svnX, an attempt to commit 
using the same working copy fails with following message: 
  svn: Commit failed (details follow):
  svn: Can't get password

The repository is located on the same machine as working copy. 
The repository is under control of svn server with URL: 
  svn://host/project
where host is single word name of the host.

svnX version is 1.0 on MacOSX 10.5.4, svn version is 1.4.3 (r23084). 
(I had the same trouble with previous versions of svnX.)

Original issue reported on code.google.com by mishaonmac on 15 Apr 2009 at 11:59

GoogleCodeExporter commented 9 years ago
Shouldn't the URL be 'svn://localhost/project'?
Are the User & Password fields correctly set in the Working Copies window?
What is shown in the info & log panels of the Activity window when you've 
clicked Commit?
Can you open the repository browser & view the repository?
I wouldn't recommend Subversion 1.4.3.  Have you tried/can you try v1.4.6?

Original comment by chris...@gmail.com on 16 Apr 2009 at 12:36

GoogleCodeExporter commented 9 years ago
> Shouldn't the URL be 'svn://localhost/project'?

Not really. The same repository should be available on LAN and
to Linux and Windows VMs.

> Are the User & Password fields correctly set in the Working Copies window?

Oups! I missed the addition of these fields. As it turned out, even
0.9.13 had these.
Filled out user/password fields. Commit works. My apologize for
the pointless bug.
I am not aware about details, but command line client gets user
credentials from .subversion/auth and keychain. I guess, older
versions of svnX did use the same method or, perhaps, command
line tool so the functionality was available.

> What is shown in the info & log panels of the Activity window when you've
> clicked Commit?

I did not use this window before. Next time I will know where to go
when things get wrong.

> Can you open the repository browser & view the repository?

Yes. This works with no user/password. Perhaps, because the
repository requires authorized user on write operations only.

> I wouldn't recommend Subversion 1.4.3.  Have you tried/can you try v1.4.6?
>

I did not try 1.4.6.

Thanks for your help! I have got back one of my favorite development
tools.

Original comment by mishaonmac on 16 Apr 2009 at 12:15

GoogleCodeExporter commented 9 years ago
SvnX 1.0 uses the CLI tool for committing.  In fact with Subversion 1.4.3 it 
will use the CLI tool for everything.
SvnX does use .subversion/auth and keychain with the CLI tool & when calling 
the svn libs directly.  I know this 
works with Subversion 1.4.6 from the official installer (which is why I 
recommend it).

Original comment by chris...@gmail.com on 16 Apr 2009 at 4:11