info-cvs
[Top][All Lists]
Advanced

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

Re: Backup single module


From: Mike Ayers
Subject: Re: Backup single module
Date: Mon, 23 Sep 2002 10:14:33 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910

Mahantesh wrote:
> Hi,
> I want to backup single module in cvs(not whole repository) and restore
> whenever I want with version information.

        I am morally obligated to inform you that this is probably not a good
idea, and may not do what you want.

> Can you please brief me about how to do that.

        If you wish to backup a single "physical" module, e.g.:

        CVSROOT
           |
           +---MegaLaser
           |
           +---ShrinkRay  <--back up only this
           |
           +---MindControl

        ...then you can, as Larry said, just back it up.  This is valid only
if ShrinkRay is self contained, i.e. it uses no files from any other
module in the tree.

        If you wish to backup a "logical" module (a module defined in the
modules file), or you wish to back up a "physical" module that is not
self contained, it is best to simply back up the entire CVSROOT and
consider it an inefficient way of backing up a single module.

> PS: I am just resending it, as I did not get any comments on this to my
> earlier mail.

        Your timestamps, according to my American locale, show that you sent
this out at 11PM Sunday night and resent at 8AM Monday morning.  Due
to the global nature of the internet, and the propensity of us lazy
sots to not do much on weekends, it is best to wait a full day before
resending to any internet list, with weekend days counting for nothing.


/|/|ike







reply via email to

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