On 22 Feb 2001, Mark Alford <[EMAIL PROTECTED]> wrote:
> 
> Dave Dykstra wrote:
> 
> > What do you expect it to do, and what does it do?
> > I believe --cvs-exclude just adds things to the exclude list, and since
> > you're already excluding '*' I wouldn't expect it to make a difference.
> 
> I expect --cvs-exclude to act like a normal exclude option, so that
> the ordering of the arguments controls *when* the exclude is
> applied:

That would probably be more intuitive behaviour.  At the moment,
--cvs-exclude is a global flag that causes cvs-excluded files to be
appended to the include/exclude list after all the explicit parameters
have been read.  The cvs-exclude function is a little complex because
it has to look at several sources of files to exclude on source and
destination.

I guess a patch to make them be inserted at the point corresponding to
the --cvs-exclude flag would be OK, if you want to write it.  Perhaps
it would be OK to just remember a pointer into the exclude list at the
point the option is encountered, and then insert more stuff there
later on.

-- 
Martin Pool, Human Resource
Linuxcare. Inc.   +61 2 6262 8990
[EMAIL PROTECTED], http://linuxcare.com.au/
Linuxcare.  Putting Open Source to work.

PGP signature

Reply via email to