info-cvs
[Top][All Lists]
Advanced

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

Re: Exporting (best practices)


From: Kaz Kylheku
Subject: Re: Exporting (best practices)
Date: Fri, 4 Apr 2003 09:58:51 -0800 (PST)

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.





reply via email to

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