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

RE: Enable administrator to modifiy log message of Repository

From: Ramachandran, Vishwanath(IE10) <Vishwanath.Ramachandran_at_Honeywell.com>
Date: Wed, 10 Jun 2009 19:17:30 +0530

Hi Ryan

Though the script worked, but still when I give show log, I still get
EID instead of name

Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Wednesday, June 10, 2009 3:14 PM
To: Ramachandran, Vishwanath(IE10)
Cc: Subversion Users; Bob Archer; Tyler Roscoe; Campbell Allan
Subject: Re: Enable administrator to modifiy log message of Repository

On Jun 10, 2009, at 03:55, Ramachandran, Vishwanath(IE10) wrote:

> What I would like is only administrator of the repository should edit
> both the log message and author.
> Can you help in modifying the script to perform the above operation?

Ah, ok. Well, if "e383084" and "crowdadmin" are the administrators,
then I might write that this way:



if [ "$PROPNAME" = "svn:log" -o "$PROPNAME" = "svn:author" ]; then
        if [ "$USER" = "e383084" -o "$USER" = "crowdadmin" ]; then
                # allow this change
                exit 0

# deny this change
echo "*************************************************" 1>&2
echo "UNAUTHORIZED ACCESS to change this property......" 1>&2
echo "Please contact Repository administrator(s)......." 1>&2
echo "*************************************************" 1>&2
exit 1


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-10 15:48:38 CEST

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