[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Versioning of tool generated xml files

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2002-09-06 11:47:55 CEST

On Thu, Sep 05, 2002 at 05:54:46PM -0400, Alan Shutko wrote:
> Karl Fogel <kfogel@newton.ch.collab.net> writes:
>
> > For xml files, I'd think a custom merge-tool hook would be more
> > helpful than locking... (?)
>
> Not necessarily... I have no idea what this tool is, but from
> experience with autogenerated HTML, I bet I know the issue.
>
> Some programs that output HTML or XML use numbers when they make IDs
> for objects, whether they be paragraphs, anchors, pictures,
> whatever. But they don't keep track of the ID after loading the
> file, so if you make a change, all those IDs can be renumbered.
>
> This can result in changes across the whole file resulting from one
> change, which happened to bump the IDs. 8^( So if two people
> changed different things, their changes still might conflict.

But if you know how it numbers the objects, it might be possible to
canonicalise them or keep track of them or make the custom xmlmerge tool
aware of this problem.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 6 11:48:50 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.