RA-Serf: misleading error message "Malformed URL"
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 24 Jun 2008 10:34:36 -0700
A couple of improvement suggestions.
I noticed this in svn_ra_serf__get_lock():
> if (status_code == 404)
If somebody hits this error, I expect they might be rather puzzled because their URL may not have been malformed, and they may not even have specified any URL at all on their original command. Better to (a) report the URL that failed, and (b) say more accurately what sort of error occurred.
And immediately following that is this:
> if (err)
It would be better to be a bit more honest here as well, to make sure we don't waste the user's time when they go off trying to find out their server capabilities. Maybe say something like "A locking request failed for URL '%s'. Perhaps the server does not support locking features."
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.