[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exclusions don't work for alias modules

From: Derek R. Price
Subject: Re: Exclusions don't work for alias modules
Date: Fri, 16 Mar 2001 11:20:39 -0500

Could you submit a sanity.sh test case for this so I can more easily
determine if this is still broken in


Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
Rick:  How long was it we had, honey?
Elsa:  I didn't count the days.
Rick:  Well I did, every one of them.  Mostly I remember the last one.  The wow
       finish.  The guy standing on the station platform in the rain with a
       comical look on his face because his insides had been kicked out.

                - Humphrey Bogart & Ingrid Bergman, _Casablanca_

Stephen Rasku wrote:

> Tested CVS 1.10.8 on Solaris 7.
> I have a module specified, like so:
>         foo     path/to/foo
>         FOO     -a foo !foo/ignore-me1 !foo/ignore-me2
> If I check out foo like this:
>         cvs co FOO
> I get foo with ignore-me1 and ignore-me2 excluded.  This is as it
> should be.  However, if I do:
>         cvs co -d foo1 FOO
> The ignore-me[12] directories are included anyways.
> Now, if I specify another module like this:
>         bar     another/path/to/bar
>         FOOBAR  foo bar !foo/ignore-me1 !bar/ignore-me3
> And I do
>         cvs co FOOBAR
> This works as expected.  The files are excluded from their respective
> directories.  However, if I do:
>         cvs co -d babar FOOBAR
> I only get foo checked out (with a top-level name of babar).  I don't
> get bar checked out at all.  foo also contains the ignore-me1
> directory in this case.
> I don't know what the solution is for the second case.  Using the -d
> option in this case can't make sense.  I recommend that an error
> message be displayed and the checkout should fail.
> In the first case, CVS should be smart enough to determine that I have
> just renamed the directory from foo to foo1.  It would know to exclude
> the specified sub-directories from the (newly renamed) directory
> causing foo1/ignore-me1 and foo1/ignore-me2 directories to be ignored.
> --
> Stephen Rasku                   E-mail: address@hidden
> Senior Software Engineer        Web:    http://www.pop-star.net/
> TGI Technologies

reply via email to

[Prev in Thread] Current Thread [Next in Thread]