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

Re: Keyword Auto-Update?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 22 May 2009 07:42:43 +0200

ThanksButNo wrote:
> Somehow I had gotten the impression that the keywords, such
> as "$Rev$", etc., would be automatically updated each time
> the project was committed. That does not seem to be the
> case.
>
> I have a file that contains keywords "$Rev$" and "$Date$",
> expressly for the purpose of displaying them to the user.
> But those keywords are only updated if that file itself is
> changed. And not a trivial change either, such as "insert X,
> delete X, save". TSVN apparently runs a diff to determine
> if the file is changed, not just the timestamp.
>
> So this means programmers can make hundreds of changes
> all over the place, and unless they remember to "touch" this
> one particular file, the "About" box will still read "$Rev: 1 $".
>
> Did I invent new functionality, or am I just missing something?

Have a look at the SubWCRev tool that ships with TSVN:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html

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=2352752
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-05-22 07:43:03 CEST

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