Repaired: "$Date$" Keywords always expand with their UTF-8 content, when the localized date contains non-ascii characters
From: Hanjy <hanjingyu_at_gmail.com>
Date: 2005-12-05 23:04:19 CET
I repaired it in current trunk, and 1.2.3 tags
Open file libsvn_subr/subst.c, find the:====================
case 'D': /* long format of date of this revision */
replace the lines: ====================
svn_stringbuf_appendcstr (value,
with ====================
{
apr_time_exp_t exploded_time;
apr_time_exp_lt (&exploded_time, date);
human = apr_psprintf (pool,
human_timestamp_weekday_names[exploded_time.tm_wday],
human_timestamp_month_names[exploded_time.tm_mon],
svn_stringbuf_appendcstr (value, human);
the result: ====================
case 'D': /* long format of date of this revision */
apr_time_exp_t exploded_time;
apr_time_exp_lt (&exploded_time, date);
human = apr_psprintf (pool,
human_timestamp_weekday_names[exploded_time.tm_wday],
human_timestamp_month_names[exploded_time.tm_mon],
svn_stringbuf_appendcstr (value, human);
====================
For TortoiseSVN, check out it, change the file:
/ext/Subversion/subversion/libsvn_subr/subst.c
then re-build it.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.