[Top][All Lists]

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

How to treat XML files checked into CVS

From: Andy
Subject: How to treat XML files checked into CVS
Date: Tue, 15 Apr 2008 07:09:19 -0700 (PDT)
User-agent: G2/1.0

Is it good practice to add *.xml -kb to cvswrappers so that XML files
are treated as binary to prevent CVS from trying to merge xml
documents together?

Visual Studio produces many machine generated configuration files as
XML documents, so nobody really ever looks at these.  If they get
checked into CVS, and a merge occurs, I can see CVS adding multiple
occuring sub-elements where only one should occur.  This could
potentially break conformance to a schema.

I also could see nobody realizing a merge conflict occured in an XML
document.  The <<<<<<<<<<<<<<< that CVS puts in to highlight a
conflict won't help the XML parser output a meaningful error message.


reply via email to

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