info-cvs
[Top][All Lists]
Advanced

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

RE: Testing for updated files


From: Matt Doar
Subject: RE: Testing for updated files
Date: Mon, 7 Feb 2005 12:35:12 -0800

cvs -q should do it

~Matt 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden 
> On Behalf Of Bill Moseley
> Sent: Monday, February 07, 2005 12:20 PM
> To: address@hidden
> Subject: Re: Testing for updated files
> 
> 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
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

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