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

Re: Setting svn:keywords when committing fails

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Mon, 23 Jun 2008 07:02:07 -0500

On Jun 23, 2008, at 03:54, Lars Tiefland wrote:

> 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.

That's odd. 404 means "Not Found". "Bad Request" should be 400. Could
you show us the exact copy-pasted output you get?

> my config:
[snip]
> *.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?

The quotation marks are not allowed in the autoprops definitions. I'm
not sure why it wouldn't work when you remove the quotation marks.

As always, I recommend updating Subversion on the client and server
to the current version, which is 1.5.0. On the server you should also
update Apache, the current version of which is 2.2.9.

---------------------------------------------------------------------
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 14:02:40 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.