Edmund Horner <firstname.lastname@example.org>
r850241 | brane | 2004-07-07 18:09:41 +0000 (Wed, 07 Jul 2004)
Issue #1861: Implement library version functions, and check library
versions in command-line clients. Each library features a
"svn_libname_version" function that returns information on the
Subversion version the library is compiled as. Clients call their own
"check_lib_versions" (or a similarly named) function that uses
svn_ver_check_list (from libsvn_subr/version.c) to call the version
functions of a list of libraries, which ensures there are no version
This change is a generalisation of r9697 to other libraries and
Patch by: Edmund Horner <email@example.com>
* subversion/libsvn_delta/version.c (svn_delta_version),
New files, with functions for returning library versions.
* subversion/libsvn_diff/util.c (svn_diff_version),
New functions for returning library versions.
* subversion/include/svn_delta.h (svn_delta_version),
New function symbols.
(check_lib_versions): New function that checks the compiled
versions of all svn libraries needed by this client.
(main): Call check_lib_versions() and exit with failure if library
versions are not adequate.
(check_lib_versions): Add remaining library version checks.
r858724 | lundblad | 2006-02-28 20:02:28 +0000 (Tue, 28 Feb 2006)
Use simple and safe temporary file names for svnlook diff, rather than
building out the tree as it exists in the repository -- this avoids
problems with paths that can't be used in the temporary directory.
Patch by: Edmund Horner <firstname.lastname@example.org>
Suggested by: maxb
Review by: lundblad
(prepare_tmpfiles): Create a normal unique file in the temporary
(print_diff_tree): Update comments to omit mention of the built-out
temporary directories, which don't get created any more.
(create_unique_tmpdir): Remove function.
(do_diff): Use the system temporary directory instead of creating
a special svnlook one; so don't try to delete it after use.