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

Re: File Annotation

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 28 Aug 2013 12:09:05 -0400

On Wed, Aug 28, 2013 at 11:50 AM, Dan Lasley <dlasley_at_milleredge.com> wrote:
> Andy and Bob - thanks! It's really just a mind-set change...
>
> On a related topic, I tried the $Revision$ and $Date$ fields. I added them to one of my files, committed the file, and then the project, and then did an Update on the file. Checkout wasn't an option. No matter what combination I did, my working copy never had these fields replaced/updated.
>
> How do these tags work?

You need to tell Subversion that you want to use them by setting the
svn:keywords property.

Right-click the file, go to TortoiseSVN and select Properties. Then
New -> Keywords (assuming that svn:keywords isn't already listed) and
check the corresponding box(es).

See http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html#tsvn-dug-propertypage-props

Once you commit that property change, future checkouts/updates will
update the values when appropriate.

From the command line: svn propset svn:keywords "Revision Date" MYFILE

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-08-28 18:09:50 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.