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

Re: TortoiseSVN and Keywords

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 19 Aug 2008 17:26:27 +0200

dm3281 wrote:
> Hello -
> I'm using the lateset build of Subversion and TortoiseSVN as my client.
> I have a repository setup remotely that I can access via an SVN:// URL.
> I would like to begin using keywords within my project files in order to
> track the $Rev$, $Date$, $HeadURL$, and $Author$ data.
> I'm new at SVN and Tortoise and cannot seem to figure out how to make
> the keywords global for all files -- especially files without
> extensions. We have a bunch of mainframe jobs that I'm trying to get
> our operations group to begin source controlling and they do not have
> extensions when they come off mainframe.
> I realize Tortoise has a "Properties" option under the context menu.
> But these settings seem to only be used on a per-file or per-file-type
> basis?

Yes, that only works per file, not globally.
And that's good! Just thing about it: somewhere in a binary file there's
a char sequence which matches e.g., $author$ - if Subversion would just
globally expand keywords, your binary file would now be destroyed.

> I have stumbled across the "config" file under the %USERDATA%\Subversion
> folder and enabled auto properties and setup a wildcard of *.* using the
> existing examples. This doesn't appear to be working either -- unless I
> have to reboot or something for changes to take affect.

auto-props only work for new files. They get automatically added
whenever you add a new file to your working copy.

> Lastly, when I get this working--whichever way is the right way for
> this--I need to copy my config to other operators so the keywords will
> be saved when they make changes to their mainframe jobs.

you can also use the tsvn:autoprops property. See the docs on how to use


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-08-19 17:27:01 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.