RE: Log entries show Employee ID instead of name
From: Ramachandran, Vishwanath(IE10) <Vishwanath.Ramachandran_at_Honeywell.com>
Date: Tue, 5 May 2009 16:00:24 +0530
Thanks for the reply
Am able to edit the log message, but author still shows EID.Please see
Can I have name there instead of e453531 .Hope to hear from you
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
On Tuesday 05 May 2009, Ramachandran, Vishwanath(IE10) wrote:
> Hi There
> Thanks for the reply, but a few doubts
> Please find the script below
> if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
> echo "Changing revision properties other than svn:log is prohibited"
> exit 1
> for the above script, EID comes instead of name
> but if i change the script to "$PROPNAME" = "svn:author" , name gets
> populated, but i will not be able to edit the log message
> Please share your thoughts as how to perform both the operations
> Desk: +91 80 26588360 Extn: 44211
> Cell: +91 9632243577
That looks like the pre-revprop hook script. Just change it so that the
condition reads like the following (on one line)
if [ "$PROPNAME" = "svn:log" -o "$PROPNAME" = "svn:author" ]; then exit
and update the echo below it accordingly. The command 'man test' will
what is happening between the brackets if you want to know the details.
I'm not sure I want to know what you plan to do. Usernames tend to be
unlike names. So tracking down who made a commit is easier with a
even if it isn't initially obvious. Be aware that some third party
integration tools may also expect a username in the svn:author property
Sword Ciboodle is the trading name of ciboodle Limited (a company
registered in Scotland with registered number SC143434 and whose
registered office is at India of Inchinnan, Renfrewshire, UK,
PA4 9LH) which is part of the Sword Group of companies.
This email (and any attachments) is intended for the named
recipient(s) and is private and confidential. If it is not for you,
please inform us and then delete it. If you are not the intended
recipient(s), the use, disclosure, copying or distribution of any
information contained within this email is prohibited. Messages to
and from us may be monitored. If the content is not about the
business of the Sword Group then the message is neither from nor
sanctioned by us.
Internet communications are not secure. You should scan this
message and any attachments for viruses. Under no circumstances
do we accept liability for any loss or damage which may result from
your receipt of this email or any attachment.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
This is an archived mail posted to the Subversion Users mailing list.