"C. Michael Pilato" <cmpilato@collab.net> wrote in message
news:m33c1s5u96.fsf@localhost.localdomain...
> "Edward Diener" <ediener@loyaltyworks.com> writes:
>
> > Is there a method in the svn API for finding the user name when a
> > checkout of a repository is made ?
>
> Not as cut-and-dried as you might like, I'm sure. First, Subversion
> doesn't *require* usernames for checkouts -- that's a policy decision
> made by the repos admin. But besides that little bump, there's also
> this large crater -- even if a repository requires a username for
> checkouts, Subversion doesn't store that username anywhere.
I thought subversion can store user names and passwords for a particular
repository in authentication files as described in the subversion book. If
that is the case, is there an API for obtaining the user name from those
files for a particular repository.
I am not trying to get around subversion's security. Rather where I work the
need is to checkout some slightly different files from a repository path
depending on the user name. While I could require the user to input a user
name, all users will have their authentication information for a repository
stored away automatically and I would like to retrieve it in a program from
those files. I would have expected an API for doing this, but if this runs
against subversion security, I will have to have the user input their user
name into the program instead.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 8 23:35:55 2004