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

Re: How to fill (modify) the author field

From: Solt Kemecsei <svnlist_at_solt.kemecsei.hu>
Date: 2004-03-18 19:25:04 CET

> On Thu, 2004-03-18 at 11:11, Solt Kemecsei wrote:

>> Is there a way to fill the author field with one specific value (user
>> name) in the whole repository?
>
> You'll have to write a shell-loop that runs 'svn propset -rX --revprop
> svn:author NAME' on each revision. Read about unversioned props in
> chapter 7, section 2. There's a grey sidebar about it.

I got the following error message when typing the above command:

   svn: Repository has not been enabled to accept revision propchanges;
   ask the administrator to create a pre-revprop-change hook

I renamed the "hooks/pre-revprop-change.tmpl" file to "pre-revprop-change"
and then I got this:

   svn: 'pre-revprop-change' hook failed with error output:
   [empty line]

The "pre-revprop-change" contains only these lines:

   REPOS="$1"
   REV="$2"
   USER="$3"
   PROPNAME="$4"

   if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
   exit 1

What am I missing?
Thanks,

Solt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 18 19:26:53 2004

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.