[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: triger one script file during read action
From: |
Jim.Hyslop |
Subject: |
RE: triger one script file during read action |
Date: |
Wed, 10 Mar 2004 11:00:32 -0500 |
[Note: restoring bug-cvs to list of recipients]
Li Yuejiong(John) wrote:
> Thanks. But what I want is to triger the script file before
> checkout or any other "read" action, not after. I think
> history file is not useful for me? Right?
Right. Sorry, I realized after I sent the message that the history wouldn't
do what you wanted.
As far as I can tell, history is the only hook that happens on commit, so I
don't think there's any way to do what you want.
What are you trying to accomplish? Maybe there's something else you can try.
[remainder of message left for context]
> -----原始邮件-----
> 发件人: Jim.Hyslop [mailto:Jim.Hyslop@Leitch.com]
> 发送时间: Tuesday, March 09, 2004 02:17
> 收件人: Li Yuejiong(John)
> 主题: RE: triger one script file during read action
>
>
> Li Yuejiong(John) wrote:
> > When user does a "write" action such as commit, CVS server
> > will triger
> > several script files. Is it possible to triger any script file when
> > anyone want to do "read" action such as checkout?
> Well, I suppose there's always the history file:
> http://www.cvshome.org/docs/manual/cvs-1.11.13/cvs_18.html#SEC178
>
> It does more than just checkouts, but it may prove useful to you.
>
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)