You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/03/05 15:11:52 UTC

svn commit: r1452800 - /subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c

Author: stsp
Date: Tue Mar  5 14:11:52 2013
New Revision: 1452800

URL: http://svn.apache.org/r1452800
Log:
* subversion/libsvn_wc/wc_db_pristine.c
  (svn_wc__db_pristine_get_path): If the pristine could not be found, show the
   expected pristine checksum in the error message, as done by other functions
   in this file.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c?rev=1452800&r1=1452799&r2=1452800&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_pristine.c Tue Mar  5 14:11:52 2013
@@ -122,7 +122,10 @@ svn_wc__db_pristine_get_path(const char 
                                     scratch_pool));
   if (! present)
     return svn_error_createf(SVN_ERR_WC_DB_ERROR, NULL,
-                             _("Pristine text not found"));
+                             _("The pristine text with checksum '%s' was "
+                               "not found"),
+                             svn_checksum_to_cstring_display(sha1_checksum,
+                                                             scratch_pool));
 
   SVN_ERR(get_pristine_fname(pristine_abspath, wcroot->abspath,
                              sha1_checksum,