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

[PATCH] Add URL to an error text in ra_neon

From: Martin Furter <mf_at_rola.ch>
Date: Thu, 18 Jun 2009 00:26:30 +0200 (CEST)

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;

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2363009
Received on 2009-06-18 00:27:04 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.