[Top][All Lists]

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

RE: cvs add-ing large source tree

From: Jate Sujjavanich
Subject: RE: cvs add-ing large source tree
Date: Thu, 21 Apr 2005 13:27:01 -0400

The simple "cvs commit" doesn't work for me. It errors out with a
"Protocol error: too many arguments". Hence my current solution to break
it up with finds.

The directory tree is created, but I believe I have tracked the problem
to find. Because it finds deeper directories first, and CVS directors do
not exist for their parents.

- Jate S.

-----Original Message-----
From: Jim.Hyslop [mailto:address@hidden 
Sent: Thursday, April 21, 2005 9:18 AM
To: Jate Sujjavanich; address@hidden
Subject: RE: cvs add-ing large source tree

Jate Sujjavanich wrote:
> I am having trouble "cvs add"-ing a very large source tree (500mb). I 
> take the following steps:
> 1) create a blank module by importing an empty directory
> 2) check out the empty module into my source root
> 3) do a find . /( -type d -name "CVS" -prune  \) -o \( -type d \) | 
> xargs cvs add
> 4) do a find . /( -type d -name "CVS" -prune  \) -o \( -type f \) | 
> xargs cvs add
> 5) do a find . /( -type d -name "CVS" -prune  \) -o \( -type f \) | 
> xargs cvs commit -m "msg"

Step 5) can eliminate the 'find' - just issue the 'cvs commit' command.

> The result is incomplete. I can go through add and commit again, but 
> some files are still missing. What might be going wrong?
Well, that depends. What files are missing? Are the missing files listed
in any .cvsignore files? Do the missing files have extensions that are,
by default, ignored (*.o, *.a, etc. - see for a
complete list)?

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

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