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

« back to all changes in this revision

Viewing changes to tools/client-side/svn-bench/client_errors.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:
 
1
/*
 
2
 * client_errors.h:  error codes this command line client features
 
3
 *
 
4
 * ====================================================================
 
5
 *    Licensed to the Apache Software Foundation (ASF) under one
 
6
 *    or more contributor license agreements.  See the NOTICE file
 
7
 *    distributed with this work for additional information
 
8
 *    regarding copyright ownership.  The ASF licenses this file
 
9
 *    to you under the Apache License, Version 2.0 (the
 
10
 *    "License"); you may not use this file except in compliance
 
11
 *    with the License.  You may obtain a copy of the License at
 
12
 *
 
13
 *      http://www.apache.org/licenses/LICENSE-2.0
 
14
 *
 
15
 *    Unless required by applicable law or agreed to in writing,
 
16
 *    software distributed under the License is distributed on an
 
17
 *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
18
 *    KIND, either express or implied.  See the License for the
 
19
 *    specific language governing permissions and limitations
 
20
 *    under the License.
 
21
 * ====================================================================
 
22
 */
 
23
 
 
24
/* ==================================================================== */
 
25
 
 
26
 
 
27
 
 
28
#ifndef SVN_CLIENT_ERRORS_H
 
29
#define SVN_CLIENT_ERRORS_H
 
30
 
 
31
#ifdef __cplusplus
 
32
extern "C" {
 
33
#endif /* __cplusplus */
 
34
 
 
35
/*
 
36
 * This error defining system is copied from and explained in
 
37
 * ../../include/svn_error_codes.h
 
38
 */
 
39
 
 
40
/* Process this file if we're building an error array, or if we have
 
41
   not defined the enumerated constants yet.  */
 
42
#if defined(SVN_ERROR_BUILD_ARRAY) || !defined(SVN_CMDLINE_ERROR_ENUM_DEFINED)
 
43
 
 
44
#if defined(SVN_ERROR_BUILD_ARRAY)
 
45
 
 
46
#error "Need to update err_defn for r1464679 and un-typo 'CDMLINE'"
 
47
 
 
48
#define SVN_ERROR_START \
 
49
        static const err_defn error_table[] = { \
 
50
          { SVN_ERR_CDMLINE__WARNING, "Warning" },
 
51
#define SVN_ERRDEF(n, s) { n, s },
 
52
#define SVN_ERROR_END { 0, NULL } };
 
53
 
 
54
#elif !defined(SVN_CMDLINE_ERROR_ENUM_DEFINED)
 
55
 
 
56
#define SVN_ERROR_START \
 
57
        typedef enum svn_client_errno_t { \
 
58
          SVN_ERR_CDMLINE__WARNING = SVN_ERR_LAST + 1,
 
59
#define SVN_ERRDEF(n, s) n,
 
60
#define SVN_ERROR_END SVN_ERR_CMDLINE__ERR_LAST } svn_client_errno_t;
 
61
 
 
62
#define SVN_CMDLINE_ERROR_ENUM_DEFINED
 
63
 
 
64
#endif
 
65
 
 
66
/* Define custom command line client error numbers */
 
67
 
 
68
SVN_ERROR_START
 
69
 
 
70
  /* BEGIN Client errors */
 
71
 
 
72
SVN_ERRDEF(SVN_ERR_CMDLINE__TMPFILE_WRITE,
 
73
           "Failed writing to temporary file.")
 
74
 
 
75
       SVN_ERRDEF(SVN_ERR_CMDLINE__TMPFILE_STAT,
 
76
                  "Failed getting info about temporary file.")
 
77
 
 
78
       SVN_ERRDEF(SVN_ERR_CMDLINE__TMPFILE_OPEN,
 
79
                  "Failed opening temporary file.")
 
80
 
 
81
  /* END Client errors */
 
82
 
 
83
 
 
84
SVN_ERROR_END
 
85
 
 
86
#undef SVN_ERROR_START
 
87
#undef SVN_ERRDEF
 
88
#undef SVN_ERROR_END
 
89
 
 
90
#endif /* SVN_ERROR_BUILD_ARRAY || !SVN_CMDLINE_ERROR_ENUM_DEFINED */
 
91
 
 
92
 
 
93
#ifdef __cplusplus
 
94
}
 
95
#endif /* __cplusplus */
 
96
 
 
97
#endif /* SVN_CLIENT_ERRORS_H */