Ethereal-dev: Re: [Ethereal-dev] CVS Build Problems

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bert Driehuis <bert_driehuis@xxxxxxxxxxxxxxxx>
Date: Wed, 22 Nov 2000 14:41:51 +0100
Gilbert Ramirez wrote:

> By default, 'cvs update' doesn't add new directories. I don't know if this
> is a result of its being based on RCS, which is directory oriented or not.
> All I know is that I don't like the default behavior. Whenever a directory
> is added to the CVS repository, two things need to happen:
> 
> 1. The group of the new directory on cvs.ethereal.com needs to change
> to 'cvs'. CVS doesn't do this automatically, and it would be awkward
> for our default group on cvs.ethereal.com to be cvs, causing any file
> that we create on that computer be owned by group 'cvs'.

This might be fixable by using setgid on the directory, so that all new
files inherit the directory group rather than the creator group (YMMV --
this works on soem OS's and not on others).

> 2. Everyone's local CVS image needs to be updated via 'cvs update -d' to
> get the new directory.

I agree the default sucks, but my fingers refuse to type anything other
than
	cvs update -dP
when I want to update a tree. The -P is important too in order to get
rid of empty directories.

This might be worth a mention on the web site.

Oh, and while we're bitching about cvs's user interface, I never liked
having two "-d" options that apply to update either. That said, cvs
works, and it is the Lingua Franca these days... Maybe Subversion will
replace it, but coding barely started on that project.

Cheers,

				-- Bert


-- 
Bert Driehuis, MIS -- bert_driehuis@xxxxxxxxxxxxxxxx -- +31-20-3116119
Dihydrogen Monoxide kills! Join the campaign at http://www.dhmo.org/