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 15:05:19 UTC
svn commit: r1623989 -
/subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c
Author: stsp
Date: Wed Sep 10 13:05:19 2014
New Revision: 1623989
URL: http://svn.apache.org/r1623989
Log:
On the log-message-templates branch, enforce the absolute-paths
requirement of svn_client_get_log_message_templates().
* subversion/libsvn_client/commit_util.c
(svn_client_get_log_message_templates): Assert that the caller provided
absolute paths, instead of making paths absolute. This is possible
now that r1623974 has been merged from trunk.
Modified:
subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c
Modified: subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c?rev=1623989&r1=1623988&r2=1623989&view=diff
==============================================================================
--- subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c (original)
+++ subversion/branches/log-message-templates/subversion/libsvn_client/commit_util.c Wed Sep 10 13:05:19 2014
@@ -483,9 +483,7 @@ svn_client_get_log_message_templates(apr
svn_error_t *err;
if (!svn_path_is_url(path_or_url))
- SVN_ERR(svn_dirent_get_absolute(&path_or_url,
- path_or_url,
- iterpool));
+ SVN_ERR_ASSERT(svn_dirent_is_absolute(path_or_url));
err = svn_client_propget5(&props, &inherited_props,
SVN_PROP_INHERITABLE_LOG_TEMPLATE,
path_or_url,