[EMAIL PROTECTED] wrote: > I wanted to use cvs update to see which files have been modified in > the repository since last update. > I use the following commands to achieve this in a shell script
[retrieved from other message] > cvs -d :pserver:myuser:[EMAIL PROTECTED] server:/rep/my1 login > cvs -d :pserver:myuser:[EMAIL PROTECTED] server:/rep/my1 update pl30 > Now I think this is not suitable (or my providers work less than they > should). > The goal is to find out how many files have been modified since last > update. > How can I achieve this? > Are there any ready scripts or which cvs command do I have to use? > I thought update is the right thing. You're almost there. You want to use a global option that tells CVS not to actually run the command. I suggest you spend some time browsing the manual, studying the commands and their options - it will be time well spent: https://www.cvshome.org/docs/manual/cvs-1.11.18/cvs.html In order to force you to read the manual, I have not told you exactly which global option you need to use ;=) I will give you one tip, though - if you change directories into pl30, you will no longer need to specify the -d option: cd pl30 cvs -[ha! you still have to look it up] update -- Jim Hyslop Senior Software Designer Leitch Technology International Inc. ( http://www.leitch.com ) Columnist, C/C++ Users Journal ( http://www.cuj.com/experts ) _______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs
