Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 52333

Summary: files with unknown line endings are added binary per default to CVS
Product: [Eclipse Project] Platform Reporter: Jörg Heinicke <joerg.heinicke>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jörg Heinicke CLA 2004-02-17 21:04:24 EST
We (Apache Cocoon community) had some problems with line endings issues (Unix
vs. DOS). When searching for the reason I found out that some of our files were
added as binaries to the CVS. I tried it out explicitely today with one of our
most important files 'sitemap.xmap'.

I found two settings for binary (-kb) vs. ASCII (e.g. -kkv), both on Team > CVS
preferences main page:
- Treat all new files as binary (disabled).
- Default keyword substitution (ASCII with keyword expansion (-kkv)).
So I expect the file sitemap.xmap to be added as ASCII file. The file ending is
not added to Team > File Content.
Comment 1 Michael Valenta CLA 2004-02-18 09:52:57 EST
The "Treat all new files as binary" option is there to support non ASCII based 
character sets. All files will be binary no matter what their file extension 
is if this option is enabled. What you asking for is an option like "treat 
unknown file types as text" since by default, unknown file types are treated 
as binary.

*** This bug has been marked as a duplicate of 15119 ***
Comment 2 Jörg Heinicke CLA 2004-02-18 10:24:55 EST
Thanks for the hint. I already searched for bugs related to this but with words
"cvs" and "binary" - the other bug only mentions "bin" :)

Joerg