info-cvs
[Top][All Lists]
Advanced

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

Re: cvs add directories vs cvs import


From: Derek Price
Subject: Re: cvs add directories vs cvs import
Date: Wed, 10 Aug 2005 15:30:58 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Huaer XC wrote:

>Hi all,
>When I want to add a new directory which contains many subdirectories
>and files to an existing module, can I use "cvs import" instead of
>"cvs add"? Are there any cons on the version control? I did this on
>one of my module, it looks fine, but I dont know if or not there exist
>some potential problems. many thanks for your suggestions.
>  
>

I tend to avoid it, only because I don't like seeing 1.1.1.X revisions
unless I really had cause to use import for vendor branch support.  You
shouldn't encounter any problems with this method, if you don't mind
seeing those revisions, and sometimes branches off the trunk with
confusing numbers like 1.1.1.5.10.

There is an easy substitute for import when you are just adding a large
number of files and directories, assuming the CWD was checked out of CVS:

    find . -name CVS -prune -o -exec cvs add {} \;

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:address@hidden>






reply via email to

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