~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/include/svn_subst.h

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 * Set @a *kw to a new keywords hash filled with the appropriate contents
128
128
 * given a @a keywords_string (the contents of the svn:keywords
129
129
 * property for the file in question), the revision @a rev, the @a url,
130
 
 * the @a date the file was committed on, and the @a author of the last
131
 
 * commit.  Any of these can be @c NULL to indicate that the information is
132
 
 * not present, or @c 0 for @a date.
 
130
 * the @a date the file was committed on, the @a author of the last
 
131
 * commit, and the URL of the repository root @a repos_root_url.
 
132
 *
 
133
 * Custom keywords defined in svn:keywords properties are expanded
 
134
 * using the provided parameters and in accordance with the following
 
135
 * format substitutions in the @a keywords_string:
 
136
 *   %a   - The author.
 
137
 *   %b   - The basename of the URL.
 
138
 *   %d   - Short format of the date.
 
139
 *   %D   - Long format of the date.
 
140
 *   %P   - The file's path, relative to the repository root URL.
 
141
 *   %r   - The revision.
 
142
 *   %R   - The URL to the root of the repository.
 
143
 *   %u   - The URL of the file.
 
144
 *   %_   - A space (keyword definitions cannot contain a literal space).
 
145
 *   %%   - A literal '%'.
 
146
 *   %H   - Equivalent to %P%_%r%_%d%_%a.
 
147
 *   %I   - Equivalent to %b%_%r%_%d%_%a.
 
148
 *
 
149
 * Custom keywords are defined by appending '=' to the keyword name, followed
 
150
 * by a string containing any combination of the format substitutions.
 
151
 *
 
152
 * Any of the inputs @a rev, @a url, @a date, @a author, and @a repos_root_url
 
153
 * can be @c NULL, or @c 0 for @a date, to indicate that the information is
 
154
 * not present. Each piece of information that is not present expands to the
 
155
 * empty string wherever it appears in an expanded keyword value.  (This can
 
156
 * result in multiple adjacent spaces in the expansion of a multi-valued
 
157
 * keyword such as "Id".)
133
158
 *
134
159
 * Hash keys are of type <tt>const char *</tt>.
135
160
 * Hash values are of type <tt>svn_string_t *</tt>.
136
161
 *
137
162
 * All memory is allocated out of @a pool.
138
163
 *
 
164
 * @since New in 1.8.
 
165
 */
 
166
svn_error_t *
 
167
svn_subst_build_keywords3(apr_hash_t **kw,
 
168
                          const char *keywords_string,
 
169
                          const char *rev,
 
170
                          const char *url,
 
171
                          const char *repos_root_url,
 
172
                          apr_time_t date,
 
173
                          const char *author,
 
174
                          apr_pool_t *pool);
 
175
 
 
176
/** Similar to svn_subst_build_keywords3() except that it does not accept
 
177
 * the @a repos_root_url parameter and hence supports less substitutions,
 
178
 * and also does not support custom keyword definitions.
 
179
 *
139
180
 * @since New in 1.3.
 
181
 * @deprecated Provided for backward compatibility with the 1.7 API.
140
182
 */
 
183
SVN_DEPRECATED
141
184
svn_error_t *
142
185
svn_subst_build_keywords2(apr_hash_t **kw,
143
186
                          const char *keywords_string,