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

Config auto-props and svn:keywords on w2k server

From: Chris McKay <chris_at_defacto.com.au>
Date: 2004-07-21 03:34:04 CEST

Hi,

I'm having major problems getting the auto-props config to work on
Subversion running on a w2k server. I'm just trying to get the $Id$
keyword to be substituted for all *.txt files in SVN.

Does this actually work on w2k, has anyone got it going? If so then
could you look over my attempts or is there some debug flag I can turn
on to find out what is going on.

I have svn installed and working with Apache2. All imports, adds,
commits and updates etc work fine from the svn CLI client and
TortoiseSVN.

C:\TEMP\develop\trunk>svn --version
svn, version 1.0.5 (r9954)
   compiled Jun 11 2004, 09:44:29

So far I have done the following:
1. Initially there were no files in C:\Documents and Settings\All
Users\Application Data\Subversion (a clue?) I copied the directory from
C:\Documents and Settings\Administrator\Application Data\Subversion

I modded the config file to enable:
### Section for configuring miscelleneous Subversion options.
[miscellany]
enable-auto-props = yes

### Section for configuring automatic properties.
[auto-props]
*.txt = svn:eol-style=native;svn:keywords=Id

Restarted Apache for kicks. Then from TortoiseSVN added a file with $Id$
as the first line. Committed and Updated but the $Id$ was unchanged.

2. Copied the config file back to C:\Documents and
Settings\Administrator\Application Data\Subversion and tried again.

3. Started up regedit and created key for Config in
HKLM/SOFTWARE/Tigris.org/Subversion
Add keys for auto-props and miscellany
In miscellany add String Value Name for enable-auto-props and Data of
yes
In auto-props add String Value Name for *.txt and Data of
svn:keywords=Id

Try again. Everything fails.

Just for a sanity check I did the following on the server itself:

C:\TEMP\develop\trunk>svn propset svn:keywords "Id" test5.txt
property 'svn:keywords' set on 'test5.txt'

C:\TEMP\develop\trunk>svn commit -m "sub please" test5.txt
Sending test5.txt

Committed revision 12.

C:\TEMP\develop\trunk>svn update
At revision 12.

C:\TEMP\develop\trunk>type test5.txt
$Id: test5.txt 12 2004-07-20 23:11:01Z cmckay $

So that works...

Anyone with ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 21 03:46:02 2004

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

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