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

Re: SubWCRev Dest File Mod Date

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 01 Nov 2011 21:08:06 +0100

On 01.11.2011 18:56, Mike Abraham wrote:
> I am using version TortoiseSVN 1.7.1, Build 22161 - 32 Bit ,
> 2011/10/21 22:51:59
>
> I have been using the following as a part of my VS build process
> SubWCRev "$(SolutionDir)." "$(ProjectDir)RevisionTemplate.config"
> "$(TargetDir)Revision.config"
>
> Since I upgraded to 1.7.1, it appears that the mod date of the
> destination file is not updated if the file exists. As a result, VS
> is not publishing the file. I can easily work around the issue by
> adding a del command before SubWCRev, but I wanted to let people know
> about this (unintended?) change in bahavior.

The file is not written if its content doesn't change, i.e. if all the
replaced texts stay the same.
Only if something actually changes, then the file date changes as well
because only then the file is actually written to.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2870566
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-01 21:08:21 CET

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