[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r23307 - trunk/subversion/svn

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-01-31 00:05:10 CET

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"?

  • application/pgp-signature attachment: stored
Received on Wed Jan 31 00:05:22 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.