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

Re: Keywords and subWCRev

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-18 10:39:06 CEST

On 18/07/07, awoodjetts <adam.woodjetts@rentokil-initial.com> wrote:
> I am looking to use keywords, but was left under the impression that I had
> to also run subwcrev to include the "keywords" (ie the revision number) in
> the documents.

No. As I said in my first reply, SubWCRev and keywords are completely
separate and have different functions.

The documentation for keywords is here:

For each file that you want keywords to be used in you have to set the
property svn:keywords to include the specific keywords you want to be

Select svn:keywords
Add property names (case-sensitive) on-per-line in the 'value' box. eg.

In your document (assuming it is a plain text document) include
$Revision$ in the text.

Commit the changes.

The keywords in your doc will be expanded to show the last commit
revision of the file as it exists in your working copy


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jul 18 10:38:13 2007

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