[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 15:23:09 -0400 |
My theory was wrong. A log file of the find ... -type f | xargs cvs add
shows that it never schedules the missing file for addition. I'm not
sure why yet.
- Jate S.
-----Original Message-----
From: Larry Jones [mailto:address@hidden
Sent: Thursday, April 21, 2005 2:30 PM
To: Jim.Hyslop
Cc: Jate Sujjavanich; address@hidden
Subject: Re: cvs add-ing large source tree
Jim.Hyslop writes:
>
> find's -depth argument may help; if I understand the man page
> correctly, it switches find from depth-first to breadth-first
processing.
No, -depth switches *to* depth-first processing. The default is
pre-order traversal, which means that a directory is processed before
its contents, but is not quite the same as breadth-first processing
(breadth-first would require all directories at the same level to be
processed before any of their contents). So either the original poster
was confused or has a broken find command (or perhaps an alias that
automatically adds -depth).
-Larry Jones
This game lends itself to certain abuses. -- Calvin