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

Re: Is it possible to have a trigger script replace user ID (eid) with name in error messages?

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Wed, 10 Jun 2009 15:59:28 -0500

On Jun 10, 2009, at 05:20, Ramachandran, Vishwanath(IE10) wrote:

> For example:
> When I look at a log (show log) I can see names in "Authors" column.
>
> But when I want to lock an already locked file it shows me EID of
> person who owns the lock:
>
> Error: 'e198438' in filesystem '/data/svn/honeywell/ECC/HomesNA/
> RedlinkSystem/db
>
> Can I have a name again in the lock column instead of EID?

I saw you posted this question before but I did not respond then
because I have no idea how your current situation has occurred.

As far as I know, Subversion doesn't know anything about "EIDs" and
"names". It only knows about the username, the one supplied by the
user when he logged in, and it should use the same username everywhere.

I'm not terribly familiar with locks as I don't use them myself.

Could you tell us again what authentication method you're using,
maybe show us the relevant lines in the config file for how you set
that up, then tell us what username you used when initially checking
out the working copy, and show us the exact commands you typed and
the responses you got from Subversion.

Now that I've written the above, I wonder if perhaps your users are
logging in with the "EID", and you have another hook script, maybe a
pre-commit or post-commit hook, that's changing the "EID" into the
"name" in the svn:author property? If so, I suppose the task would be
to figure out how to do the same at lock time, but I don't know if
that can be done.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361073

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-10 23:00:28 CEST

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.