Uri Abramov <[EMAIL PROTECTED]> 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...
Good luck,
-- Mark
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs