While performing a check out and commit, I/we use username as EID
We wrote in a pre-revprop change hook script, which will function in
such a way that both log message should be edited and author name should
I.e. if ["$PROPNAME" = "svn:log" -o "$PROPNAME" = "svn:author" ]; then
The script was successful. But what my user requires is on the lock
information, we get EID (instead of name), the user also wants name in
the lock information
For e.g. Say my EID is (e12345) and I locked a file X
The next day, user B comes in and locks the same file X, he gets error
and shows him the EID of the person who owns the lock:
> Error: 'e12345' in file-system <"repository path">
Now, in the error instead of 'e12345' can there be a name i.e.
And there is no script written to change EID to name, I am trying for
that, if you can suggest me for the script
Please share your thoughts
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Thursday, June 11, 2009 2:29 AM
To: Ramachandran, Vishwanath(IE10)
Cc: Subversion Users
Subject: Re: Is it possible to have a trigger script replace user ID
(eid) with name in error messages?
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/
> 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.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-11 11:09:52 CEST