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

Setting svn:keywords when committing fails

From: Lars Tiefland <ltiefland_at_gmail.com>
Date: Mon, 23 Jun 2008 10:54:08 +0200

Hi All,

perhaps you can help me. I am having a big problem: I want to
automatically set svn:keywords for some files. However I always get a
"404 Bad Request" when committing.

my config:

### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
global-ignores = Arbeitsordner _notes _errors Bild_* *.DB *.DBE *.tpl.php
### Set log-encoding to the default encoding for log messages
# log-encoding = latin1
### Set use-commit-times to make checkout/update/switch/revert
### put last-committed timestamps on every file touched.
use-commit-times = yes
### Set no-unlock to prevent 'svn commit' from automatically
### releasing locks on files.
# no-unlock = yes
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes

### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?'). All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
# *.c = svn:eol-style=native
# *.cpp = svn:eol-style=native
# *.h = svn:eol-style=native
# *.dsp = svn:eol-style=CRLF
# *.dsw = svn:eol-style=CRLF
# *.sh = svn:eol-style=native;svn:executable
# *.txt = svn:eol-style=native
# *.png = svn:mime-type=image/png
# *.jpg = svn:mime-type=image/jpeg
# Makefile = svn:eol-style=native

*.php = svn:keywords="Id Url Rev Date Author"
*.tpl = svn:keywords=Id Url Rev Date Author
*.inc = svn:keywords=Id Url Rev Date Author
*.xml = svn:keywords=Id Url Rev Date Author
*.html = svn:keywords=Id Url Rev Date Author
*.htm = svn:keywords=Id Url Rev Date Author

I am using SVN 1.4.2; Apache 2.2..3 on Debian Etch

If I look into the error log of apache I see the following lines:

[Mon Jun 23 10:10:31 2008] [error] [client 192.168.0.10] XML Parser
Error: XML parser error code: not well-formed (invalid token) (4)
[Mon Jun 23 10:12:25 2008] [error] [client 192.168.0.10] XML Parser
Error: XML parser error code: not well-formed (invalid token) (4)
[Mon Jun 23 10:24:09 2008] [error] [client 192.168.0.10] XML Parser
Error: XML parser error code: not well-formed (invalid token) (4)

I've also tried without the quotation marks. Didn't work either!
What's going on here?

-- 
Live Long And Prosper,
Lars Tiefland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-23 10:54:51 CEST

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.