[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to checkout n-level of directories?
From: |
Daniel Yek |
Subject: |
RE: How to checkout n-level of directories? |
Date: |
Fri, 20 Apr 2007 12:56:00 -0700 |
At 07:44 AM 4/19/2007, Aggarwal, Vineet wrote:
>>A dirty solution is to do a local checkout followed by a dummy update:
>>cvs -d :pserver:address@hidden:/cvsroot/modulerepo co -l module
>
>I was having problems figuring out all of existing "module" names in a
>depot. So, this still isn't quite solving the problem.
>
You can do this using the same command(s). The only difference is that
you start from the cvsroot instead of a module:
cvs co -l -d cvsroot \.
cd cvsroot
cvs -qn up -d 2>&1 | cut -f 5 -d' '
You are right. That worked nicely. I'm glad to know the solution.
Here is what I did (I believe /cvsroots/moduledir is one cvsroot in my case):
cvs -d :ext:address@hidden:/cvsroots/module co -l \.
cvs co -l $(cvs -q -n up -d 2>&1 | grep -v CVS | awk '{print substr($5, 2,
length($5)-2)}')
Thanks, Vineet.
--
Daniel Yek