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

Re: svn commit: r25542 - trunk/subversion/mod_dav_svn/reports

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-06-26 16:23:02 CEST

Malcolm Rowe wrote:
> On Tue, Jun 26, 2007 at 05:15:10AM -0700, kameshj@tigris.org wrote:
>
>> Operational logging enhancements:
>> Log 'replay' command like other commands 'command path revision'.
>>
>
> (That log message could be a little clearer, maybe something like
> "Change the format of the 'replay' command to match other commands:
> 'command path revision'"?).
>
>

Corrected it.

>> action = apr_psprintf(resource->info->r->pool,
>> - "replay %ld '%s'", rev,
>> + "replay '%s' r%" SVN_REVNUM_T_FMT,
>>
>
> I thought we'd effectively deprecated SVN_REVNUM_T_FMT? On checking, I
> see there's a message about not using it within gettext() strings (which
> doesn't apply here), so I'm not sure.
>
> Anyone: are we supposed to use SVN_REVNUM_T_FMT in new code?
>

Sorry I was not aware of it. When was it deprecated? If you can point me
to that discussion, that would be great.
Rest of operational logging code uses 'SVN_REVNUM_T_FMT'.

>
>> - action = apr_psprintf(resource->info->r->pool, "replay %ld", rev);
>> + action = apr_psprintf(resource->info->r->pool, "replay r%" SVN_REVNUM_T_FMT, rev);
>>
>
> Long line, please fix.
>

Fixed in r25543.

Thanks

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 26 16:22:02 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.