[Top][All Lists]

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

Re: Exporting (best practices)

From: Larry Jones
Subject: Re: Exporting (best practices)
Date: Fri, 4 Apr 2003 13:05:58 -0500 (EST)

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 $, 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

reply via email to

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