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

« back to all changes in this revision

Viewing changes to subversion/tests/libsvn_wc/utils.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:
74
74
                         const svn_test_opts_t *opts,
75
75
                         apr_pool_t *pool);
76
76
 
 
77
/* ---------------------------------------------------------------------- */
 
78
/* Functions for easy manipulation of a WC. Paths given to these functions
 
79
 * can be relative to the WC root as stored in the WC baton. */
 
80
 
 
81
/* Return the abspath of PATH which is absolute or relative to the WC in B. */
 
82
#define sbox_wc_path(b, path) \
 
83
          (svn_dirent_join((b)->wc_abspath, (path), (b)->pool))
 
84
 
 
85
/* Create a file on disk at PATH, with TEXT as its content. */
 
86
void
 
87
sbox_file_write(svn_test__sandbox_t *b, const char *path, const char *text);
 
88
 
 
89
/* Schedule for addition the single node that exists on disk at PATH,
 
90
 * non-recursively. */
 
91
svn_error_t *
 
92
sbox_wc_add(svn_test__sandbox_t *b, const char *path);
 
93
 
 
94
/* Create a single directory on disk. */
 
95
svn_error_t *
 
96
sbox_disk_mkdir(svn_test__sandbox_t *b, const char *path);
 
97
 
 
98
/* Create a single directory on disk and schedule it for addition. */
 
99
svn_error_t *
 
100
sbox_wc_mkdir(svn_test__sandbox_t *b, const char *path);
 
101
 
 
102
/* Copy the WC file or directory tree FROM_PATH to TO_PATH which must not
 
103
 * exist beforehand. */
 
104
svn_error_t *
 
105
sbox_wc_copy(svn_test__sandbox_t *b, const char *from_path, const char *to_path);
 
106
 
 
107
/* Revert a WC file or directory tree at PATH */
 
108
svn_error_t *
 
109
sbox_wc_revert(svn_test__sandbox_t *b, const char *path, svn_depth_t depth);
 
110
 
 
111
/* */
 
112
svn_error_t *
 
113
sbox_wc_delete(svn_test__sandbox_t *b, const char *path);
 
114
 
 
115
/* */
 
116
svn_error_t *
 
117
sbox_wc_exclude(svn_test__sandbox_t *b, const char *path);
 
118
 
 
119
/* */
 
120
svn_error_t *
 
121
sbox_wc_commit(svn_test__sandbox_t *b, const char *path);
 
122
 
 
123
/* */
 
124
svn_error_t *
 
125
sbox_wc_commit_ex(svn_test__sandbox_t *b,
 
126
                  apr_array_header_t *targets,
 
127
                  svn_depth_t depth);
 
128
 
 
129
/* */
 
130
svn_error_t *
 
131
sbox_wc_update(svn_test__sandbox_t *b, const char *path, svn_revnum_t revnum);
 
132
 
 
133
svn_error_t *
 
134
sbox_wc_update_depth(svn_test__sandbox_t *b,
 
135
                     const char *path,
 
136
                     svn_revnum_t revnum,
 
137
                     svn_depth_t depth,
 
138
                     svn_boolean_t sticky);
 
139
 
 
140
svn_error_t *
 
141
sbox_wc_switch(svn_test__sandbox_t *b,
 
142
               const char *path,
 
143
               const char *url,
 
144
               svn_depth_t depth);
 
145
 
 
146
/* */
 
147
svn_error_t *
 
148
sbox_wc_resolved(svn_test__sandbox_t *b, const char *path);
 
149
 
 
150
/* */
 
151
svn_error_t *
 
152
sbox_wc_resolve(svn_test__sandbox_t *b, const char *path, svn_depth_t depth,
 
153
                svn_wc_conflict_choice_t conflict_choice);
 
154
 
 
155
/* */
 
156
svn_error_t *
 
157
sbox_wc_move(svn_test__sandbox_t *b, const char *src, const char *dst);
 
158
 
 
159
/* Set property NAME to VALUE on PATH. If VALUE=NULL, delete the property. */
 
160
svn_error_t *
 
161
sbox_wc_propset(svn_test__sandbox_t *b,
 
162
           const char *name,
 
163
           const char *value,
 
164
           const char *path);
 
165
 
 
166
/* Create the Greek tree on disk in the WC, and commit it. */
 
167
svn_error_t *
 
168
sbox_add_and_commit_greek_tree(svn_test__sandbox_t *b);
 
169
 
77
170
 
78
171
/* Create a WC directory at WC_ABSPATH containing a fake WC DB, generated by
79
172
 * executing the SQL statements EXTRA_STATEMENTS in addition to the standard