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

SubWCRev should write file ony when it's modified

From: Carsten Schuette <carsten.schuette_at_gmx.de>
Date: Mon, 13 Feb 2012 18:32:28 +0100



we use subwcrev utility to process a template and write a file that contains
information about the current subversion revision. This is done in a
pre-build event in Visual Studio 2010 and works fine so far, but causes that
the project will completely be recompiled every time. The subwcrev tool
processes the template and writes a new result file, which has a new
timestamp. The compiler now sees modified files and rebuilds the assembly -
every time.


My idea is to make subwcrev to read an probably existing target file before
a new one is written and simply compare it to the new data. If nothing
changed, the file should be left untouched. Is this possible?




To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-13 19:40:50 CET

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

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