Re: How to make CVS Import ignore the ignore list

Martin Entlicher <[email protected]> Thu, 18 Nov 2004 16:37:30 +0100
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Andrew wrote:

> What version is ImportCommand.addIgnoredFile in?  I'm using the 3.6 
> build and that method doesn't exist.  So that doesn't help me...


It's in 4.0. It was added as a fix of issue #47054.
The original developer did not implement all options, so there is 
probably no way to do it in 3.6. You would have to patch the library. It 
should be O.K. to grab the ImportCommand class from trunk, compile it 
and replace it in the library jar.

Regards,
Martin

>
> Andrew
> Martin Entlicher wrote:
>
>> Hi Andrew,
>>
>> .so files are ignored by default as described at 
>> https://www.cvshome.org/docs/manual/cvs-1.11.18/cvs_18.html#SEC178.
>> There does not seem to be any direct API for "!", but from the code 
>> it looks that ImportCommand.addIgnoredFile("!") should work.
>>
>> Regards,
>> Martin
>>
>> Andrew wrote:
>>
>>> Hello,
>>>
>>> I've just found a bug in my code that is using javacvs and I can't 
>>> fid out how to fix it.  I am exporting code from one repository and 
>>> importing it into another.  When I do this, everything (code, jar 
>>> files, scripts, etc) but some .so's I have get imported.  The .so's 
>>> get ignored.  I have no .cvsrc in my environment, so I don't know 
>>> why it is ignoring them.  Does the CVS server ignore binary files by 
>>> default?
>>> In anycase, I want to get able to tell the import command to ignore 
>>> the ignore list.  i.e. do a cvs import -I! module
>>> How can I do this with the javacvs Import command?
>>>
>>> Thanks!
>>> Andrew
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>