Tumy, Brad writes:
> 
> 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?

Not really.  It would probably be better to export to a new directory
(like $WEBROOT.new), then rename the existing directory (to something
like $WEBROOT.old), rename the new directory to $WEBROOT, and then
remove the old directory.  That requires enough space to hold two copies
of the directory but minimizes the time when the tree is incomplete.

-Larry Jones

See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to