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

svn whoami?

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-08-03 22:19:33 CEST

Is there way to find out what user subversion will authenticate as from
the command line? (Cached credentials using svnserve and the built-in
authentication. No ssh.)

Basically the script needs to compare 'svn whoami' (the cached
credentials) against the owner of a server-side lock. If the usernames
match, then we steal (--force) the server lock to create a workspace
lock (it's okay to steal from yourself) before doing the check in.

Why the hoops? The source code is in a database and manipulated in the
database (instead of as a file in a subversion managed workspace.) We
use 'svn export+svn server-lock' to emulate reserved checkouts, and we
create workspaces on the fly to commit files (the source code is
exported from the database as a file.)

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, 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 received this in error, please contact the sender and delete the material from all computers. 162

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 3 22:22:43 2006

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

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