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

Re: SubWCRev should write file ony when it's modified

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 13 Feb 2012 21:11:21 +0100

On Mon, Feb 13, 2012 at 20:56, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 13.02.2012 18:32, Carsten Schuette wrote:
>>
>> Hi,
>>
>> 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?
>
>
> This should already work this way, but apparently doesn't anymore (it did
> before). So this is a regression.
> I've opened issue #213 for this:
> http://code.google.com/p/tortoisesvn/issues/detail?id=213

Actually, further testing shows that this already works fine.

Which version are you using?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2922133
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-13 21:11:47 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.