On 10 Feb 2011, at 23:59, Bill Moran wrote:

> The overview:
> You store your schema and data as XML (this is easy to migrate to, because
> it includes a tool that makes the XML from a live database)
> Keep your XML schema files in some RCS.

That reminds me of something I've been wondering about - How well do modern 
RCSs deal with structured data formats (like XML)? It would appear that most of 
them still use diff, which is line-based with limited context tracking, to 
determine change-sets.

Is that combination guaranteed to result in valid XML if you merge revisions 
that are far enough apart? Or are there RCSs around that know about XML format 
(and possibly other structured formats) and handle it differently?

I've heavily used RCSs (mostly Subversion) with, for example HTML, and merge 
conflicts haven't been unusual. It doesn't help Subversion's diff is a bit 
simplistic about white-space, I'm sure some of those conflicts were quite 
unnecessary.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4d54eac711731788013809!



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to