SHPstr
SHPstr

Reputation: 89

Can you set the revision number for each file in a repository displayed inside the file?

I want the functionality of this (SVN Tortoise keyword substitution)

$Rev $

in each and every file of the repository without manually adding the keyword in them.

Is there a way to get the revision number appear in each file without doing all that?

Upvotes: 1

Views: 107

Answers (1)

alroc
alroc

Reputation: 28194

No. The only way to have keyword substitution on files in Subversion is to:

  • Include the keyword, properly formatted, in each file
  • Set the svn:keywords property appropriately on each file.

If you do not do both of these things, Subversion does not know where to expand the keyword, nor that it has to expand it at all.

Upvotes: 1

Related Questions