Mathias Weinert schrieb:
> Please look at the following commands with their output. As you can see
> not all messages are shown in German language (as expected).
It would be good to focus on a single case at a time, otherwise,
people start discussing endlessly that this isn't a bug (as you
have noticed).
> $ svn ps svn:log --revprop -r 1000 tester .
> svn: No such revision 1000
Let's take this example. I believe it's a real bug, because this
message comes from the server:
<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="160006">
No such revision 10000
</m:human-readable>
</D:error>
As the server generates this message, the message is in the
locale of the server, not in the locale of the client.
This is a design limitation of the subversion architecture:
error messages generated on the server will not be translated.
To overcome the limitation, the client would need to
communicate its UI language first, so that the server could
format the message in the right language. That's likely a
big change. The exact mechanism should probably depend on
the access protocol; for DAV, sending and processing
Accept-Language seems to be a compatible protocol
extension.
> $ svn ps svn:log --revprop -r 100 tester .
> svn: Repository has not been enabled to accept revision propchanges;
> ask the administrator to create a pre-revprop-change hook
For some reason, my client doesn't display this message (it's a
server-side message again); instead, I get
svn: DAV Anfrage fehlgeschlagen; möglicherweise ist entweder die
'pre-revprop-change' Aktion gescheitert oder sie fehlt
svn: Mindestens eine Eigenschaftsänderung ist fehlgeschlagen;
Projektarchiv nicht geändert
This is the translation of
DAV request failed; it's possible that the repository's
pre-revprop-change hook either failed or is non-existent
At least one property change failed; repository is unchanged
The message you get is transmitted in the responsedescription
element from the server, but not displayed.
So you should also report what access mechanism you have
used; I've used https here.
Regards,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 17 16:32:25 2006