Daniel Rall wrote:
> On Tue, 30 Jan 2007, hwright@tigris.org wrote:
> ...
>> --- trunk/subversion/svn/propget-cmd.c (original)
>> +++ trunk/subversion/svn/propget-cmd.c Tue Jan 30 14:56:23 2007
> ...
>> @@ -99,19 +100,40 @@
>>
>> if (propval != NULL)
>> {
>> - svn_string_t *printable_val = propval;
>> -
>> - /* If this is a special Subversion property, it is stored as
>> - UTF8 and LF, so convert to the native locale and eol-style. */
>> -
>> - if (svn_prop_needs_translation(pname_utf8))
>> - SVN_ERR(svn_subst_detranslate_string(&printable_val, propval,
>> - TRUE, pool));
>> + if (opt_state->xml)
>> + {
>> + svn_stringbuf_t *sb = NULL;
>> + char *revstr = apr_psprintf(pool, "%ld", rev);
>
> Why not use SVN_REVNUM_T_FMT here instead of inlining "ld"?
Nice catch. "ld" was being used in other places; I'll update those as well.
-Hyrum
Received on Wed Jan 31 02:12:54 2007