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 2014/05/10 02:32:56 UTC
svn commit: r1593654 - /subversion/trunk/subversion/svn/propget-cmd.c
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
{