info-cvs
[Top][All Lists]
Advanced

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

RE: Diferences between two releases


From: Wiest, Damian
Subject: RE: Diferences between two releases
Date: Tue, 13 Sep 2005 16:27:05 -0500


> -----Original Message-----
> From: Paulo Neves [mailto:address@hidden 
> Sent: Tuesday, September 13, 2005 3:35 PM
> To: address@hidden
> Subject: Diferences between two releases
> 
> 
> Hi all,
> 
>  I want to create a script to do automatic files migration , 
> so I need to know what files change, and what files are new 
> between tag Release and HEAD, or between two releases.
> 
>  It is possible to do it with cvs command ? If so, how can I do that.
> 
>  Note: I don't want to know the changes, I want to know what 
> files are changed.
> 
> 
> Regards,
> Paulo

What do you mean by automatic files migration?

"cvs diff" will exit with a return code of 0 if there were no changes
between revisions, and a status of 1 if there were changes (at least in
release 1.11.18 of CVS).  Just send stdout to /dev/null and check the return
value.  The problem with this approach is that you'll need to execute a "cvs
diff" command for each and every file you want to check.


-Damian




reply via email to

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