delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/02/14:41:05

X-Spam-Check-By: sourceware.org
Message-ID: <4638DB1C.4EB89738@dessent.net>
Date: Wed, 02 May 2007 11:40:28 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Successfull Build of gcc on Cygwin WinXp SP2
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0705012352360 DOT 16067-100000 AT ax0rm1 DOT roma1 DOT infn DOT it> <03e601c78bda$a0ed0dd0$0200a8c0 AT AMD2500> <4637C3B7 DOT 86D4E131 AT dessent DOT net> <053601c78c9c$2e59c390$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <4638A730 DOT 244D362F AT dessent DOT net> <001001c78ce5$91299790$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn wrote:

>   If you examine the wording carefully, you can infer that doing "cvs up" from
> toplevel without the -d option does not preclude using -d at levels below
> that....

Well, depends.  I have a line "update -dP" in my ~/.cvsrc.  :-)

>   Hmmm, I can't think off the top of my head of anything much better than
> 
> find . -maxdepth 1 -type d | grep -v '\.$' | grep -v CVS | xargs cvs -q -z9 up
> -dP

That might be somewhat more efficient than what I use which is

set -e
echo "./"
cvs -q up -lP .
for F in `find . -mindepth 1 -maxdepth 1 -type d \! -name CVS`; do
        echo "$F/"
        cd $F
        cvs -q up -dP .
        cd ..
done

>   I believe the -P option is probably superfluous in that second example! :)

Heh.  Well as you can see I tend to use -dP all the time just out of
habit.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019