You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/03/26 22:50:01 UTC

svn commit: r1461328 - /subversion/trunk/subversion/libsvn_wc/props.c

Author: danielsh
Date: Tue Mar 26 21:50:00 2013
New Revision: 1461328

URL: http://svn.apache.org/r1461328
Log:
Clarify an error message.

Foudn by: Marshall Schor

* subversion/libsvn_wc/props.c
  (validate_eol_prop_against_file): 
    Have an error message spell out the attempted operation.  It's not always
    clear from context (e.g., with autoprops).

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

Modified: subversion/trunk/subversion/libsvn_wc/props.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/props.c?rev=1461328&r1=1461327&r2=1461328&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/props.c (original)
+++ subversion/trunk/subversion/libsvn_wc/props.c Tue Mar 26 21:50:00 2013
@@ -1626,7 +1626,8 @@ validate_eol_prop_against_file(const cha
   if (mime_type && svn_mime_type_is_binary(mime_type->data))
     return svn_error_createf
       (SVN_ERR_ILLEGAL_TARGET, NULL,
-       _("File '%s' has binary mime type property"),
+       _("Can't set '" SVN_PROP_EOL_STYLE "': "
+         "file '%s' has binary mime type property"),
        path_display);
 
   /* Now ask the getter for the contents of the file; this will do a