[cvsnt] Re: File-type Restrictions.

Zsolt Branyiczky zbranyiczky at mailbox.hu
Tue Jan 24 16:39:07 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


kerry richard wrote:
>  
> That's published in 2000 and refers to GNU CVS (AFAIK), so I'm not
> certain how up to date it is regarding CVSNT.
> The cvsignore system affects Import, but as far as I recall it doesn't
> affect Add. Ie even though I may be prevented from importing a
> particular file-type I can still Add it later.  This is something I want
> to be able to reject.
> 
> Appreciatively,
> Richard.
> 

You are right, add command omits the cvsignore.

c:\Work\pulika\java>dir

2006.01.16.  18:26    <DIR>          .
2006.01.16.  18:26    <DIR>          ..
2005.08.29.  09:25               127 .cvsignore
2005.06.23.  09:08    <DIR>          bak
2005.05.27.  14:15    <DIR>          classes
2006.01.20.  17:29    <DIR>          CVS
2005.10.06.  08:34    <DIR>          installation
2006.01.24.  14:39            10 995 pulika.jpx
2006.01.23.  17:04             9 848 pulika.jpx.local
2005.06.30.  10:13            23 678 pulika.oif
2005.09.30.  14:39    <DIR>          pulikaEJB
2005.05.27.  13:48               232 Servlet.library
2005.05.27.  13:48    <DIR>          src
2005.05.27.  13:48    <DIR>          web-app

c:\Work\pulika\java>type .cvsignore
bak
classes
doc
installation
Servlet.library
pulika.ipr
pulika.iws
pulika.jpx.local

c:\Work\pulika\java>cvs add Servlet.library
cvs server: scheduling file `Servlet.library' for addition
cvs server: use 'cvs commit' to add this file permanently

c:\Work\pulika\java>cvs ci Servlet.library

Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue) c
RCS file: /Pulika/Fejlesztes/cvsrepo/java/Servlet.library,v
done
Checking in Servlet.library;
/Pulika/Fejlesztes/cvsrepo/java/Servlet.library,v  <--  Servlet.library
initial revision: 1.1
done

Developer tools usually process the cvsignore (files) and they do not 
support the usage of cvs commands with the objects found in those files. 
But manually you can use the add command. Now I have to remove the file :)

Regards
Brazso



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook