info-cvs
[Top][All Lists]
Advanced

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

Re: import


From: Jorge Godoy
Subject: Re: import
Date: Sun, 21 Nov 2004 08:57:45 -0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Gleidson Sá Barreto <address@hidden> writes:

> It is not possible to import alone the folders of a
> project without the archives?

You're not importing, you're adding directories.  CVS doesn't manage
directories or attributes in files, so you'd have to do that yourself.

I suppose that you have already created a '/directory/to/import' and
added the toplevel ('import') to CVS, moving all the structure you wish
to import there:

----------------------------------------------------------------------
#!/bin/bash
# (*untested*)
cd /directory/to/import
for directory in `find . -type d`
do
    cvs add ${directory}
done
----------------------------------------------------------------------


Be seeing you,
-- 
Godoy.     <address@hidden>





reply via email to

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