[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cvs diff on repository
From: |
Martin Roehrig |
Subject: |
RE: cvs diff on repository |
Date: |
Fri, 11 Oct 2002 16:50:31 +0200 |
Hi Aaron,
> -----Original Message-----
> From: address@hidden [mailto:address@hidden Behalf Of
> address@hidden
>
> I'm wanting to set CVS up so that every time a file is committed it will
> send an email with the diffs to the other developers for code review.
>
> I added a line to the loginfo file:
>
> DEFAULT $CVSROOT/CVSROOT/cvsdiff.pl %{sVv}
>
> cvsdiff.pl is a script that does a cvs diff of the two versions and
> emails the results. However, a cvs diff does not work on the repository
> files (",v"), it complains about missing CVS/Entries. Is there a way to
> get the diff of two different versions of a file from the repository? I
> noticed that the contrib/log.pl script is meant to be run from loginfo
> and does a cvs status, which also fails for me from the repository.
I suppose cvs rdiff would solve your problem. It's described in the manual.
HTH
Martin