Re: Changing file format with Tortoise CVS

Torsten Martinsen <[email protected]>
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Craig Weinfuss wrote:
> Hello,
>
> Tortoise CVS is incorrectly guessing that a .pdf file should be text 
> rather than binary. In the documentation it states that whenever you 
> commit a file the Add Dialog box appears from which you can change the 
> format. However, I have found that the only time the Add Dialog box 
> appears is when you try to commit a file with an unrecognizable 
> extension. 
That is simply not true. The Add dialog is shown every single time you 
add a file, regardless of whether the extension is recognized or not.
> Therefore, I have no way of telling Tortoise that I want to commit a 
> .pdf as binary rather than text using the GUI.
>
> So I am now attempting to edit the FileTypes.config file. I have 
> edited the file to read:
>
> *.pdf    binary
>
> I have saved this file in my CVS installation directory (C:\Program 
> Files\TortoiseCVS). I am not sure if this is the correct place to save 
> this file, but I went to CVS > Preferences and this is where it states 
> that my Home directory is located. In any case, I have created this 
> file and saved it in that directory and for some reason it still 
> commits .pdf files as text/ASCII.
Which version of TortoiseCVS are you using?

-Torsten

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.