info-cvs
[Top][All Lists]
Advanced

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

Re: Testing for updated files


From: Bill Moseley
Subject: Re: Testing for updated files
Date: Mon, 7 Feb 2005 12:19:46 -0800
User-agent: Mutt/1.5.6+20040907i

On Mon, Feb 07, 2005 at 11:18:26AM -0800, address@hidden wrote:
> grep for  leading 'U' in cvs output.  In the form of :
> 
> U <path/to/my.file>

Ah, that's easy.  Thanks.

cvs also writes this to stderr:

cvs server: Updating .
cvs server: Updating bin
cvs server: Updating lib

Can that be suppressed?  I'd like my cron job to be quiet unless
there's a problem and then mail me stderr output.

I guess the solution is to capture stderr and then if cvs returns
non-zero exit status cat that file and let cron mail it to me.

> Also, it may be better to add watches and watch actions to
> the cvs server.  You could have the watch post changed file name to a
> log and have your crontab check that file for changes.

This is cvs on SourceForge.  Not sure how much I can modify there.
But I'll take a look.

Thanks for the help!



-- 
Bill Moseley
address@hidden





reply via email to

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