info-cvs
[Top][All Lists]
Advanced

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

Re: Is import really necessary?


From: Spiro Trikaliotis
Subject: Re: Is import really necessary?
Date: Wed, 22 Dec 2004 14:57:46 +0100
User-agent: Mutt/1.5.6+20040907i

Hello,

* On Tue, Dec 21, 2004 at 02:54:23AM +0000 Mike wrote:
 
> >    cvs co -ldtop .
> >    cd top
> >    mv /home/user/newtree .
> >    find newtree -exec cvs add "{}" \;
> >    cvs ci
> 
> Hmmm.  I like this!  Is it possible to use an "import-less" approach
> like this one if top is one's home directory (meaning that there will
> be a lot of other stuff there besides newtree)?

Yes, almost...

You can do a 

    cvs co -ldtop .
    cd top
    mkdir newtree/
    cvs add newtree
    cd newtree
    mv /home/user/* .
    find newtree -exec cvs add "{}" \;
    cvs ci

BTW: Personally, I would prefer to not move ("mv") everything, but to
copy ("cp -pr") it.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://www.viceteam.org/




reply via email to

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