[Top][All Lists]

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

Importing problem(From a Newbie)

From: Xicheng Jia
Subject: Importing problem(From a Newbie)
Date: Sat, 26 Oct 2002 22:29:22 -0400 (EDT)

I want to import a subdirectory of my file as a new repository.
For example, my directory have three sub_dirs as following:


now I want to import the files in sub_dir_2 as my new repository,
and at the same time keep the structure of the directory(dir/sub_dir_2/).
If I execute the cvs import under "dir/", say:

dir/> cvs import -m "New" sub_dir_2 new_project project_1_0

cvs will import all files in sub_dir_1,_2,_3...:(

If I execute cvs import under "dir/sub_dir_2", which will import correctly
with files in the sub_dir_2, but it can not keep the whole directory
information. As I checkout this repository, I have to mkdir "dir" first,
and then checkout...

Is there any way I can import only one or two sub_directories in a
directory to my repoaitory, and at the same time keep the structure of the

Thanks a lot for your suggestion. :)


reply via email to

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