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

Preprocess files before checking for modifications

From: Volker Drewer-Gutland <volker.drewer_at_gmail.com>
Date: Mon, 8 Aug 2016 06:59:29 -0700 (PDT)

Hi,

the repository files of my projects consist mainly of xml files.
The xml files are generated by different xml parsers which causes slight differences in the xml structure of the files (order of attributes, single quotes instead of double quotes in headers, etc), depending on which parser processes the same file, e.g. parser 1 places attributes like this <elem a="a" b="b"/> and parser 2 places attributes like this <elem b="b" a="a">. Obviously svn sees this as a file modification which does not matter for my purposes.
My question now is if there is a possibility to pre-process the contents of a specific file type before it is passed on to svn when the commit dialog is called so I can "normalize" the xml files before they are compared?

Regards

Volker

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3181629

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-08-08 16:50:23 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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