You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/09/10 17:54:20 UTC
svn commit: r1624042 -
/subversion/branches/log-message-templates/subversion/svn/util.c
Author: stsp
Date: Wed Sep 10 15:54:19 2014
New Revision: 1624042
URL: http://svn.apache.org/r1624042
Log:
On the log-message-templates branch:
* subversion/svn/util.c
(svn_cl__get_log_message): When listing a template defined at the repository
root among other templates, show repository root path as '/' instead of ''.
Modified:
subversion/branches/log-message-templates/subversion/svn/util.c
Modified: subversion/branches/log-message-templates/subversion/svn/util.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-message-templates/subversion/svn/util.c?rev=1624042&r1=1624041&r2=1624042&view=diff
==============================================================================
--- subversion/branches/log-message-templates/subversion/svn/util.c (original)
+++ subversion/branches/log-message-templates/subversion/svn/util.c Wed Sep 10 15:54:19 2014
@@ -363,7 +363,9 @@ svn_cl__get_log_message(const char **log
sep = apr_psprintf(iterpool,
_("\n--Log message template from '%s'--\n"),
- repos_relpath);
+ repos_relpath[0] == '\0'
+ ? "/"
+ : repos_relpath);
svn_stringbuf_appendcstr(template_text, sep);
}
svn_stringbuf_appendcstr(template_text, this_template);