[cvsnt] Re: why .doc, .xml, .dll files are readed as binary and .html, .asp file is treated as text

Oliver Giesen ogware at gmx.net
Tue May 2 13:21:43 BST 2006


Bo Berglund wrote:

> If you experience the treatment problem when you "cvs import" a set of
> files then you have to modify the server side CVSROOT/cvswrappers file
> and define the types of te files you are using that CVS imports as the
> wrong type.

BTW: cvswrappers applies to Add operations as well as Import.
Furtheremore, apart from cvswrappers CVSNT also maintains a built-in
list of file types. You can query the active set by running

  cvs info [-s] cvswrappers 

DOC and DLL are already part of that internal list (marked as -kb). If
you want to treat them as anything other than what the active
cvswrappers set suggests (e.g. -kB or -kbc) you have to specify this
explicitly on Add or Import, e.g.

  cvs add -kB test.doc

  cvs import -W"*.doc -kBc" ...

Hope this helps.

-- 
Oliver
----  ------------------
ICQ:  18777742	(http://wwp.icq.com/18777742)
MSN:  ogiesen at hotmail.com
Y!:   ogiesen



More information about the cvsnt mailing list