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

Re: running the pre-reveprop-change script in UNIX?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-21 23:46:58 CEST

On 21/07/07, Chirag Patel <patelc75@yahoo.com> wrote:
>
> I tried running the pre-reveprop-change script by copying and pasting it from
> the 'hooks' directory and removing the .tmpl extension like this:
>
> chmod +x ./pre-revprop-change
> ./pre-revprop-change . 8 patelc75 svn:log M
>
> But nothing happens. Not even an error message. Can someone show me an
> example of how to run the pre-revprop-change script on a UNIX server?

I think you misunderstand the concept. You don't have to run the
script, the server does that. When there is a request to change a
revision property, the server calls the pre-revprop-change to see
whether the change is allowed.

Read about this in the subversion book

http://svnbook.red-bean.com/en/1.2/svn.reposadmin.create.html#svn.reposadmin.create.hooks

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Jul 21 23:45:56 2007

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