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

Re: [TSVN] global ignore & keywords

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-23 13:17:48 CEST

Julien TOUCHE wrote:

> box are installed in an unattended install with some default prefs
> something like
> [HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Config\miscellany]
> "global-ignores"="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
> .*.swp *.bak *.exe *.dll *.~?? *.[Tt]mp"

That should work, yes. But always keep in mind:
- not all users have the rights to read HKLM keys
- The settings in HKLM are overwritten by the same settings in HKCU and
of course the Subversion config files

>> For the global keywords, I would recommend to edit the Subversion
>> config file with your favourite text editor. Just press "Edit" in the
>> TSVN's settings dialog.
> c:\Documents and Settings\Administrateur\Application Data\Subversion\config
> problem it depends on user ...
> it doesn't seems there is some global config file, right ?
> maybe, with this in registry ?
> [HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Config\miscellany]
> "enable-auto-props"="yes"
> [HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Config\auto-props]
> "*" = "svn:keywords="LastChangedDate Author Id URL Rev Date""

correct. But the same restrictions apply as I mentioned above.

> last, in user config ?
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> * = svn:keywords="LastChangedDate Author Id URL Rev Date"

you will also have to set here the same autoprops as you did in HKLM, as
the config file settings overwrite the ones in HKLM.

The reading order of Subversion configs is:
global config file
user config file

> same to set property (in registry or config) like i suppose ?
> tsvn:minlogmsgsize = 1
> tsvn:logwidthmarker = 80
> tsvn:logtemplate = "my log\nadd ..\nchange\n..."
> bugtraq:message = "Issue : %BUGID%"
> bugtraq:warnifnoissue = "false"

No. Those are "project properties" TSVN introduced in 1.1.0, they're not
stored in the registry or some config file. They're part of your working
copy and get committed to the repository. That way, they're part of the
project itself and the users don't have to set them themselves.
Please read our docs about those:


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Oct 24 14:52:31 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.