info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does pre-commit script with a remote server?


From: Derek R. Price
Subject: Re: Does pre-commit script with a remote server?
Date: Thu, 11 Jan 2001 09:02:18 -0500

Howard Zhou wrote:

> Now if I use :pserver: method, I still have the same problem. Is :pserver:
> using rsh too?

Nope, but I didn't understand the rest of your question.

As for the first question, I have three possible solutions:

1)  Set the CVSEDITOR variable on all clients to a script which edits the log
message before calling the standard EDITOR on it for the user.  This would all
happen on the client, of course, so usually brings up portability issues.

2)  The BSD people have a patch for CVS which allows the verifymsg script to
change the log message after the user sees it but before it gets into the RCS
files.  This may do what you need.  There should be a link in the mail
archives.

3)  I have a patch I wrote myself that adds a templatefilterinfo admin file
which allows the rcsinfo template to be edited before it is presented to the
user, but it doesn't work properly in client/server mode yet.  You're welcome
to try and fix it.  If you ask nicely, I'll post the link again.  :)

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
I used to think people were crazy to get tattoos.  Nowadays, I envy
them that clarity of thought.  There was at least one point in their lives
when they thought they knew what they were doing.  They could walk into a
tattoo parlor and say, "I want a big old pig, in red and black, with flames
shooting out of its nose!  And I want it right there!  That's who I am!"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]