[EMAIL PROTECTED] writes:
> 
> The cvsdiff.pl script does a cvs diff between the two revisions of each
> file and emails it to a mailing list for code review.  But the cvs diff
> inside the script fails.  Is there a solution that doesn't involve
> checking the directory out on the repository server, doing the diff, and
> removing the directory?  I noticed that the log.pl in the contrib
> directory does a cvs status, which also fails for me with a similar
> message if run on repository files.

Look very carefully at how the log.pl script works -- it runs the
command in the *current directory*, not the repository.  The current
directory is always a valid working directory (the user's working
directory in local mode, a server-side copy in client/server mode).  It
also uses the global -n flag to allow the command to work despite the
existing lock on the file.

-Larry Jones

I obey the letter of the law, if not the spirit. -- Calvin


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to