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

Re: [PATCH] Add URL to an error text in ra_neon

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Sun, 21 Jun 2009 02:00:14 +0200

2009-06-18 00:26:30 Martin Furter napisaƂ(a):
> Hello
>
> A friend got a strange error message while merging:
>
> svn: 'http://subversion.tigris.org/xmlns/dav/md5-checksum' was not present
> on the resource
>
> Looking at the code I believe it didn't find the propert "md5-checksum" on
> a file. The following untested patch adds the URL to the error text.
>
>
> [[[
> Add the URL to an error text.
>
> * subversion/libsvn_ra_neon/props.c
> (svn_ra_neon__get_one_prop) Add URL to the error text.
> ]]]
>
>
> Index: subversion/libsvn_ra_neon/props.c
> ===================================================================
> --- subversion/libsvn_ra_neon/props.c (revision 37338)
> +++ subversion/libsvn_ra_neon/props.c (working copy)
> @@ -625,8 +625,8 @@
> {
> /* ### need an SVN_ERR here */
> return svn_error_createf(SVN_ERR_FS_NOT_FOUND, NULL,
> - _("'%s' was not present on the resource"),
> - name);
> + _("'%s' was not present on the resource '%s'"),
> + name, url);
> }
>
> *propval = value;

Committed in r38126.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-06-21 01:59:10 CEST

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.