[cvsnt] Re: cannot pass %{sVv} in logInfo completely
Evan Chou
cyq_0906 at yahoo.com.tw
Wed Dec 14 01:43:48 GMT 2005
>
> You have failed to notice that the loginfo script is called once for
> *every* folder in the committed tree. That is to say that CVS
> processes *one* folder at a time on the server even though you are
> recursing down the folder tree on the client.
> So you have to set up your script to be able to handle this situation,
> namely that it will get simultaneous (almost) calls one from each
> directory and you must solve the concurrency problem in your
> scripting.
> This was one of the main headaches when I developed CVSMailer so that
> I could get one single email on a commit no matter how many folders
> the commit processed.
>
> You have to get back to the drawing board.
> And NO this is not a bug, it is the way CVS works.
>
> /Bo Berglund
Thanks for your explanation, Bo.
In my case, a straightforward processing will insert one comment into
Bugzilla database for each directory. To me, I think it is acceptable.
Thanks for the help again.
Evan Chou
More information about the cvsnt
mailing list