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

RE: Hooks about change log and create privilege

From: Dong Jiwei <dongjiwei_at_keithley.com>
Date: 2007-07-11 08:07:41 CEST

Hi Karl,

Thank you very much for your reply.

But our team is accustomed to the RCS system, they don't have the custom to
add information into the script themselves, So, as a administrator, I hope
to reduce their workload by a hook that can do thing as the auto
substitution work as the Subversion svn:keywords property does.

Regards,

Roy Dong
-----Original Message-----
From: Karl Fogel [mailto:kfogel@red-bean.com]
Sent: 2007711 14:00
To: Dong Jiwei
Cc: users@subversion.tigris.org
Subject: Re: Hooks about change log and create privilege

"Dong Jiwei" <dongjiwei@keithley.com> writes:
> I want to write hooks to do the following things,
>
> 1. To insert the log information into the committed
script,
> just like the auto substitution of the keywords.
>
> For example, I modified a shell script, and
commit
> with log message: ?Fix the bug when inserting rows into table
> oe_order_headers_all, SR number is 35467?,

> I want this message be inserted into the shell
> script file after the $ChangeLog$ keywords. Just as the old version
control
> tool RCS do.

Subversion cannot do this automatically for you. But as a workaround,
why don't you just insert the log data into the script yourself, when
you commit? (You could even write something on the client side to
extract it from there and use it as the log message at commit time.)

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
____________________________________________________________________________
_
Scanned by IBM Email Security Management Services powered by MessageLabs.
For more information please visit http://www.ers.ibm.com
____________________________________________________________________________
_
_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 11 08:13:54 2007

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.