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

Re: [patch] ask for username if getting UID fails

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-05-15 21:23:53 CEST

----- Original Message -----
From: "Branko Čibej" <brane@xbc.nu>
> Actually, I believe it is, independent of Win98 quirks. If you're logged
> onto your machine as "stefan", but your username on the Subversion
> server is "steve", you'd expect to be able to
>
> svn co http://svn.collab.net/repos/svn/trunk --username=steve
>
> and, from then on, Subversion would send "steve" for all operations that
> are started from that working copy. If the username isn't cached, you'll
> have to keep passing the --username flag.

My patch won't break this. But for those cases were anonymous
login isn't possible and the user doesn't give the --username flag
on win98, subversion errors out instead of just asking for
a username (like on every other system).
Even if (like on every other system) subversion is able to
get the UID (login name of the user) it will behave as always.
My patch is _only_ for the case where it's not possible
to obtain the UID.

> If usernames were cached, you'd just have to pass --username to svn
> once, and that would end your problems. I think that's a better and more
> general solution than having svn start asking for usernames in addition
> to passwords.

pass --username is a wonderful option. But not all clients implement
that. You're talking here about the command line client but there
are other clients too.

Please have a look at my patch. It's only a few lines long and
you'll understand better what I'm trying to do here.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 21:26:17 2003

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

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