You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2018/03/02 23:39:38 UTC

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

[[[
* 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