info-cvs
[Top][All Lists]
Advanced

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

RE: Exporting (best practices)


From: Tumy, Brad
Subject: RE: Exporting (best practices)
Date: Fri, 4 Apr 2003 13:35:02 -0500

received two good suggestions.  Thanks, I will look into both and figure
what is best for our purposes.

Thanks again...I really appreciate this listserv.

brad

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Friday, April 04, 2003 1:06 PM
To: address@hidden
Cc: address@hidden
Subject: Re: Exporting (best practices)


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




reply via email to

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