NAME

cvsup.sh - cvs update with output filtered to bare basics


SYNOPSIS

    cvsup.sh [all normal cvs up command options]
    cvsup.sh -A
    cvsup.sh -dP
    cvsup.sh -nq


OTHER OPTIONS

--help
Print Help


DESCRIPTION

The output of cvs update is a long listing of non needed information. Sometimes you are only interested in if there are any conflicts that need to be resolved. This program run cvs update and presents only information which needs attention. The difference in listing can be seen below.

   $ cvs up
   cvs server: Updating .
   cvs server: Updating complete
   cvs server: Updating lib
   M lib/file.cc
   C lib/file.hh
   cvs server: Updating lib
   ...

And with cvsup.sh

   $ cvsup.sh
   pwd: /home/foo/work/project/this
   M lib/file.cc
   C lib/file.hh

Expecially for cron jobs, it would be better if the job outputted only whern there is something to inform. If the cron job produce no output, no message is sent to user. So instead of using

    0 6 * * * cd $HOME/devel/; cvs up

Use the quiet, filtered, version (make sure cvs.up is along PATH) and you receive message only when the update did something:

    0 6 * * * cd $HOME/devel/; cvsup.sh


TROUBLESHOOTING

None.


ENVIRONMENT

No environment varibles.


FILES

No files used.


SEE ALSO

cvs(1)


STANDARDS

None.


BUGS

None.


AVAILABILITY

http://cvs-tools.sourceforge.net


OSNAMES

any


VERSION

$Id: cvsup.sh,v 1.5 2004/04/05 09:25:25 jaalto Exp $


AUTHOR

Copyright (C) 2003-2004 Jari Aalto reserved. This program is free software; you can redistribute and/or modify program under the same terms of Gnu General Public licence v2 or later.