info-cvs
[Top][All Lists]
Advanced

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

RE: Problem importing files using '-I !'


From: Harig, Mark A.
Subject: RE: Problem importing files using '-I !'
Date: Tue, 6 Aug 2002 16:25:44 -0400

This worked.  Thank you very much for the detailed reply.

> 
> It's debatable, I suppose, whether this is a bug or a misfeature;
> either way, it's annoying.
> 

I thought that I had read all of the relevant documentation on
this matter (under the 'cvs import' command), but it turns out
that this problem is documented in the description of the
'cvsignore' file:

:   Specifying `-I !' to `cvs import' will import everything, which is
:generally what you want to do if you are importing files from a
:pristine distribution or any other source which is known to not contain
:any extraneous files.  However, looking at the rules above you will see
:there is a fly in the ointment; if the distribution contains any
:`.cvsignore' files, then the patterns from those files will be
:processed even if `-I !' is specified.  The only workaround is to
:remove the `.cvsignore' files in order to do the import.  Because this
:is awkward, in the future `-I !' might be modified to override
:`.cvsignore' files in each directory.

So, at least 'cvs' is working as documented :)

> 
>     #
>     # Sanity-check that you got everything right
>     #
>     $ diff -rq <pkg-root> module-name # Ignore the many complaints
about CVS subdirectories
>     $

 diff -r original module | egrep -v 'Only in .*: CVS'

---



reply via email to

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