This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: Remove src/tapsets directory?
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "David Smith" <dsmith at redhat dot com>, "Mike Mason" <mmlnx at us dot ibm dot com>
- Cc: "SystemTAP" <systemtap at sources dot redhat dot com>
- Date: Tue, 10 Apr 2007 13:40:04 -0700
- Subject: RE: Remove src/tapsets directory?
David Smith wrote:
> Mike Mason wrote:
>> Can we remove the src/tapsets directory from CVS? It doesn't appear
>> to be used for anything. I assume it's left over from earlier tapset
>> work. It's confusing to newbies to have both the tapset (active) and
>> tapsets (inactive) directories.
>
> Mike,
>
> This is a cvs oddity/bug. In cvs, directories aren't versioned
> objects, so you can't really remove them. What you can do however,
> is use the '-P' (prune) switch when doing checkouts/updates to avoid
> grabbing empty directories. To have cvs default to this behavior,
> place the following lines in your ~/.cvsrc file (creating it if
> necessary):
>
> checkout -P
> update -P
I usually throw a '-d' on the update as well, to make sure that it grabs
any newly added directories.
Josh