[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to make CVS send email notification withchanges intro
Mark D. Baushke
Re: Is it possible to make CVS send email notification withchanges introduced into committed file version
Thu, 05 Jun 2003 12:31:48 -0700
Uri Abramov <address@hidden> writes:
> Thanks a lot for your responses guys.
> Could you clarify How can I run "cvs diff" command from one of the
> scripts with I included into loginfo file. It seems to me that "cvs
> diff" command works only when it is executed from working directory.
> Is it right ? If yes , Does anybody know any workaround ?
If you run the diff from the commitinfo or loginfo specified script,
then the current working directory contains the files of interest along
with a reasonable CVS/Entries file. However, you will want to avoid
creating any cvs locks. So, a reasonable cvs diff command might be
cvs -f -Q -n diff -up
If you are using :pserver: then you may not need the -f option to
disable reading a ~/.cvsrc file for the user. You may or may not want
the -Q option, but you really do need the -n option.
You may or may not want to worry about binary files and the like...