subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1593654 - /subversion/trunk/subversion/svn/propget-cmd.c
Date Sat, 10 May 2014 00:32:56 GMT
Author: danielsh
Date: Sat May 10 00:32:56 2014
New Revision: 1593654

URL: http://svn.apache.org/r1593654
Log:
Follow-up to r1592724: Fix an improper format string.

Found by: julianfoad

* subversion/svn/propget-cmd.c
  (svn_opt_private.h): Include.
  (svn_cl__propget): Stringify START_REVISION correctly.

Modified:
    subversion/trunk/subversion/svn/propget-cmd.c

Modified: subversion/trunk/subversion/svn/propget-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/propget-cmd.c?rev=1593654&r1=1593653&r2=1593654&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/propget-cmd.c (original)
+++ subversion/trunk/subversion/svn/propget-cmd.c Sat May 10 00:32:56 2014
@@ -44,6 +44,7 @@
 #include "cl.h"
 
 #include "private/svn_cmdline_private.h"
+#include "private/svn_opt_private.h"
 #include "private/svn_sorts_private.h"
 #include "svn_private_config.h"
 
@@ -369,8 +370,11 @@ svn_cl__propget(apr_getopt_t *os,
         {
           return svn_error_createf(SVN_ERR_PROPERTY_NOT_FOUND, NULL,
                                    _("Property '%s' not found on "
-                                     "revision %ld"),
-                                   pname_utf8, opt_state->start_revision);
+                                     "revision %s"),
+                                   pname_utf8,
+                                   svn_opt__revision_to_string(
+                                     &opt_state->start_revision,
+                                     pool));
         }
       else
         {



Mime
View raw message