Noel L Yap
02/29/2000 08:34 AM
To: [EMAIL PROTECTED]
cc:
Subject: Re: removing the need for "cvs add file" to contact the server....
(Document link not converted)
[EMAIL PROTECTED] on 02/28/2000 10:01:35 PM
>>[ On Monday, February 28, 2000 at 16:57:30 (-0500), Noel L Yap wrote: ]
>>> Subject: Re: removing the need for "cvs add file" to contact the server....
>>>
>>> Again, you're absolutely right. Users shouldn't rely on the optimisation
you
>>> propose. They should instead be using the ignore facility.
>>
>>I think you've totally missed the significance of a very major point.
>>All of your argument crumbles to a great void in the face of it.
>>
>>That point is that the CVS "ignore" facility will be over-ridden by any
>>explicit specification of any name on the command line that would be
>>otherwise ignored. This goes for both directories and filenames.
>
>You're absolutely correct again. If someone has a .cvsignore file listing all
their empty >directories and does "cvs add; cvs ci", those empty directories are
ignored. If someone does >a "cvs add empty-hier; cvs ci", he has explicitly
said to add the empty directories. The tool >should not prevent him from doing
so, specially if it only does so as an "optimisation". Your >argument that the
NetBSD people will appreciate this optimisation has no foundation since they
>can easily achieve what you describe by:
>1. using .cvsignore
>2. not specifying the empty hierarchy as an argument to "cvs add"
In order for "cvs add empty-hier; cvs ci" to work properly, "cvs ci" will have
to be changed to create repo directories whenever it spots a local CVS admin
directory existing within a local directory not existing within the repo. This
would be a simple behavioural change from creating repo directories only when it
spots newly added files within the local directory.
Noel