info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to treat XML files checked into CVS


From: Yves Dorfsman
Subject: Re: How to treat XML files checked into CVS
Date: Sat, 19 Apr 2008 08:28:41 -0600
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

Bulgrien, Kevin wrote:
No.  XML files are text files and should be treated as such to get
correct line endings.  If you really don't want merging, then use
*.xml -m 'COPY' instead, but merging XML usually works just fine.
They are text, but UNICODE, which CVS can't handle properly, so you are better off to deal with them as binary.

This is a generalization, and as such, just does not hold true for all
cases.  I happen to be working with UTF-8 files that do not contain,
and never will contain, problem characters... I check them in as text
with no issues whatsoever, and gain the advantage of being able to use
cvs diff to difference revisions and the working copy - I enjoy not
having to use yet another another differencing tool.

Of course it is a generalisation ! When somebody talks about xml files I have to assume it can be any xml file that follows the standard.


--
Yves.
http://www.SollerS.ca





reply via email to

[Prev in Thread] Current Thread [Next in Thread]