Edmund Horner <ejrh00@gmail.com>


Patch
r858724, r850241

r858724 | lundblad | 2006-02-28 14:02:28 -0600 (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 <ejrh00@gmail.com>
Suggested by: maxb
Review by:    lundblad

* subversion/svnlook/main.c
   (prepare_tmpfiles): Create a normal unique file in the temporary
    directory.
   (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.


r850241 | brane | 2004-07-07 13:09:41 -0500 (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
mismatches.

This change is a generalisation of r9697 to other libraries and
clients.

Patch by: Edmund Horner <chrysophylax@chrysophylax.cjb.net>

* subversion/libsvn_delta/version.c (svn_delta_version),
  subversion/libsvn_ra_svn/version.c (svn_ra_svn_version):
    New files, with functions for returning library versions.

* subversion/libsvn_diff/util.c (svn_diff_version),
  subversion/libsvn_fs/fs-loader.c (svn_fs_version),
  subversion/libsvn_ra/ra_loader.c (svn_ra_version),
  subversion/libsvn_repos/repos.c (svn_repos_version),
  subversion/libsvn_wc/util.c (svn_wc_version):
    New functions for returning library versions.

* subversion/include/svn_delta.h (svn_delta_version),
  subversion/include/svn_diff.h (svn_diff_version),
  subversion/include/svn_fs.h (svn_fs_version),
  subversion/include/svn_ra.h (svn_ra_version),
  subversion/include/svn_ra_svn.h (svn_ra_svn_version),
  subversion/include/svn_repos.h (svn_repos_version),
  subversion/include/svn_wc.h (svn_wc_version):
    New function symbols.

* subversion/svnadmin/main.c,
  subversion/svnlook/main.c,
  subversion/svndumpfilter/main.c,
  subversion/svnserve/main.c,
  subversion/svnversion/main.c,
  contrib/client-side/svn-push/svn-push.c:
    (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.

* subversion/clients/cmdline/main.c:
    (check_lib_versions): Add remaining library version checks.