From: Dave Korn <dave.korn.cygwin@gmail.com>
To: Hui Zhu <teawater@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Question about "cvs update"
Date: Mon, 11 Oct 2010 16:28:00 -0000 [thread overview]
Message-ID: <4CB34085.1010102@gmail.com> (raw)
In-Reply-To: <AANLkTikd5HiiO-joxSuJLMAhRzTbNiNUyDJj0HHaqhEh@mail.gmail.com>
On 11/10/2010 08:49, Hui Zhu wrote:
> Hi guys,
>
> "cvs update -d" will make the src directory include a lot of other
> softwares like binutils, sid and so on.
>
> I want keep the directory just have the file of GDB. I tried "cvs
> update -dP". But it still tried to checkout the files of other
> softwares.
>
> Could someone tell me how to update the all src directory and do not
> co the files of other softwares.
I do something roughly(*) like:
ls -1d */CVS | cut -d/ -f1 | xargs cvs up -dP
... followed by a plain old "cvs up" to get the top-level files. This can
easily be put into a shell alias or function definition in one of your shell
startup scripts.
cheers,
DaveK
--
(*) - Actually, I'm lazy. I really do "ls -l" and take advantage of the
windows terminal's rectangular-block-copy-paste mode to select all the
directory names and paste them straight into the xargs invocation, but that's
not important right now.
next prev parent reply other threads:[~2010-10-11 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 7:50 Hui Zhu
2010-10-11 7:56 ` Jan Kratochvil
2010-10-11 8:10 ` Hui Zhu
2010-10-11 15:25 ` Christopher Faylor
2010-10-11 18:59 ` Steffen DETTMER
2010-10-11 15:32 ` Daniel Jacobowitz
2010-10-11 16:28 ` Dave Korn [this message]
2010-10-11 16:43 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CB34085.1010102@gmail.com \
--to=dave.korn.cygwin@gmail.com \
--cc=gdb@sourceware.org \
--cc=teawater@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox