On Fri, 4 Apr 2003, Tumy, Brad wrote: > We are developing a web application and our current configuration requires > that we "export" the CVS repository to the test server ($WEBROOT under > Apache) so that we can update and our testers can access the latest code. > The only way I have been able to ensure that all documents are updated is to > do a "rm -R *" in the $WEBROOT directory and then export to that directory. > Is there another way to do this without removing all of the existing files > first?
You could ``cvs update'' some sandbox to a specific revision, and then use rsync to synchronize it to the target location, so that only things that changed are copied over. There is probably a way to tell rsync not to copy the CVS/ directories. Scanning the rsync man page, I see that it not only has an exclude option similar to that of GNU tar, but also a way to exclude files in a similar way to what CVS ignore does. _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
