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

[PATCH] fsfs: Better 'parse error' error message

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 2 Mar 2018 23:39:38 +0000

[[[
* subversion/libsvn_fs_fs/id.c
  (svn_fs_fs__id_parse): Include more information in an error message.
]]]

[[[
Index: subversion/libsvn_fs_fs/id.c
===================================================================
--- subversion/libsvn_fs_fs/id.c (revision 1825746)
+++ subversion/libsvn_fs_fs/id.c (working copy)
@@ -591,7 +591,8 @@ svn_fs_fs__id_parse(const svn_fs_id_t **id_p,
   svn_fs_id_t *id = id_parse(data, pool);
   if (id == NULL)
     return svn_error_createf(SVN_ERR_FS_MALFORMED_NODEREV_ID, NULL,
- "Malformed node revision ID string");
+ "Malformed node revision ID string '%s'",
+ data);
 
   *id_p = id;
]]]

My test run aborted and I don't have time to start a new one tonight
(and don't know when I'd find time to do so).

Cheers,

Daniel
Received on 2018-03-03 00:39:44 CET

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.