1# This file was automatically generated by SWIG (http://www.swig.org).
2# Version 3.0.12
3#
4# Do not make changes to this file unless you know what you are doing--modify
5# the SWIG interface file instead.
6
7
8def _dll_paths():
9    import os
10    if hasattr(os, 'add_dll_directory'):  # Python 3.8+ on Windows
11        cookies = []
12        for path in os.environ.get('PATH', '').split(os.pathsep):
13            if path and os.path.isabs(path):
14                try:
15                    cookie = os.add_dll_directory(path)
16                except OSError:
17                    continue
18                else:
19                    cookies.append(cookie)
20        return cookies
21    else:
22        return ()
23
24_dll_paths = _dll_paths()
25try:
26    from . import _repos
27finally:
28    _dll_path = None
29    for _dll_path in _dll_paths:
30        _dll_path.close()
31    del _dll_paths, _dll_path
32
33try:
34    _swig_property = property
35except NameError:
36    pass  # Python < 2.2 doesn't have 'property'.
37
38try:
39    import builtins as __builtin__
40except ImportError:
41    import __builtin__
42
43def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44    if (name == "thisown"):
45        return self.this.own(value)
46    if (name == "this"):
47        if type(value).__name__ == 'SwigPyObject':
48            self.__dict__[name] = value
49            return
50    method = class_type.__swig_setmethods__.get(name, None)
51    if method:
52        return method(self, value)
53    if (not static):
54        object.__setattr__(self, name, value)
55    else:
56        raise AttributeError("You cannot add attributes to %s" % self)
57
58
59def _swig_setattr(self, class_type, name, value):
60    return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61
62
63def _swig_getattr(self, class_type, name):
64    if (name == "thisown"):
65        return self.this.own()
66    method = class_type.__swig_getmethods__.get(name, None)
67    if method:
68        return method(self)
69    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
70
71
72def _swig_repr(self):
73    try:
74        strthis = "proxy of " + self.this.__repr__()
75    except __builtin__.Exception:
76        strthis = ""
77    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
78
79
80def _swig_setattr_nondynamic_method(set):
81    def set_attr(self, name, value):
82        if (name == "thisown"):
83            return self.this.own(value)
84        if hasattr(self, name) or (name == "this"):
85            set(self, name, value)
86        else:
87            raise AttributeError("You cannot add attributes to %s" % self)
88    return set_attr
89
90
91
92def _copy_metadata_deep(value, old_value):
93  """Copy all attributes of old_value into value, recursively traversing
94  lists and dicts if needed."""
95  if value is None or old_value is None or value is old_value: return
96
97  if isinstance(value, dict):
98    for k in value:
99      _copy_metadata_deep(value[k], old_value[k])
100  elif isinstance(value, list):
101    for v, old_v in zip(value, old_value):
102      _copy_metadata_deep(v, old_v)
103  else:
104    try:
105      value.__dict__.update(old_value.__dict__)
106    except AttributeError:
107      pass
108
109def _assert_valid_deep(value):
110  """Assert value's validity, recursively traversing lists and dicts."""
111  if isinstance(value, dict):
112    for k in value:
113      _assert_valid_deep(value[k])
114  elif isinstance(value, list):
115    for v in value:
116      _assert_valid_deep(v)
117# Ensure that the passed in value isn't a type, which could have an
118# assert_valid attribute, but it can not be called without an instance.
119  elif type(value) != type:
120    try:
121      fn = value.assert_valid
122    except AttributeError:
123      pass
124    else:
125      fn()
126
127
128
129  # SWIG classes generated with -modern do not define this variable
130try:
131  _newclass
132except NameError:
133  _newclass = 1
134else:
135  raise RuntimeError("Require -modern option, but _newclass is defined")
136
137_get_instance_attr = object.__getattribute__
138_set_instance_attr = _swig_setattr_nondynamic_method(object.__setattr__)
139
140
141import libsvn.core
142import libsvn.delta
143import libsvn.fs
144
145def svn_swig_py_make_parse_fns3(*args) -> "svn_repos_parse_fns3_t const **, void **":
146    """svn_swig_py_make_parse_fns3(PyObject * py_parse_fns3, apr_pool_t pool)"""
147    return _repos.svn_swig_py_make_parse_fns3(*args)
148
149def svn_repos_version() -> "svn_version_t const *":
150    """svn_repos_version() -> svn_version_t const *"""
151    return _repos.svn_repos_version()
152svn_node_action_change = _repos.svn_node_action_change
153svn_node_action_add = _repos.svn_node_action_add
154svn_node_action_delete = _repos.svn_node_action_delete
155svn_node_action_replace = _repos.svn_node_action_replace
156svn_authz_none = _repos.svn_authz_none
157svn_authz_read = _repos.svn_authz_read
158svn_authz_write = _repos.svn_authz_write
159svn_authz_recursive = _repos.svn_authz_recursive
160svn_repos_notify_warning = _repos.svn_repos_notify_warning
161svn_repos_notify_dump_rev_end = _repos.svn_repos_notify_dump_rev_end
162svn_repos_notify_verify_rev_end = _repos.svn_repos_notify_verify_rev_end
163svn_repos_notify_dump_end = _repos.svn_repos_notify_dump_end
164svn_repos_notify_verify_end = _repos.svn_repos_notify_verify_end
165svn_repos_notify_pack_shard_start = _repos.svn_repos_notify_pack_shard_start
166svn_repos_notify_pack_shard_end = _repos.svn_repos_notify_pack_shard_end
167svn_repos_notify_pack_shard_start_revprop = _repos.svn_repos_notify_pack_shard_start_revprop
168svn_repos_notify_pack_shard_end_revprop = _repos.svn_repos_notify_pack_shard_end_revprop
169svn_repos_notify_load_txn_start = _repos.svn_repos_notify_load_txn_start
170svn_repos_notify_load_txn_committed = _repos.svn_repos_notify_load_txn_committed
171svn_repos_notify_load_node_start = _repos.svn_repos_notify_load_node_start
172svn_repos_notify_load_node_done = _repos.svn_repos_notify_load_node_done
173svn_repos_notify_load_copied_node = _repos.svn_repos_notify_load_copied_node
174svn_repos_notify_load_normalized_mergeinfo = _repos.svn_repos_notify_load_normalized_mergeinfo
175svn_repos_notify_mutex_acquired = _repos.svn_repos_notify_mutex_acquired
176svn_repos_notify_recover_start = _repos.svn_repos_notify_recover_start
177svn_repos_notify_upgrade_start = _repos.svn_repos_notify_upgrade_start
178svn_repos_notify_load_skipped_rev = _repos.svn_repos_notify_load_skipped_rev
179svn_repos_notify_verify_rev_structure = _repos.svn_repos_notify_verify_rev_structure
180svn_repos_notify_pack_revprops = _repos.svn_repos_notify_pack_revprops
181svn_repos_notify_cleanup_revprops = _repos.svn_repos_notify_cleanup_revprops
182svn_repos_notify_format_bumped = _repos.svn_repos_notify_format_bumped
183svn_repos_notify_hotcopy_rev_range = _repos.svn_repos_notify_hotcopy_rev_range
184svn_repos_notify_pack_noop = _repos.svn_repos_notify_pack_noop
185svn_repos_notify_load_revprop_set = _repos.svn_repos_notify_load_revprop_set
186svn_repos_notify_warning_found_old_reference = _repos.svn_repos_notify_warning_found_old_reference
187svn_repos_notify_warning_found_old_mergeinfo = _repos.svn_repos_notify_warning_found_old_mergeinfo
188svn_repos_notify_warning_invalid_fspath = _repos.svn_repos_notify_warning_invalid_fspath
189svn_repos_notify_warning_name_collision = _repos.svn_repos_notify_warning_name_collision
190svn_repos_notify_warning_mergeinfo_collision = _repos.svn_repos_notify_warning_mergeinfo_collision
191svn_repos_notify_warning_invalid_mergeinfo = _repos.svn_repos_notify_warning_invalid_mergeinfo
192class svn_repos_notify_t(object):
193    """Proxy of C svn_repos_notify_t struct."""
194
195    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
196
197    def __init__(self, *args, **kwargs):
198        raise AttributeError("No constructor defined")
199    __repr__ = _swig_repr
200    action = _swig_property(_repos.svn_repos_notify_t_action_get, _repos.svn_repos_notify_t_action_set)
201    revision = _swig_property(_repos.svn_repos_notify_t_revision_get, _repos.svn_repos_notify_t_revision_set)
202    warning_str = _swig_property(_repos.svn_repos_notify_t_warning_str_get, _repos.svn_repos_notify_t_warning_str_set)
203    warning = _swig_property(_repos.svn_repos_notify_t_warning_get, _repos.svn_repos_notify_t_warning_set)
204    shard = _swig_property(_repos.svn_repos_notify_t_shard_get, _repos.svn_repos_notify_t_shard_set)
205    new_revision = _swig_property(_repos.svn_repos_notify_t_new_revision_get, _repos.svn_repos_notify_t_new_revision_set)
206    old_revision = _swig_property(_repos.svn_repos_notify_t_old_revision_get, _repos.svn_repos_notify_t_old_revision_set)
207    node_action = _swig_property(_repos.svn_repos_notify_t_node_action_get, _repos.svn_repos_notify_t_node_action_set)
208    path = _swig_property(_repos.svn_repos_notify_t_path_get, _repos.svn_repos_notify_t_path_set)
209    start_revision = _swig_property(_repos.svn_repos_notify_t_start_revision_get, _repos.svn_repos_notify_t_start_revision_set)
210    end_revision = _swig_property(_repos.svn_repos_notify_t_end_revision_get, _repos.svn_repos_notify_t_end_revision_set)
211    def set_parent_pool(self, parent_pool=None):
212      """Create a new proxy object for TYPE"""
213      import libsvn.core, weakref
214      self.__dict__["_parent_pool"] = \
215        parent_pool or libsvn.core.application_pool;
216      if self.__dict__["_parent_pool"]:
217        self.__dict__["_is_valid"] = weakref.ref(
218          self.__dict__["_parent_pool"]._is_valid)
219
220    def assert_valid(self):
221      """Assert that this object is using valid pool memory"""
222      if "_is_valid" in self.__dict__:
223        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
224
225    def _retrieve_swig_value(self, name, value):
226    # If we got back a different object than we have cached, we need to copy
227    # all our metadata into it, so that it looks identical to the one
228    # originally set.
229      members = self.__dict__.get('_members')
230      if members is not None and name in members:
231        _copy_metadata_deep(value, members[name])
232
233    # Verify that the new object is good
234      _assert_valid_deep(value)
235
236      return value
237
238    # Attribute access must be intercepted to ensure that objects coming from
239    # read attribute access match those that are set with write attribute access.
240    # Specifically the metadata, such as the associated apr_pool object, should
241    # match the originally assigned object.
242    #
243    # For classic classes it is enough to use __getattr__ to intercept swig
244    # derived attributes. However, with new style classes SWIG makes use of
245    # descriptors which mean that __getattr__ is never called. Therefore,
246    # __getattribute__ must be used for the interception.
247
248    if _newclass:
249      def __getattribute__(self, name):
250        """Manage access to all attributes of this object."""
251
252    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
253    # items directly present in __dict__
254        mydict = object.__getattribute__(self, '__dict__')
255
256        if name == "__dict__":
257          return mydict
258
259        if name in mydict:
260          return mydict[name]
261
262        object.__getattribute__(self, 'assert_valid')()
263
264        value = _get_instance_attr(self, name)
265        fn = object.__getattribute__(self, '_retrieve_swig_value')
266        return fn(name, value)
267    else:
268      def __getattr__(self, name):
269        """Get an attribute from this object"""
270        self.assert_valid()
271
272        value = _swig_getattr(self, self.__class__, name)
273
274        return self._retrieve_swig_value(name, value)
275
276    def __setattr__(self, name, value):
277      """Set an attribute on this object"""
278      self.assert_valid()
279
280    # Save a copy of the object, so that the garbage
281    # collector won't kill the object while it's in
282    # SWIG-land
283      self.__dict__.setdefault("_members",{})[name] = value
284
285      return _set_instance_attr(self, name, value)
286
287svn_repos_notify_t_swigregister = _repos.svn_repos_notify_t_swigregister
288svn_repos_notify_t_swigregister(svn_repos_notify_t)
289
290
291def svn_repos_notify_create(*args) -> "svn_repos_notify_t *":
292    """svn_repos_notify_create(svn_repos_notify_action_t action, apr_pool_t result_pool) -> svn_repos_notify_t"""
293    return _repos.svn_repos_notify_create(*args)
294
295def svn_repos_find_root_path(*args) -> "char const *":
296    """svn_repos_find_root_path(char const * path, apr_pool_t pool) -> char const *"""
297    return _repos.svn_repos_find_root_path(*args)
298
299def svn_repos_open3(*args) -> "svn_repos_t **":
300    """svn_repos_open3(char const * path, apr_hash_t fs_config, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
301    return _repos.svn_repos_open3(*args)
302
303def svn_repos_open2(*args) -> "svn_repos_t **":
304    """svn_repos_open2(char const * path, apr_hash_t fs_config, apr_pool_t pool) -> svn_error_t"""
305    return _repos.svn_repos_open2(*args)
306
307def svn_repos_open(*args) -> "svn_repos_t **":
308    """svn_repos_open(char const * path, apr_pool_t pool) -> svn_error_t"""
309    return _repos.svn_repos_open(*args)
310
311def svn_repos_create(*args) -> "svn_repos_t **":
312    """svn_repos_create(char const * path, char const * unused_1, char const * unused_2, apr_hash_t config, apr_hash_t fs_config, apr_pool_t pool) -> svn_error_t"""
313    return _repos.svn_repos_create(*args)
314
315def svn_repos_upgrade2(*args) -> "svn_error_t *":
316    """svn_repos_upgrade2(char const * path, svn_boolean_t nonblocking, svn_repos_notify_func_t notify_func, void * notify_baton, apr_pool_t pool) -> svn_error_t"""
317    return _repos.svn_repos_upgrade2(*args)
318
319def svn_repos_upgrade(*args) -> "svn_error_t *":
320    """svn_repos_upgrade(char const * path, svn_boolean_t nonblocking, svn_error_t *(*)(void *) start_callback, void * start_callback_baton, apr_pool_t pool) -> svn_error_t"""
321    return _repos.svn_repos_upgrade(*args)
322
323def svn_repos_delete(*args) -> "svn_error_t *":
324    """svn_repos_delete(char const * path, apr_pool_t pool) -> svn_error_t"""
325    return _repos.svn_repos_delete(*args)
326
327def svn_repos_has_capability(*args) -> "svn_boolean_t *":
328    """svn_repos_has_capability(svn_repos_t * repos, char const * capability, apr_pool_t pool) -> svn_error_t"""
329    return _repos.svn_repos_has_capability(*args)
330
331def svn_repos_capabilities(*args) -> "apr_hash_t **":
332    """svn_repos_capabilities(svn_repos_t * repos, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
333    return _repos.svn_repos_capabilities(*args)
334SVN_REPOS_CAPABILITY_MERGEINFO = _repos.SVN_REPOS_CAPABILITY_MERGEINFO
335
336def svn_repos_remember_client_capabilities(repos: 'svn_repos_t *', capabilities: 'apr_array_header_t') -> "svn_error_t *":
337    """svn_repos_remember_client_capabilities(svn_repos_t * repos, apr_array_header_t capabilities) -> svn_error_t"""
338    return _repos.svn_repos_remember_client_capabilities(repos, capabilities)
339
340def svn_repos_fs(repos: 'svn_repos_t *') -> "svn_fs_t *":
341    """svn_repos_fs(svn_repos_t * repos) -> svn_fs_t *"""
342    return _repos.svn_repos_fs(repos)
343
344def svn_repos_fs_type(*args) -> "char const *":
345    """svn_repos_fs_type(svn_repos_t * repos, apr_pool_t result_pool) -> char const *"""
346    return _repos.svn_repos_fs_type(*args)
347
348def svn_repos_hotcopy3(*args) -> "svn_error_t *":
349    """svn_repos_hotcopy3(char const * src_path, char const * dst_path, svn_boolean_t clean_logs, svn_boolean_t incremental, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t scratch_pool) -> svn_error_t"""
350    return _repos.svn_repos_hotcopy3(*args)
351
352def svn_repos_hotcopy2(*args) -> "svn_error_t *":
353    """svn_repos_hotcopy2(char const * src_path, char const * dst_path, svn_boolean_t clean_logs, svn_boolean_t incremental, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
354    return _repos.svn_repos_hotcopy2(*args)
355
356def svn_repos_hotcopy(*args) -> "svn_error_t *":
357    """svn_repos_hotcopy(char const * src_path, char const * dst_path, svn_boolean_t clean_logs, apr_pool_t pool) -> svn_error_t"""
358    return _repos.svn_repos_hotcopy(*args)
359
360def svn_repos_fs_pack2(*args) -> "svn_error_t *":
361    """svn_repos_fs_pack2(svn_repos_t * repos, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
362    return _repos.svn_repos_fs_pack2(*args)
363
364def svn_repos_fs_pack(*args) -> "svn_error_t *":
365    """svn_repos_fs_pack(svn_repos_t * repos, svn_fs_pack_notify_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
366    return _repos.svn_repos_fs_pack(*args)
367
368def svn_repos_recover4(*args) -> "svn_error_t *":
369    """svn_repos_recover4(char const * path, svn_boolean_t nonblocking, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
370    return _repos.svn_repos_recover4(*args)
371
372def svn_repos_recover3(*args) -> "svn_error_t *":
373    """svn_repos_recover3(char const * path, svn_boolean_t nonblocking, svn_error_t *(*)(void *) start_callback, void * start_callback_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
374    return _repos.svn_repos_recover3(*args)
375
376def svn_repos_recover2(*args) -> "svn_error_t *":
377    """svn_repos_recover2(char const * path, svn_boolean_t nonblocking, svn_error_t *(*)(void *) start_callback, void * start_callback_baton, apr_pool_t pool) -> svn_error_t"""
378    return _repos.svn_repos_recover2(*args)
379
380def svn_repos_recover(*args) -> "svn_error_t *":
381    """svn_repos_recover(char const * path, apr_pool_t pool) -> svn_error_t"""
382    return _repos.svn_repos_recover(*args)
383
384def svn_repos_freeze(*args) -> "svn_error_t *":
385    """svn_repos_freeze(apr_array_header_t paths, svn_repos_freeze_func_t freeze_func, apr_pool_t pool) -> svn_error_t"""
386    return _repos.svn_repos_freeze(*args)
387
388def svn_repos_db_logfiles(*args) -> "apr_array_header_t **":
389    """svn_repos_db_logfiles(char const * path, svn_boolean_t only_unused, apr_pool_t pool) -> svn_error_t"""
390    return _repos.svn_repos_db_logfiles(*args)
391
392def svn_repos_path(*args) -> "char const *":
393    """svn_repos_path(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
394    return _repos.svn_repos_path(*args)
395
396def svn_repos_db_env(*args) -> "char const *":
397    """svn_repos_db_env(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
398    return _repos.svn_repos_db_env(*args)
399
400def svn_repos_conf_dir(*args) -> "char const *":
401    """svn_repos_conf_dir(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
402    return _repos.svn_repos_conf_dir(*args)
403
404def svn_repos_svnserve_conf(*args) -> "char const *":
405    """svn_repos_svnserve_conf(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
406    return _repos.svn_repos_svnserve_conf(*args)
407
408def svn_repos_lock_dir(*args) -> "char const *":
409    """svn_repos_lock_dir(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
410    return _repos.svn_repos_lock_dir(*args)
411
412def svn_repos_db_lockfile(*args) -> "char const *":
413    """svn_repos_db_lockfile(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
414    return _repos.svn_repos_db_lockfile(*args)
415
416def svn_repos_db_logs_lockfile(*args) -> "char const *":
417    """svn_repos_db_logs_lockfile(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
418    return _repos.svn_repos_db_logs_lockfile(*args)
419
420def svn_repos_hook_dir(*args) -> "char const *":
421    """svn_repos_hook_dir(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
422    return _repos.svn_repos_hook_dir(*args)
423
424def svn_repos_start_commit_hook(*args) -> "char const *":
425    """svn_repos_start_commit_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
426    return _repos.svn_repos_start_commit_hook(*args)
427
428def svn_repos_pre_commit_hook(*args) -> "char const *":
429    """svn_repos_pre_commit_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
430    return _repos.svn_repos_pre_commit_hook(*args)
431
432def svn_repos_post_commit_hook(*args) -> "char const *":
433    """svn_repos_post_commit_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
434    return _repos.svn_repos_post_commit_hook(*args)
435
436def svn_repos_pre_revprop_change_hook(*args) -> "char const *":
437    """svn_repos_pre_revprop_change_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
438    return _repos.svn_repos_pre_revprop_change_hook(*args)
439
440def svn_repos_post_revprop_change_hook(*args) -> "char const *":
441    """svn_repos_post_revprop_change_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
442    return _repos.svn_repos_post_revprop_change_hook(*args)
443
444def svn_repos_pre_lock_hook(*args) -> "char const *":
445    """svn_repos_pre_lock_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
446    return _repos.svn_repos_pre_lock_hook(*args)
447
448def svn_repos_post_lock_hook(*args) -> "char const *":
449    """svn_repos_post_lock_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
450    return _repos.svn_repos_post_lock_hook(*args)
451
452def svn_repos_pre_unlock_hook(*args) -> "char const *":
453    """svn_repos_pre_unlock_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
454    return _repos.svn_repos_pre_unlock_hook(*args)
455
456def svn_repos_post_unlock_hook(*args) -> "char const *":
457    """svn_repos_post_unlock_hook(svn_repos_t * repos, apr_pool_t pool) -> char const *"""
458    return _repos.svn_repos_post_unlock_hook(*args)
459
460def svn_repos_hooks_setenv(*args) -> "svn_error_t *":
461    """svn_repos_hooks_setenv(svn_repos_t * repos, char const * hooks_env_path, apr_pool_t scratch_pool) -> svn_error_t"""
462    return _repos.svn_repos_hooks_setenv(*args)
463
464def svn_repos_begin_report3(*args) -> "void **":
465    """svn_repos_begin_report3(svn_revnum_t revnum, svn_repos_t * repos, char const * fs_base, char const * target, char const * tgt_path, svn_boolean_t text_deltas, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t send_copyfrom_args, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, apr_size_t zero_copy_limit, apr_pool_t pool) -> svn_error_t"""
466    return _repos.svn_repos_begin_report3(*args)
467
468def svn_repos_begin_report2(*args) -> "void **":
469    """svn_repos_begin_report2(svn_revnum_t revnum, svn_repos_t * repos, char const * fs_base, char const * target, char const * tgt_path, svn_boolean_t text_deltas, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t send_copyfrom_args, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
470    return _repos.svn_repos_begin_report2(*args)
471
472def svn_repos_begin_report(*args) -> "void **":
473    """svn_repos_begin_report(svn_revnum_t revnum, char const * username, svn_repos_t * repos, char const * fs_base, char const * target, char const * tgt_path, svn_boolean_t text_deltas, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
474    return _repos.svn_repos_begin_report(*args)
475
476def svn_repos_set_path3(*args) -> "svn_error_t *":
477    """svn_repos_set_path3(void * report_baton, char const * path, svn_revnum_t revision, svn_depth_t depth, svn_boolean_t start_empty, char const * lock_token, apr_pool_t pool) -> svn_error_t"""
478    return _repos.svn_repos_set_path3(*args)
479
480def svn_repos_set_path2(*args) -> "svn_error_t *":
481    """svn_repos_set_path2(void * report_baton, char const * path, svn_revnum_t revision, svn_boolean_t start_empty, char const * lock_token, apr_pool_t pool) -> svn_error_t"""
482    return _repos.svn_repos_set_path2(*args)
483
484def svn_repos_set_path(*args) -> "svn_error_t *":
485    """svn_repos_set_path(void * report_baton, char const * path, svn_revnum_t revision, svn_boolean_t start_empty, apr_pool_t pool) -> svn_error_t"""
486    return _repos.svn_repos_set_path(*args)
487
488def svn_repos_link_path3(*args) -> "svn_error_t *":
489    """svn_repos_link_path3(void * report_baton, char const * path, char const * link_path, svn_revnum_t revision, svn_depth_t depth, svn_boolean_t start_empty, char const * lock_token, apr_pool_t pool) -> svn_error_t"""
490    return _repos.svn_repos_link_path3(*args)
491
492def svn_repos_link_path2(*args) -> "svn_error_t *":
493    """svn_repos_link_path2(void * report_baton, char const * path, char const * link_path, svn_revnum_t revision, svn_boolean_t start_empty, char const * lock_token, apr_pool_t pool) -> svn_error_t"""
494    return _repos.svn_repos_link_path2(*args)
495
496def svn_repos_link_path(*args) -> "svn_error_t *":
497    """svn_repos_link_path(void * report_baton, char const * path, char const * link_path, svn_revnum_t revision, svn_boolean_t start_empty, apr_pool_t pool) -> svn_error_t"""
498    return _repos.svn_repos_link_path(*args)
499
500def svn_repos_delete_path(*args) -> "svn_error_t *":
501    """svn_repos_delete_path(void * report_baton, char const * path, apr_pool_t pool) -> svn_error_t"""
502    return _repos.svn_repos_delete_path(*args)
503
504def svn_repos_finish_report(*args) -> "svn_error_t *":
505    """svn_repos_finish_report(void * report_baton, apr_pool_t pool) -> svn_error_t"""
506    return _repos.svn_repos_finish_report(*args)
507
508def svn_repos_abort_report(*args) -> "svn_error_t *":
509    """svn_repos_abort_report(void * report_baton, apr_pool_t pool) -> svn_error_t"""
510    return _repos.svn_repos_abort_report(*args)
511
512def svn_repos_dir_delta2(*args) -> "svn_error_t *":
513    """svn_repos_dir_delta2(svn_fs_root_t * src_root, char const * src_parent_dir, char const * src_entry, svn_fs_root_t * tgt_root, char const * tgt_path, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, svn_boolean_t text_deltas, svn_depth_t depth, svn_boolean_t entry_props, svn_boolean_t ignore_ancestry, apr_pool_t pool) -> svn_error_t"""
514    return _repos.svn_repos_dir_delta2(*args)
515
516def svn_repos_dir_delta(*args) -> "svn_error_t *":
517    """svn_repos_dir_delta(svn_fs_root_t * src_root, char const * src_parent_dir, char const * src_entry, svn_fs_root_t * tgt_root, char const * tgt_path, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, svn_boolean_t text_deltas, svn_boolean_t recurse, svn_boolean_t entry_props, svn_boolean_t ignore_ancestry, apr_pool_t pool) -> svn_error_t"""
518    return _repos.svn_repos_dir_delta(*args)
519
520def svn_repos_replay2(*args) -> "svn_error_t *":
521    """svn_repos_replay2(svn_fs_root_t * root, char const * base_dir, svn_revnum_t low_water_mark, svn_boolean_t send_deltas, svn_delta_editor_t editor, void * edit_baton, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
522    return _repos.svn_repos_replay2(*args)
523
524def svn_repos_replay(*args) -> "svn_error_t *":
525    """svn_repos_replay(svn_fs_root_t * root, svn_delta_editor_t editor, void * edit_baton, apr_pool_t pool) -> svn_error_t"""
526    return _repos.svn_repos_replay(*args)
527
528def svn_repos_get_commit_editor5(*args) -> "svn_delta_editor_t const **, void **":
529    """svn_repos_get_commit_editor5(svn_repos_t * repos, svn_fs_txn_t * txn, char const * repos_url_decoded, char const * base_path, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_repos_authz_callback_t authz_callback, void * authz_baton, apr_pool_t pool) -> svn_error_t"""
530    return _repos.svn_repos_get_commit_editor5(*args)
531
532def svn_repos_get_commit_editor4(*args) -> "svn_delta_editor_t const **, void **":
533    """svn_repos_get_commit_editor4(svn_repos_t * repos, svn_fs_txn_t * txn, char const * repos_url, char const * base_path, char const * user, char const * log_msg, svn_commit_callback2_t commit_callback, svn_repos_authz_callback_t authz_callback, void * authz_baton, apr_pool_t pool) -> svn_error_t"""
534    return _repos.svn_repos_get_commit_editor4(*args)
535
536def svn_repos_get_commit_editor3(*args) -> "svn_delta_editor_t const **, void **":
537    """svn_repos_get_commit_editor3(svn_repos_t * repos, svn_fs_txn_t * txn, char const * repos_url, char const * base_path, char const * user, char const * log_msg, svn_commit_callback_t callback, svn_repos_authz_callback_t authz_callback, void * authz_baton, apr_pool_t pool) -> svn_error_t"""
538    return _repos.svn_repos_get_commit_editor3(*args)
539
540def svn_repos_get_commit_editor2(*args) -> "svn_delta_editor_t const **, void **":
541    """svn_repos_get_commit_editor2(svn_repos_t * repos, svn_fs_txn_t * txn, char const * repos_url, char const * base_path, char const * user, char const * log_msg, svn_commit_callback_t callback, apr_pool_t pool) -> svn_error_t"""
542    return _repos.svn_repos_get_commit_editor2(*args)
543
544def svn_repos_get_commit_editor(*args) -> "svn_delta_editor_t const **, void **":
545    """svn_repos_get_commit_editor(svn_repos_t * repos, char const * repos_url, char const * base_path, char const * user, char const * log_msg, svn_commit_callback_t callback, apr_pool_t pool) -> svn_error_t"""
546    return _repos.svn_repos_get_commit_editor(*args)
547
548def svn_repos_dated_revision(*args) -> "svn_revnum_t *":
549    """svn_repos_dated_revision(svn_repos_t * repos, apr_time_t tm, apr_pool_t pool) -> svn_error_t"""
550    return _repos.svn_repos_dated_revision(*args)
551
552def svn_repos_get_committed_info(*args) -> "svn_revnum_t *, char const **, char const **":
553    """svn_repos_get_committed_info(svn_fs_root_t * root, char const * path, apr_pool_t pool) -> svn_error_t"""
554    return _repos.svn_repos_get_committed_info(*args)
555
556def svn_repos_stat(*args) -> "svn_dirent_t **":
557    """svn_repos_stat(svn_fs_root_t * root, char const * path, apr_pool_t pool) -> svn_error_t"""
558    return _repos.svn_repos_stat(*args)
559
560def svn_repos_list(*args) -> "svn_error_t *":
561    """svn_repos_list(svn_fs_root_t * root, char const * path, apr_array_header_t patterns, svn_depth_t depth, svn_boolean_t path_info_only, svn_repos_authz_func_t authz_read_func, svn_repos_dirent_receiver_t receiver, void * receiver_baton, svn_cancel_func_t cancel_func, apr_pool_t scratch_pool) -> svn_error_t"""
562    return _repos.svn_repos_list(*args)
563
564def svn_repos_deleted_rev(*args) -> "svn_revnum_t *":
565    """svn_repos_deleted_rev(svn_fs_t * fs, char const * path, svn_revnum_t start, svn_revnum_t end, apr_pool_t pool) -> svn_error_t"""
566    return _repos.svn_repos_deleted_rev(*args)
567
568def svn_repos_history2(*args) -> "svn_error_t *":
569    """svn_repos_history2(svn_fs_t * fs, char const * path, svn_repos_history_func_t history_func, svn_repos_authz_func_t authz_read_func, svn_revnum_t start, svn_revnum_t end, svn_boolean_t cross_copies, apr_pool_t pool) -> svn_error_t"""
570    return _repos.svn_repos_history2(*args)
571
572def svn_repos_history(*args) -> "svn_error_t *":
573    """svn_repos_history(svn_fs_t * fs, char const * path, svn_repos_history_func_t history_func, svn_revnum_t start, svn_revnum_t end, svn_boolean_t cross_copies, apr_pool_t pool) -> svn_error_t"""
574    return _repos.svn_repos_history(*args)
575
576def svn_repos_trace_node_locations(*args) -> "apr_hash_t **":
577    """svn_repos_trace_node_locations(svn_fs_t * fs, char const * fs_path, svn_revnum_t peg_revision, apr_array_header_t location_revisions, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
578    return _repos.svn_repos_trace_node_locations(*args)
579
580def svn_repos_node_location_segments(*args) -> "svn_error_t *":
581    """svn_repos_node_location_segments(svn_repos_t * repos, char const * path, svn_revnum_t peg_revision, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_location_segment_receiver_t receiver, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
582    return _repos.svn_repos_node_location_segments(*args)
583
584def svn_repos_path_change_create(*args) -> "svn_repos_path_change_t *":
585    """svn_repos_path_change_create(apr_pool_t result_pool) -> svn_fs_path_change3_t"""
586    return _repos.svn_repos_path_change_create(*args)
587
588def svn_repos_path_change_dup(*args) -> "svn_repos_path_change_t *":
589    """svn_repos_path_change_dup(svn_fs_path_change3_t change, apr_pool_t result_pool) -> svn_fs_path_change3_t"""
590    return _repos.svn_repos_path_change_dup(*args)
591class svn_repos_log_entry_t(object):
592    """Proxy of C svn_repos_log_entry_t struct."""
593
594    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
595
596    def __init__(self, *args, **kwargs):
597        raise AttributeError("No constructor defined")
598    __repr__ = _swig_repr
599    revision = _swig_property(_repos.svn_repos_log_entry_t_revision_get, _repos.svn_repos_log_entry_t_revision_set)
600    revprops = _swig_property(_repos.svn_repos_log_entry_t_revprops_get, _repos.svn_repos_log_entry_t_revprops_set)
601    has_children = _swig_property(_repos.svn_repos_log_entry_t_has_children_get, _repos.svn_repos_log_entry_t_has_children_set)
602    non_inheritable = _swig_property(_repos.svn_repos_log_entry_t_non_inheritable_get, _repos.svn_repos_log_entry_t_non_inheritable_set)
603    subtractive_merge = _swig_property(_repos.svn_repos_log_entry_t_subtractive_merge_get, _repos.svn_repos_log_entry_t_subtractive_merge_set)
604    def set_parent_pool(self, parent_pool=None):
605      """Create a new proxy object for TYPE"""
606      import libsvn.core, weakref
607      self.__dict__["_parent_pool"] = \
608        parent_pool or libsvn.core.application_pool;
609      if self.__dict__["_parent_pool"]:
610        self.__dict__["_is_valid"] = weakref.ref(
611          self.__dict__["_parent_pool"]._is_valid)
612
613    def assert_valid(self):
614      """Assert that this object is using valid pool memory"""
615      if "_is_valid" in self.__dict__:
616        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
617
618    def _retrieve_swig_value(self, name, value):
619    # If we got back a different object than we have cached, we need to copy
620    # all our metadata into it, so that it looks identical to the one
621    # originally set.
622      members = self.__dict__.get('_members')
623      if members is not None and name in members:
624        _copy_metadata_deep(value, members[name])
625
626    # Verify that the new object is good
627      _assert_valid_deep(value)
628
629      return value
630
631    # Attribute access must be intercepted to ensure that objects coming from
632    # read attribute access match those that are set with write attribute access.
633    # Specifically the metadata, such as the associated apr_pool object, should
634    # match the originally assigned object.
635    #
636    # For classic classes it is enough to use __getattr__ to intercept swig
637    # derived attributes. However, with new style classes SWIG makes use of
638    # descriptors which mean that __getattr__ is never called. Therefore,
639    # __getattribute__ must be used for the interception.
640
641    if _newclass:
642      def __getattribute__(self, name):
643        """Manage access to all attributes of this object."""
644
645    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
646    # items directly present in __dict__
647        mydict = object.__getattribute__(self, '__dict__')
648
649        if name == "__dict__":
650          return mydict
651
652        if name in mydict:
653          return mydict[name]
654
655        object.__getattribute__(self, 'assert_valid')()
656
657        value = _get_instance_attr(self, name)
658        fn = object.__getattribute__(self, '_retrieve_swig_value')
659        return fn(name, value)
660    else:
661      def __getattr__(self, name):
662        """Get an attribute from this object"""
663        self.assert_valid()
664
665        value = _swig_getattr(self, self.__class__, name)
666
667        return self._retrieve_swig_value(name, value)
668
669    def __setattr__(self, name, value):
670      """Set an attribute on this object"""
671      self.assert_valid()
672
673    # Save a copy of the object, so that the garbage
674    # collector won't kill the object while it's in
675    # SWIG-land
676      self.__dict__.setdefault("_members",{})[name] = value
677
678      return _set_instance_attr(self, name, value)
679
680svn_repos_log_entry_t_swigregister = _repos.svn_repos_log_entry_t_swigregister
681svn_repos_log_entry_t_swigregister(svn_repos_log_entry_t)
682
683
684def svn_repos_log_entry_create(*args) -> "svn_repos_log_entry_t *":
685    """svn_repos_log_entry_create(apr_pool_t result_pool) -> svn_repos_log_entry_t"""
686    return _repos.svn_repos_log_entry_create(*args)
687
688def svn_repos_log_entry_dup(*args) -> "svn_repos_log_entry_t *":
689    """svn_repos_log_entry_dup(svn_repos_log_entry_t log_entry, apr_pool_t result_pool) -> svn_repos_log_entry_t"""
690    return _repos.svn_repos_log_entry_dup(*args)
691
692def svn_repos_get_logs5(*args) -> "svn_error_t *":
693    """svn_repos_get_logs5(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t start, svn_revnum_t end, int limit, svn_boolean_t strict_node_history, svn_boolean_t include_merged_revisions, apr_array_header_t revprops, svn_repos_authz_func_t authz_read_func, svn_repos_path_change_receiver_t path_change_receiver, void * path_change_receiver_baton, svn_repos_log_entry_receiver_t revision_receiver, void * revision_receiver_baton, apr_pool_t scratch_pool) -> svn_error_t"""
694    return _repos.svn_repos_get_logs5(*args)
695
696def svn_repos_get_logs4(*args) -> "svn_error_t *":
697    """svn_repos_get_logs4(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t start, svn_revnum_t end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_boolean_t include_merged_revisions, apr_array_header_t revprops, svn_repos_authz_func_t authz_read_func, svn_log_entry_receiver_t receiver, apr_pool_t pool) -> svn_error_t"""
698    return _repos.svn_repos_get_logs4(*args)
699
700def svn_repos_get_logs3(*args) -> "svn_error_t *":
701    """svn_repos_get_logs3(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t start, svn_revnum_t end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_repos_authz_func_t authz_read_func, svn_log_message_receiver_t receiver, apr_pool_t pool) -> svn_error_t"""
702    return _repos.svn_repos_get_logs3(*args)
703
704def svn_repos_get_logs2(*args) -> "svn_error_t *":
705    """svn_repos_get_logs2(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t start, svn_revnum_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_repos_authz_func_t authz_read_func, svn_log_message_receiver_t receiver, apr_pool_t pool) -> svn_error_t"""
706    return _repos.svn_repos_get_logs2(*args)
707
708def svn_repos_get_logs(*args) -> "svn_error_t *":
709    """svn_repos_get_logs(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t start, svn_revnum_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, apr_pool_t pool) -> svn_error_t"""
710    return _repos.svn_repos_get_logs(*args)
711
712def svn_repos_fs_get_mergeinfo2(*args) -> "svn_error_t *":
713    """svn_repos_fs_get_mergeinfo2(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t revision, svn_mergeinfo_inheritance_t inherit, svn_boolean_t include_descendants, svn_repos_authz_func_t authz_read_func, svn_repos_mergeinfo_receiver_t receiver, void * receiver_baton, apr_pool_t scratch_pool) -> svn_error_t"""
714    return _repos.svn_repos_fs_get_mergeinfo2(*args)
715
716def svn_repos_fs_get_mergeinfo(*args) -> "apr_hash_t **":
717    """svn_repos_fs_get_mergeinfo(svn_repos_t * repos, apr_array_header_t paths, svn_revnum_t revision, svn_mergeinfo_inheritance_t inherit, svn_boolean_t include_descendants, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
718    return _repos.svn_repos_fs_get_mergeinfo(*args)
719
720def svn_repos_get_file_revs2(*args) -> "svn_error_t *":
721    """svn_repos_get_file_revs2(svn_repos_t * repos, char const * path, svn_revnum_t start, svn_revnum_t end, svn_boolean_t include_merged_revisions, svn_repos_authz_func_t authz_read_func, svn_file_rev_handler_t handler, void * handler_baton, apr_pool_t pool) -> svn_error_t"""
722    return _repos.svn_repos_get_file_revs2(*args)
723
724def svn_repos_get_file_revs(*args) -> "svn_error_t *":
725    """svn_repos_get_file_revs(svn_repos_t * repos, char const * path, svn_revnum_t start, svn_revnum_t end, svn_repos_authz_func_t authz_read_func, svn_repos_file_rev_handler_t handler, void * handler_baton, apr_pool_t pool) -> svn_error_t"""
726    return _repos.svn_repos_get_file_revs(*args)
727
728def svn_repos_fs_commit_txn(*args) -> "char const **, svn_revnum_t *":
729    """svn_repos_fs_commit_txn(svn_repos_t * repos, svn_fs_txn_t * txn, apr_pool_t pool) -> svn_error_t"""
730    return _repos.svn_repos_fs_commit_txn(*args)
731
732def svn_repos_fs_begin_txn_for_commit2(*args) -> "svn_fs_txn_t **":
733    """svn_repos_fs_begin_txn_for_commit2(svn_repos_t * repos, svn_revnum_t rev, apr_hash_t revprop_table, apr_pool_t pool) -> svn_error_t"""
734    return _repos.svn_repos_fs_begin_txn_for_commit2(*args)
735
736def svn_repos_fs_begin_txn_for_commit(*args) -> "svn_fs_txn_t **":
737    """svn_repos_fs_begin_txn_for_commit(svn_repos_t * repos, svn_revnum_t rev, char const * author, char const * log_msg, apr_pool_t pool) -> svn_error_t"""
738    return _repos.svn_repos_fs_begin_txn_for_commit(*args)
739
740def svn_repos_fs_begin_txn_for_update(*args) -> "svn_fs_txn_t **":
741    """svn_repos_fs_begin_txn_for_update(svn_repos_t * repos, svn_revnum_t rev, char const * author, apr_pool_t pool) -> svn_error_t"""
742    return _repos.svn_repos_fs_begin_txn_for_update(*args)
743
744def svn_repos_fs_lock_many(*args) -> "svn_error_t *":
745    """svn_repos_fs_lock_many(svn_repos_t * repos, apr_hash_t lock_targets, char const * comment, svn_boolean_t is_dav_comment, apr_time_t expiration_date, svn_boolean_t steal_lock, svn_fs_lock_callback_t lock_callback, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
746    return _repos.svn_repos_fs_lock_many(*args)
747
748def svn_repos_fs_lock(*args) -> "svn_lock_t **":
749    """svn_repos_fs_lock(svn_repos_t * repos, char const * path, char const * token, char const * comment, svn_boolean_t is_dav_comment, apr_time_t expiration_date, svn_revnum_t current_rev, svn_boolean_t steal_lock, apr_pool_t pool) -> svn_error_t"""
750    return _repos.svn_repos_fs_lock(*args)
751
752def svn_repos_fs_unlock_many(*args) -> "svn_error_t *":
753    """svn_repos_fs_unlock_many(svn_repos_t * repos, apr_hash_t unlock_targets, svn_boolean_t break_lock, svn_fs_lock_callback_t lock_callback, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
754    return _repos.svn_repos_fs_unlock_many(*args)
755
756def svn_repos_fs_unlock(*args) -> "svn_error_t *":
757    """svn_repos_fs_unlock(svn_repos_t * repos, char const * path, char const * token, svn_boolean_t break_lock, apr_pool_t pool) -> svn_error_t"""
758    return _repos.svn_repos_fs_unlock(*args)
759
760def svn_repos_fs_get_locks2(*args) -> "apr_hash_t **":
761    """svn_repos_fs_get_locks2(svn_repos_t * repos, char const * path, svn_depth_t depth, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
762    return _repos.svn_repos_fs_get_locks2(*args)
763
764def svn_repos_fs_get_locks(*args) -> "apr_hash_t **":
765    """svn_repos_fs_get_locks(svn_repos_t * repos, char const * path, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
766    return _repos.svn_repos_fs_get_locks(*args)
767
768def svn_repos_fs_change_rev_prop4(*args) -> "svn_string_t **":
769    """svn_repos_fs_change_rev_prop4(svn_repos_t * repos, svn_revnum_t rev, char const * author, char const * name, svn_string_t const *const * old_value_p, svn_string_t const * new_value, svn_boolean_t use_pre_revprop_change_hook, svn_boolean_t use_post_revprop_change_hook, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
770    return _repos.svn_repos_fs_change_rev_prop4(*args)
771
772def svn_repos_fs_change_rev_prop3(*args) -> "svn_error_t *":
773    """svn_repos_fs_change_rev_prop3(svn_repos_t * repos, svn_revnum_t rev, char const * author, char const * name, svn_string_t const * new_value, svn_boolean_t use_pre_revprop_change_hook, svn_boolean_t use_post_revprop_change_hook, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
774    return _repos.svn_repos_fs_change_rev_prop3(*args)
775
776def svn_repos_fs_change_rev_prop2(*args) -> "svn_error_t *":
777    """svn_repos_fs_change_rev_prop2(svn_repos_t * repos, svn_revnum_t rev, char const * author, char const * name, svn_string_t const * new_value, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
778    return _repos.svn_repos_fs_change_rev_prop2(*args)
779
780def svn_repos_fs_change_rev_prop(*args) -> "svn_error_t *":
781    """svn_repos_fs_change_rev_prop(svn_repos_t * repos, svn_revnum_t rev, char const * author, char const * name, svn_string_t const * new_value, apr_pool_t pool) -> svn_error_t"""
782    return _repos.svn_repos_fs_change_rev_prop(*args)
783
784def svn_repos_fs_revision_prop(*args) -> "svn_string_t **":
785    """svn_repos_fs_revision_prop(svn_repos_t * repos, svn_revnum_t rev, char const * propname, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
786    return _repos.svn_repos_fs_revision_prop(*args)
787
788def svn_repos_fs_revision_proplist(*args) -> "apr_hash_t **":
789    """svn_repos_fs_revision_proplist(svn_repos_t * repos, svn_revnum_t rev, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
790    return _repos.svn_repos_fs_revision_proplist(*args)
791
792def svn_repos_fs_change_node_prop(*args) -> "svn_error_t *":
793    """svn_repos_fs_change_node_prop(svn_fs_root_t * root, char const * path, char const * name, svn_string_t const * value, apr_pool_t pool) -> svn_error_t"""
794    return _repos.svn_repos_fs_change_node_prop(*args)
795
796def svn_repos_fs_get_inherited_props(*args) -> "apr_array_header_t **":
797    """svn_repos_fs_get_inherited_props(svn_fs_root_t * root, char const * path, char const * propname, svn_repos_authz_func_t authz_read_func, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
798    return _repos.svn_repos_fs_get_inherited_props(*args)
799
800def svn_repos_fs_change_txn_prop(*args) -> "svn_error_t *":
801    """svn_repos_fs_change_txn_prop(svn_fs_txn_t * txn, char const * name, svn_string_t const * value, apr_pool_t pool) -> svn_error_t"""
802    return _repos.svn_repos_fs_change_txn_prop(*args)
803
804def svn_repos_fs_change_txn_props(*args) -> "svn_error_t *":
805    """svn_repos_fs_change_txn_props(svn_fs_txn_t * txn, apr_array_header_t props, apr_pool_t pool) -> svn_error_t"""
806    return _repos.svn_repos_fs_change_txn_props(*args)
807class svn_repos_node_t(object):
808    """Proxy of C svn_repos_node_t struct."""
809
810    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
811
812    def __init__(self, *args, **kwargs):
813        raise AttributeError("No constructor defined")
814    __repr__ = _swig_repr
815    kind = _swig_property(_repos.svn_repos_node_t_kind_get, _repos.svn_repos_node_t_kind_set)
816    action = _swig_property(_repos.svn_repos_node_t_action_get, _repos.svn_repos_node_t_action_set)
817    text_mod = _swig_property(_repos.svn_repos_node_t_text_mod_get, _repos.svn_repos_node_t_text_mod_set)
818    prop_mod = _swig_property(_repos.svn_repos_node_t_prop_mod_get, _repos.svn_repos_node_t_prop_mod_set)
819    name = _swig_property(_repos.svn_repos_node_t_name_get, _repos.svn_repos_node_t_name_set)
820    copyfrom_rev = _swig_property(_repos.svn_repos_node_t_copyfrom_rev_get, _repos.svn_repos_node_t_copyfrom_rev_set)
821    copyfrom_path = _swig_property(_repos.svn_repos_node_t_copyfrom_path_get, _repos.svn_repos_node_t_copyfrom_path_set)
822    sibling = _swig_property(_repos.svn_repos_node_t_sibling_get, _repos.svn_repos_node_t_sibling_set)
823    child = _swig_property(_repos.svn_repos_node_t_child_get, _repos.svn_repos_node_t_child_set)
824    parent = _swig_property(_repos.svn_repos_node_t_parent_get, _repos.svn_repos_node_t_parent_set)
825    def set_parent_pool(self, parent_pool=None):
826      """Create a new proxy object for TYPE"""
827      import libsvn.core, weakref
828      self.__dict__["_parent_pool"] = \
829        parent_pool or libsvn.core.application_pool;
830      if self.__dict__["_parent_pool"]:
831        self.__dict__["_is_valid"] = weakref.ref(
832          self.__dict__["_parent_pool"]._is_valid)
833
834    def assert_valid(self):
835      """Assert that this object is using valid pool memory"""
836      if "_is_valid" in self.__dict__:
837        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
838
839    def _retrieve_swig_value(self, name, value):
840    # If we got back a different object than we have cached, we need to copy
841    # all our metadata into it, so that it looks identical to the one
842    # originally set.
843      members = self.__dict__.get('_members')
844      if members is not None and name in members:
845        _copy_metadata_deep(value, members[name])
846
847    # Verify that the new object is good
848      _assert_valid_deep(value)
849
850      return value
851
852    # Attribute access must be intercepted to ensure that objects coming from
853    # read attribute access match those that are set with write attribute access.
854    # Specifically the metadata, such as the associated apr_pool object, should
855    # match the originally assigned object.
856    #
857    # For classic classes it is enough to use __getattr__ to intercept swig
858    # derived attributes. However, with new style classes SWIG makes use of
859    # descriptors which mean that __getattr__ is never called. Therefore,
860    # __getattribute__ must be used for the interception.
861
862    if _newclass:
863      def __getattribute__(self, name):
864        """Manage access to all attributes of this object."""
865
866    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
867    # items directly present in __dict__
868        mydict = object.__getattribute__(self, '__dict__')
869
870        if name == "__dict__":
871          return mydict
872
873        if name in mydict:
874          return mydict[name]
875
876        object.__getattribute__(self, 'assert_valid')()
877
878        value = _get_instance_attr(self, name)
879        fn = object.__getattribute__(self, '_retrieve_swig_value')
880        return fn(name, value)
881    else:
882      def __getattr__(self, name):
883        """Get an attribute from this object"""
884        self.assert_valid()
885
886        value = _swig_getattr(self, self.__class__, name)
887
888        return self._retrieve_swig_value(name, value)
889
890    def __setattr__(self, name, value):
891      """Set an attribute on this object"""
892      self.assert_valid()
893
894    # Save a copy of the object, so that the garbage
895    # collector won't kill the object while it's in
896    # SWIG-land
897      self.__dict__.setdefault("_members",{})[name] = value
898
899      return _set_instance_attr(self, name, value)
900
901svn_repos_node_t_swigregister = _repos.svn_repos_node_t_swigregister
902svn_repos_node_t_swigregister(svn_repos_node_t)
903
904
905def svn_repos_node_editor(*args) -> "svn_delta_editor_t const **, void **":
906    """svn_repos_node_editor(svn_repos_t * repos, svn_fs_root_t * base_root, svn_fs_root_t * root, apr_pool_t node_pool, apr_pool_t pool) -> svn_error_t"""
907    return _repos.svn_repos_node_editor(*args)
908
909def svn_repos_node_from_baton(edit_baton: 'void *') -> "svn_repos_node_t *":
910    """svn_repos_node_from_baton(void * edit_baton) -> svn_repos_node_t"""
911    return _repos.svn_repos_node_from_baton(edit_baton)
912
913def svn_repos_info_format(*args) -> "int *, SWIGTYPE **":
914    """svn_repos_info_format(svn_repos_t * repos, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
915    return _repos.svn_repos_info_format(*args)
916SVN_REPOS_DUMPFILE_MAGIC_HEADER = _repos.SVN_REPOS_DUMPFILE_MAGIC_HEADER
917SVN_REPOS_DUMPFILE_FORMAT_VERSION = _repos.SVN_REPOS_DUMPFILE_FORMAT_VERSION
918SVN_REPOS_DUMPFILE_FORMAT_VERSION_DELTAS = _repos.SVN_REPOS_DUMPFILE_FORMAT_VERSION_DELTAS
919SVN_REPOS_DUMPFILE_UUID = _repos.SVN_REPOS_DUMPFILE_UUID
920SVN_REPOS_DUMPFILE_CONTENT_LENGTH = _repos.SVN_REPOS_DUMPFILE_CONTENT_LENGTH
921SVN_REPOS_DUMPFILE_REVISION_NUMBER = _repos.SVN_REPOS_DUMPFILE_REVISION_NUMBER
922SVN_REPOS_DUMPFILE_NODE_PATH = _repos.SVN_REPOS_DUMPFILE_NODE_PATH
923SVN_REPOS_DUMPFILE_NODE_KIND = _repos.SVN_REPOS_DUMPFILE_NODE_KIND
924SVN_REPOS_DUMPFILE_NODE_ACTION = _repos.SVN_REPOS_DUMPFILE_NODE_ACTION
925SVN_REPOS_DUMPFILE_NODE_COPYFROM_PATH = _repos.SVN_REPOS_DUMPFILE_NODE_COPYFROM_PATH
926SVN_REPOS_DUMPFILE_NODE_COPYFROM_REV = _repos.SVN_REPOS_DUMPFILE_NODE_COPYFROM_REV
927SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5 = _repos.SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5
928SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_SHA1 = _repos.SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_SHA1
929SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_CHECKSUM = _repos.SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_CHECKSUM
930SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5 = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5
931SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1 = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1
932SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM
933SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH = _repos.SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH
934SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH
935SVN_REPOS_DUMPFILE_PROP_DELTA = _repos.SVN_REPOS_DUMPFILE_PROP_DELTA
936SVN_REPOS_DUMPFILE_TEXT_DELTA = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA
937SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5 = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5
938SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1 = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1
939SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM
940svn_repos_load_uuid_default = _repos.svn_repos_load_uuid_default
941svn_repos_load_uuid_ignore = _repos.svn_repos_load_uuid_ignore
942svn_repos_load_uuid_force = _repos.svn_repos_load_uuid_force
943
944def svn_repos_verify_fs3(*args) -> "svn_error_t *":
945    """svn_repos_verify_fs3(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t check_normalization, svn_boolean_t metadata_only, svn_repos_notify_func_t notify_func, void * notify_baton, svn_repos_verify_callback_t verify_callback, void * verify_baton, svn_cancel_func_t cancel, void * cancel_baton, apr_pool_t scratch_pool) -> svn_error_t"""
946    return _repos.svn_repos_verify_fs3(*args)
947
948def svn_repos_verify_fs2(*args) -> "svn_error_t *":
949    """svn_repos_verify_fs2(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel, void * cancel_baton, apr_pool_t scratch_pool) -> svn_error_t"""
950    return _repos.svn_repos_verify_fs2(*args)
951
952def svn_repos_verify_fs(*args) -> "svn_error_t *":
953    """svn_repos_verify_fs(svn_repos_t * repos, svn_stream_t * feedback_stream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
954    return _repos.svn_repos_verify_fs(*args)
955
956def svn_repos_dump_fs4(*args) -> "svn_error_t *":
957    """svn_repos_dump_fs4(svn_repos_t * repos, svn_stream_t * stream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t incremental, svn_boolean_t use_deltas, svn_boolean_t include_revprops, svn_boolean_t include_changes, svn_repos_notify_func_t notify_func, void * notify_baton, svn_repos_dump_filter_func_t filter_func, void * filter_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
958    return _repos.svn_repos_dump_fs4(*args)
959
960def svn_repos_dump_fs3(*args) -> "svn_error_t *":
961    """svn_repos_dump_fs3(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t incremental, svn_boolean_t use_deltas, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t scratch_pool) -> svn_error_t"""
962    return _repos.svn_repos_dump_fs3(*args)
963
964def svn_repos_dump_fs2(*args) -> "svn_error_t *":
965    """svn_repos_dump_fs2(svn_repos_t * repos, svn_stream_t * dumpstream, svn_stream_t * feedback_stream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t incremental, svn_boolean_t use_deltas, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
966    return _repos.svn_repos_dump_fs2(*args)
967
968def svn_repos_dump_fs(*args) -> "svn_error_t *":
969    """svn_repos_dump_fs(svn_repos_t * repos, svn_stream_t * dumpstream, svn_stream_t * feedback_stream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t incremental, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
970    return _repos.svn_repos_dump_fs(*args)
971
972def svn_repos_load_fs6(*args) -> "svn_error_t *":
973    """svn_repos_load_fs6(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t validate_props, svn_boolean_t ignore_dates, svn_boolean_t normalize_props, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
974    return _repos.svn_repos_load_fs6(*args)
975
976def svn_repos_load_fs5(*args) -> "svn_error_t *":
977    """svn_repos_load_fs5(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t validate_props, svn_boolean_t ignore_dates, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
978    return _repos.svn_repos_load_fs5(*args)
979
980def svn_repos_load_fs4(*args) -> "svn_error_t *":
981    """svn_repos_load_fs4(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t validate_props, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
982    return _repos.svn_repos_load_fs4(*args)
983
984def svn_repos_load_fs3(*args) -> "svn_error_t *":
985    """svn_repos_load_fs3(svn_repos_t * repos, svn_stream_t * dumpstream, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t validate_props, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
986    return _repos.svn_repos_load_fs3(*args)
987
988def svn_repos_load_fs2(*args) -> "svn_error_t *":
989    """svn_repos_load_fs2(svn_repos_t * repos, svn_stream_t * dumpstream, svn_stream_t * feedback_stream, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
990    return _repos.svn_repos_load_fs2(*args)
991
992def svn_repos_load_fs(*args) -> "svn_error_t *":
993    """svn_repos_load_fs(svn_repos_t * repos, svn_stream_t * dumpstream, svn_stream_t * feedback_stream, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
994    return _repos.svn_repos_load_fs(*args)
995
996def svn_repos_load_fs_revprops(*args) -> "svn_error_t *":
997    """svn_repos_load_fs_revprops(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t validate_props, svn_boolean_t ignore_dates, svn_boolean_t normalize_props, svn_repos_notify_func_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, apr_pool_t scratch_pool) -> svn_error_t"""
998    return _repos.svn_repos_load_fs_revprops(*args)
999class svn_repos_parse_fns3_t(object):
1000    """Proxy of C svn_repos_parse_fns3_t struct."""
1001
1002    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1003
1004    def __init__(self, *args, **kwargs):
1005        raise AttributeError("No constructor defined")
1006    __repr__ = _swig_repr
1007    magic_header_record = _swig_property(_repos.svn_repos_parse_fns3_t_magic_header_record_get, _repos.svn_repos_parse_fns3_t_magic_header_record_set)
1008    uuid_record = _swig_property(_repos.svn_repos_parse_fns3_t_uuid_record_get, _repos.svn_repos_parse_fns3_t_uuid_record_set)
1009    new_revision_record = _swig_property(_repos.svn_repos_parse_fns3_t_new_revision_record_get, _repos.svn_repos_parse_fns3_t_new_revision_record_set)
1010    new_node_record = _swig_property(_repos.svn_repos_parse_fns3_t_new_node_record_get, _repos.svn_repos_parse_fns3_t_new_node_record_set)
1011    set_revision_property = _swig_property(_repos.svn_repos_parse_fns3_t_set_revision_property_get, _repos.svn_repos_parse_fns3_t_set_revision_property_set)
1012    set_node_property = _swig_property(_repos.svn_repos_parse_fns3_t_set_node_property_get, _repos.svn_repos_parse_fns3_t_set_node_property_set)
1013    delete_node_property = _swig_property(_repos.svn_repos_parse_fns3_t_delete_node_property_get, _repos.svn_repos_parse_fns3_t_delete_node_property_set)
1014    remove_node_props = _swig_property(_repos.svn_repos_parse_fns3_t_remove_node_props_get, _repos.svn_repos_parse_fns3_t_remove_node_props_set)
1015    set_fulltext = _swig_property(_repos.svn_repos_parse_fns3_t_set_fulltext_get, _repos.svn_repos_parse_fns3_t_set_fulltext_set)
1016    apply_textdelta = _swig_property(_repos.svn_repos_parse_fns3_t_apply_textdelta_get, _repos.svn_repos_parse_fns3_t_apply_textdelta_set)
1017    close_node = _swig_property(_repos.svn_repos_parse_fns3_t_close_node_get, _repos.svn_repos_parse_fns3_t_close_node_set)
1018    close_revision = _swig_property(_repos.svn_repos_parse_fns3_t_close_revision_get, _repos.svn_repos_parse_fns3_t_close_revision_set)
1019    def set_parent_pool(self, parent_pool=None):
1020      """Create a new proxy object for TYPE"""
1021      import libsvn.core, weakref
1022      self.__dict__["_parent_pool"] = \
1023        parent_pool or libsvn.core.application_pool;
1024      if self.__dict__["_parent_pool"]:
1025        self.__dict__["_is_valid"] = weakref.ref(
1026          self.__dict__["_parent_pool"]._is_valid)
1027
1028    def assert_valid(self):
1029      """Assert that this object is using valid pool memory"""
1030      if "_is_valid" in self.__dict__:
1031        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1032
1033    def _retrieve_swig_value(self, name, value):
1034    # If we got back a different object than we have cached, we need to copy
1035    # all our metadata into it, so that it looks identical to the one
1036    # originally set.
1037      members = self.__dict__.get('_members')
1038      if members is not None and name in members:
1039        _copy_metadata_deep(value, members[name])
1040
1041    # Verify that the new object is good
1042      _assert_valid_deep(value)
1043
1044      return value
1045
1046    # Attribute access must be intercepted to ensure that objects coming from
1047    # read attribute access match those that are set with write attribute access.
1048    # Specifically the metadata, such as the associated apr_pool object, should
1049    # match the originally assigned object.
1050    #
1051    # For classic classes it is enough to use __getattr__ to intercept swig
1052    # derived attributes. However, with new style classes SWIG makes use of
1053    # descriptors which mean that __getattr__ is never called. Therefore,
1054    # __getattribute__ must be used for the interception.
1055
1056    if _newclass:
1057      def __getattribute__(self, name):
1058        """Manage access to all attributes of this object."""
1059
1060    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1061    # items directly present in __dict__
1062        mydict = object.__getattribute__(self, '__dict__')
1063
1064        if name == "__dict__":
1065          return mydict
1066
1067        if name in mydict:
1068          return mydict[name]
1069
1070        object.__getattribute__(self, 'assert_valid')()
1071
1072        value = _get_instance_attr(self, name)
1073        fn = object.__getattribute__(self, '_retrieve_swig_value')
1074        return fn(name, value)
1075    else:
1076      def __getattr__(self, name):
1077        """Get an attribute from this object"""
1078        self.assert_valid()
1079
1080        value = _swig_getattr(self, self.__class__, name)
1081
1082        return self._retrieve_swig_value(name, value)
1083
1084    def __setattr__(self, name, value):
1085      """Set an attribute on this object"""
1086      self.assert_valid()
1087
1088    # Save a copy of the object, so that the garbage
1089    # collector won't kill the object while it's in
1090    # SWIG-land
1091      self.__dict__.setdefault("_members",{})[name] = value
1092
1093      return _set_instance_attr(self, name, value)
1094
1095
1096    def magic_header_record(self, *args):
1097      return svn_repos_parse_fns3_invoke_magic_header_record(self, *args)
1098
1099
1100    def uuid_record(self, *args):
1101      return svn_repos_parse_fns3_invoke_uuid_record(self, *args)
1102
1103
1104    def new_revision_record(self, *args):
1105      return svn_repos_parse_fns3_invoke_new_revision_record(self, *args)
1106
1107
1108    def new_node_record(self, *args):
1109      return svn_repos_parse_fns3_invoke_new_node_record(self, *args)
1110
1111
1112    def set_revision_property(self, *args):
1113      return svn_repos_parse_fns3_invoke_set_revision_property(self, *args)
1114
1115
1116    def set_node_property(self, *args):
1117      return svn_repos_parse_fns3_invoke_set_node_property(self, *args)
1118
1119
1120    def delete_node_property(self, *args):
1121      return svn_repos_parse_fns3_invoke_delete_node_property(self, *args)
1122
1123
1124    def remove_node_props(self, *args):
1125      return svn_repos_parse_fns3_invoke_remove_node_props(self, *args)
1126
1127
1128    def set_fulltext(self, *args):
1129      return svn_repos_parse_fns3_invoke_set_fulltext(self, *args)
1130
1131
1132    def apply_textdelta(self, *args):
1133      return svn_repos_parse_fns3_invoke_apply_textdelta(self, *args)
1134
1135
1136    def close_node(self, *args):
1137      return svn_repos_parse_fns3_invoke_close_node(self, *args)
1138
1139
1140    def close_revision(self, *args):
1141      return svn_repos_parse_fns3_invoke_close_revision(self, *args)
1142
1143svn_repos_parse_fns3_t_swigregister = _repos.svn_repos_parse_fns3_t_swigregister
1144svn_repos_parse_fns3_t_swigregister(svn_repos_parse_fns3_t)
1145
1146
1147def svn_repos_parse_dumpstream3(*args) -> "svn_error_t *":
1148    """svn_repos_parse_dumpstream3(svn_stream_t * stream, svn_repos_parse_fns3_t parse_fns, void * parse_baton, svn_boolean_t deltas_are_text, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
1149    return _repos.svn_repos_parse_dumpstream3(*args)
1150
1151def svn_repos_get_fs_build_parser6(*args) -> "svn_repos_parse_fns3_t const **, void **":
1152    """svn_repos_get_fs_build_parser6(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t use_history, svn_boolean_t validate_props, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t ignore_dates, svn_boolean_t normalize_props, svn_repos_notify_func_t notify_func, void * notify_baton, apr_pool_t pool) -> svn_error_t"""
1153    return _repos.svn_repos_get_fs_build_parser6(*args)
1154
1155def svn_repos_get_fs_build_parser5(*args) -> "svn_repos_parse_fns3_t const **, void **":
1156    """svn_repos_get_fs_build_parser5(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t use_history, svn_boolean_t validate_props, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_boolean_t use_pre_commit_hook, svn_boolean_t use_post_commit_hook, svn_boolean_t ignore_dates, svn_repos_notify_func_t notify_func, void * notify_baton, apr_pool_t pool) -> svn_error_t"""
1157    return _repos.svn_repos_get_fs_build_parser5(*args)
1158
1159def svn_repos_get_fs_build_parser4(*args) -> "svn_repos_parse_fns3_t const **, void **":
1160    """svn_repos_get_fs_build_parser4(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_boolean_t use_history, svn_boolean_t validate_props, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_repos_notify_func_t notify_func, void * notify_baton, apr_pool_t pool) -> svn_error_t"""
1161    return _repos.svn_repos_get_fs_build_parser4(*args)
1162class svn_repos_parse_fns2_t(object):
1163    """Proxy of C svn_repos_parse_fns2_t struct."""
1164
1165    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1166
1167    def __init__(self, *args, **kwargs):
1168        raise AttributeError("No constructor defined")
1169    __repr__ = _swig_repr
1170    new_revision_record = _swig_property(_repos.svn_repos_parse_fns2_t_new_revision_record_get, _repos.svn_repos_parse_fns2_t_new_revision_record_set)
1171    uuid_record = _swig_property(_repos.svn_repos_parse_fns2_t_uuid_record_get, _repos.svn_repos_parse_fns2_t_uuid_record_set)
1172    new_node_record = _swig_property(_repos.svn_repos_parse_fns2_t_new_node_record_get, _repos.svn_repos_parse_fns2_t_new_node_record_set)
1173    set_revision_property = _swig_property(_repos.svn_repos_parse_fns2_t_set_revision_property_get, _repos.svn_repos_parse_fns2_t_set_revision_property_set)
1174    set_node_property = _swig_property(_repos.svn_repos_parse_fns2_t_set_node_property_get, _repos.svn_repos_parse_fns2_t_set_node_property_set)
1175    delete_node_property = _swig_property(_repos.svn_repos_parse_fns2_t_delete_node_property_get, _repos.svn_repos_parse_fns2_t_delete_node_property_set)
1176    remove_node_props = _swig_property(_repos.svn_repos_parse_fns2_t_remove_node_props_get, _repos.svn_repos_parse_fns2_t_remove_node_props_set)
1177    set_fulltext = _swig_property(_repos.svn_repos_parse_fns2_t_set_fulltext_get, _repos.svn_repos_parse_fns2_t_set_fulltext_set)
1178    apply_textdelta = _swig_property(_repos.svn_repos_parse_fns2_t_apply_textdelta_get, _repos.svn_repos_parse_fns2_t_apply_textdelta_set)
1179    close_node = _swig_property(_repos.svn_repos_parse_fns2_t_close_node_get, _repos.svn_repos_parse_fns2_t_close_node_set)
1180    close_revision = _swig_property(_repos.svn_repos_parse_fns2_t_close_revision_get, _repos.svn_repos_parse_fns2_t_close_revision_set)
1181    def set_parent_pool(self, parent_pool=None):
1182      """Create a new proxy object for TYPE"""
1183      import libsvn.core, weakref
1184      self.__dict__["_parent_pool"] = \
1185        parent_pool or libsvn.core.application_pool;
1186      if self.__dict__["_parent_pool"]:
1187        self.__dict__["_is_valid"] = weakref.ref(
1188          self.__dict__["_parent_pool"]._is_valid)
1189
1190    def assert_valid(self):
1191      """Assert that this object is using valid pool memory"""
1192      if "_is_valid" in self.__dict__:
1193        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1194
1195    def _retrieve_swig_value(self, name, value):
1196    # If we got back a different object than we have cached, we need to copy
1197    # all our metadata into it, so that it looks identical to the one
1198    # originally set.
1199      members = self.__dict__.get('_members')
1200      if members is not None and name in members:
1201        _copy_metadata_deep(value, members[name])
1202
1203    # Verify that the new object is good
1204      _assert_valid_deep(value)
1205
1206      return value
1207
1208    # Attribute access must be intercepted to ensure that objects coming from
1209    # read attribute access match those that are set with write attribute access.
1210    # Specifically the metadata, such as the associated apr_pool object, should
1211    # match the originally assigned object.
1212    #
1213    # For classic classes it is enough to use __getattr__ to intercept swig
1214    # derived attributes. However, with new style classes SWIG makes use of
1215    # descriptors which mean that __getattr__ is never called. Therefore,
1216    # __getattribute__ must be used for the interception.
1217
1218    if _newclass:
1219      def __getattribute__(self, name):
1220        """Manage access to all attributes of this object."""
1221
1222    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1223    # items directly present in __dict__
1224        mydict = object.__getattribute__(self, '__dict__')
1225
1226        if name == "__dict__":
1227          return mydict
1228
1229        if name in mydict:
1230          return mydict[name]
1231
1232        object.__getattribute__(self, 'assert_valid')()
1233
1234        value = _get_instance_attr(self, name)
1235        fn = object.__getattribute__(self, '_retrieve_swig_value')
1236        return fn(name, value)
1237    else:
1238      def __getattr__(self, name):
1239        """Get an attribute from this object"""
1240        self.assert_valid()
1241
1242        value = _swig_getattr(self, self.__class__, name)
1243
1244        return self._retrieve_swig_value(name, value)
1245
1246    def __setattr__(self, name, value):
1247      """Set an attribute on this object"""
1248      self.assert_valid()
1249
1250    # Save a copy of the object, so that the garbage
1251    # collector won't kill the object while it's in
1252    # SWIG-land
1253      self.__dict__.setdefault("_members",{})[name] = value
1254
1255      return _set_instance_attr(self, name, value)
1256
1257
1258    def new_revision_record(self, *args):
1259      return svn_repos_parse_fns2_invoke_new_revision_record(self, *args)
1260
1261
1262    def uuid_record(self, *args):
1263      return svn_repos_parse_fns2_invoke_uuid_record(self, *args)
1264
1265
1266    def new_node_record(self, *args):
1267      return svn_repos_parse_fns2_invoke_new_node_record(self, *args)
1268
1269
1270    def set_revision_property(self, *args):
1271      return svn_repos_parse_fns2_invoke_set_revision_property(self, *args)
1272
1273
1274    def set_node_property(self, *args):
1275      return svn_repos_parse_fns2_invoke_set_node_property(self, *args)
1276
1277
1278    def delete_node_property(self, *args):
1279      return svn_repos_parse_fns2_invoke_delete_node_property(self, *args)
1280
1281
1282    def remove_node_props(self, *args):
1283      return svn_repos_parse_fns2_invoke_remove_node_props(self, *args)
1284
1285
1286    def set_fulltext(self, *args):
1287      return svn_repos_parse_fns2_invoke_set_fulltext(self, *args)
1288
1289
1290    def apply_textdelta(self, *args):
1291      return svn_repos_parse_fns2_invoke_apply_textdelta(self, *args)
1292
1293
1294    def close_node(self, *args):
1295      return svn_repos_parse_fns2_invoke_close_node(self, *args)
1296
1297
1298    def close_revision(self, *args):
1299      return svn_repos_parse_fns2_invoke_close_revision(self, *args)
1300
1301svn_repos_parse_fns2_t_swigregister = _repos.svn_repos_parse_fns2_t_swigregister
1302svn_repos_parse_fns2_t_swigregister(svn_repos_parse_fns2_t)
1303
1304class svn_repos_parser_fns_t(object):
1305    """Proxy of C svn_repos_parse_fns_t struct."""
1306
1307    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1308
1309    def __init__(self, *args, **kwargs):
1310        raise AttributeError("No constructor defined")
1311    __repr__ = _swig_repr
1312    new_revision_record = _swig_property(_repos.svn_repos_parser_fns_t_new_revision_record_get, _repos.svn_repos_parser_fns_t_new_revision_record_set)
1313    uuid_record = _swig_property(_repos.svn_repos_parser_fns_t_uuid_record_get, _repos.svn_repos_parser_fns_t_uuid_record_set)
1314    new_node_record = _swig_property(_repos.svn_repos_parser_fns_t_new_node_record_get, _repos.svn_repos_parser_fns_t_new_node_record_set)
1315    set_revision_property = _swig_property(_repos.svn_repos_parser_fns_t_set_revision_property_get, _repos.svn_repos_parser_fns_t_set_revision_property_set)
1316    set_node_property = _swig_property(_repos.svn_repos_parser_fns_t_set_node_property_get, _repos.svn_repos_parser_fns_t_set_node_property_set)
1317    remove_node_props = _swig_property(_repos.svn_repos_parser_fns_t_remove_node_props_get, _repos.svn_repos_parser_fns_t_remove_node_props_set)
1318    set_fulltext = _swig_property(_repos.svn_repos_parser_fns_t_set_fulltext_get, _repos.svn_repos_parser_fns_t_set_fulltext_set)
1319    close_node = _swig_property(_repos.svn_repos_parser_fns_t_close_node_get, _repos.svn_repos_parser_fns_t_close_node_set)
1320    close_revision = _swig_property(_repos.svn_repos_parser_fns_t_close_revision_get, _repos.svn_repos_parser_fns_t_close_revision_set)
1321    def set_parent_pool(self, parent_pool=None):
1322      """Create a new proxy object for TYPE"""
1323      import libsvn.core, weakref
1324      self.__dict__["_parent_pool"] = \
1325        parent_pool or libsvn.core.application_pool;
1326      if self.__dict__["_parent_pool"]:
1327        self.__dict__["_is_valid"] = weakref.ref(
1328          self.__dict__["_parent_pool"]._is_valid)
1329
1330    def assert_valid(self):
1331      """Assert that this object is using valid pool memory"""
1332      if "_is_valid" in self.__dict__:
1333        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1334
1335    def _retrieve_swig_value(self, name, value):
1336    # If we got back a different object than we have cached, we need to copy
1337    # all our metadata into it, so that it looks identical to the one
1338    # originally set.
1339      members = self.__dict__.get('_members')
1340      if members is not None and name in members:
1341        _copy_metadata_deep(value, members[name])
1342
1343    # Verify that the new object is good
1344      _assert_valid_deep(value)
1345
1346      return value
1347
1348    # Attribute access must be intercepted to ensure that objects coming from
1349    # read attribute access match those that are set with write attribute access.
1350    # Specifically the metadata, such as the associated apr_pool object, should
1351    # match the originally assigned object.
1352    #
1353    # For classic classes it is enough to use __getattr__ to intercept swig
1354    # derived attributes. However, with new style classes SWIG makes use of
1355    # descriptors which mean that __getattr__ is never called. Therefore,
1356    # __getattribute__ must be used for the interception.
1357
1358    if _newclass:
1359      def __getattribute__(self, name):
1360        """Manage access to all attributes of this object."""
1361
1362    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1363    # items directly present in __dict__
1364        mydict = object.__getattribute__(self, '__dict__')
1365
1366        if name == "__dict__":
1367          return mydict
1368
1369        if name in mydict:
1370          return mydict[name]
1371
1372        object.__getattribute__(self, 'assert_valid')()
1373
1374        value = _get_instance_attr(self, name)
1375        fn = object.__getattribute__(self, '_retrieve_swig_value')
1376        return fn(name, value)
1377    else:
1378      def __getattr__(self, name):
1379        """Get an attribute from this object"""
1380        self.assert_valid()
1381
1382        value = _swig_getattr(self, self.__class__, name)
1383
1384        return self._retrieve_swig_value(name, value)
1385
1386    def __setattr__(self, name, value):
1387      """Set an attribute on this object"""
1388      self.assert_valid()
1389
1390    # Save a copy of the object, so that the garbage
1391    # collector won't kill the object while it's in
1392    # SWIG-land
1393      self.__dict__.setdefault("_members",{})[name] = value
1394
1395      return _set_instance_attr(self, name, value)
1396
1397svn_repos_parser_fns_t_swigregister = _repos.svn_repos_parser_fns_t_swigregister
1398svn_repos_parser_fns_t_swigregister(svn_repos_parser_fns_t)
1399
1400
1401def svn_repos_parse_dumpstream2(*args) -> "svn_error_t *":
1402    """svn_repos_parse_dumpstream2(svn_stream_t * stream, svn_repos_parse_fns2_t parse_fns, void * parse_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
1403    return _repos.svn_repos_parse_dumpstream2(*args)
1404
1405def svn_repos_parse_dumpstream(*args) -> "svn_error_t *":
1406    """svn_repos_parse_dumpstream(svn_stream_t * stream, svn_repos_parser_fns_t parse_fns, void * parse_baton, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
1407    return _repos.svn_repos_parse_dumpstream(*args)
1408
1409def svn_repos_get_fs_build_parser3(*args) -> "SWIGTYPE **, void **":
1410    """svn_repos_get_fs_build_parser3(svn_repos_t * repos, svn_boolean_t use_history, svn_boolean_t validate_props, enum svn_repos_load_uuid uuid_action, char const * parent_dir, svn_repos_notify_func_t notify_func, void * notify_baton, apr_pool_t pool) -> svn_error_t"""
1411    return _repos.svn_repos_get_fs_build_parser3(*args)
1412
1413def svn_repos_get_fs_build_parser2(*args) -> "SWIGTYPE **, void **":
1414    """svn_repos_get_fs_build_parser2(svn_repos_t * repos, svn_boolean_t use_history, enum svn_repos_load_uuid uuid_action, svn_stream_t * outstream, char const * parent_dir, apr_pool_t pool) -> svn_error_t"""
1415    return _repos.svn_repos_get_fs_build_parser2(*args)
1416
1417def svn_repos_get_fs_build_parser(*args) -> "svn_repos_parser_fns_t const **, void **":
1418    """svn_repos_get_fs_build_parser(svn_repos_t * repos, svn_boolean_t use_history, enum svn_repos_load_uuid uuid_action, svn_stream_t * outstream, char const * parent_dir, apr_pool_t pool) -> svn_error_t"""
1419    return _repos.svn_repos_get_fs_build_parser(*args)
1420
1421def svn_repos_authz_initialize(*args) -> "svn_error_t *":
1422    """svn_repos_authz_initialize(apr_pool_t pool) -> svn_error_t"""
1423    return _repos.svn_repos_authz_initialize(*args)
1424
1425def svn_repos_authz_read4(*args) -> "svn_authz_t **":
1426    """svn_repos_authz_read4(char const * path, char const * groups_path, svn_boolean_t must_exist, svn_repos_t * repos_hint, svn_repos_authz_warning_func_t warning_func, void * warning_baton, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
1427    return _repos.svn_repos_authz_read4(*args)
1428
1429def svn_repos_authz_read3(*args) -> "svn_authz_t **":
1430    """svn_repos_authz_read3(char const * path, char const * groups_path, svn_boolean_t must_exist, svn_repos_t * repos_hint, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
1431    return _repos.svn_repos_authz_read3(*args)
1432
1433def svn_repos_authz_read2(*args) -> "svn_authz_t **":
1434    """svn_repos_authz_read2(char const * path, char const * groups_path, svn_boolean_t must_exist, apr_pool_t pool) -> svn_error_t"""
1435    return _repos.svn_repos_authz_read2(*args)
1436
1437def svn_repos_authz_read(*args) -> "svn_authz_t **":
1438    """svn_repos_authz_read(char const * file, svn_boolean_t must_exist, apr_pool_t pool) -> svn_error_t"""
1439    return _repos.svn_repos_authz_read(*args)
1440
1441def svn_repos_authz_parse2(*args) -> "svn_authz_t **":
1442    """svn_repos_authz_parse2(svn_stream_t * stream, svn_stream_t * groups_stream, svn_repos_authz_warning_func_t warning_func, void * warning_baton, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
1443    return _repos.svn_repos_authz_parse2(*args)
1444
1445def svn_repos_authz_parse(*args) -> "svn_authz_t **":
1446    """svn_repos_authz_parse(svn_stream_t * stream, svn_stream_t * groups_stream, apr_pool_t pool) -> svn_error_t"""
1447    return _repos.svn_repos_authz_parse(*args)
1448
1449def svn_repos_authz_check_access(*args) -> "svn_boolean_t *":
1450    """svn_repos_authz_check_access(svn_authz_t * authz, char const * repos_name, char const * path, char const * user, svn_repos_authz_access_t required_access, apr_pool_t pool) -> svn_error_t"""
1451    return _repos.svn_repos_authz_check_access(*args)
1452svn_repos_revision_access_none = _repos.svn_repos_revision_access_none
1453svn_repos_revision_access_partial = _repos.svn_repos_revision_access_partial
1454svn_repos_revision_access_full = _repos.svn_repos_revision_access_full
1455
1456def svn_repos_check_revision_access(*args) -> "svn_error_t *":
1457    """svn_repos_check_revision_access(svn_repos_revision_access_level_t * access_level, svn_repos_t * repos, svn_revnum_t revision, svn_repos_authz_func_t authz_read_func, apr_pool_t pool) -> svn_error_t"""
1458    return _repos.svn_repos_check_revision_access(*args)
1459class svn_repos_t(object):
1460    """Proxy of C svn_repos_t struct."""
1461
1462    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1463
1464    def __init__(self, *args, **kwargs):
1465        raise AttributeError("No constructor defined")
1466    __repr__ = _swig_repr
1467    def set_parent_pool(self, parent_pool=None):
1468      """Create a new proxy object for TYPE"""
1469      import libsvn.core, weakref
1470      self.__dict__["_parent_pool"] = \
1471        parent_pool or libsvn.core.application_pool;
1472      if self.__dict__["_parent_pool"]:
1473        self.__dict__["_is_valid"] = weakref.ref(
1474          self.__dict__["_parent_pool"]._is_valid)
1475
1476    def assert_valid(self):
1477      """Assert that this object is using valid pool memory"""
1478      if "_is_valid" in self.__dict__:
1479        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1480
1481    def _retrieve_swig_value(self, name, value):
1482    # If we got back a different object than we have cached, we need to copy
1483    # all our metadata into it, so that it looks identical to the one
1484    # originally set.
1485      members = self.__dict__.get('_members')
1486      if members is not None and name in members:
1487        _copy_metadata_deep(value, members[name])
1488
1489    # Verify that the new object is good
1490      _assert_valid_deep(value)
1491
1492      return value
1493
1494    # Attribute access must be intercepted to ensure that objects coming from
1495    # read attribute access match those that are set with write attribute access.
1496    # Specifically the metadata, such as the associated apr_pool object, should
1497    # match the originally assigned object.
1498    #
1499    # For classic classes it is enough to use __getattr__ to intercept swig
1500    # derived attributes. However, with new style classes SWIG makes use of
1501    # descriptors which mean that __getattr__ is never called. Therefore,
1502    # __getattribute__ must be used for the interception.
1503
1504    if _newclass:
1505      def __getattribute__(self, name):
1506        """Manage access to all attributes of this object."""
1507
1508    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1509    # items directly present in __dict__
1510        mydict = object.__getattribute__(self, '__dict__')
1511
1512        if name == "__dict__":
1513          return mydict
1514
1515        if name in mydict:
1516          return mydict[name]
1517
1518        object.__getattribute__(self, 'assert_valid')()
1519
1520        value = _get_instance_attr(self, name)
1521        fn = object.__getattribute__(self, '_retrieve_swig_value')
1522        return fn(name, value)
1523    else:
1524      def __getattr__(self, name):
1525        """Get an attribute from this object"""
1526        self.assert_valid()
1527
1528        value = _swig_getattr(self, self.__class__, name)
1529
1530        return self._retrieve_swig_value(name, value)
1531
1532    def __setattr__(self, name, value):
1533      """Set an attribute on this object"""
1534      self.assert_valid()
1535
1536    # Save a copy of the object, so that the garbage
1537    # collector won't kill the object while it's in
1538    # SWIG-land
1539      self.__dict__.setdefault("_members",{})[name] = value
1540
1541      return _set_instance_attr(self, name, value)
1542
1543svn_repos_t_swigregister = _repos.svn_repos_t_swigregister
1544svn_repos_t_swigregister(svn_repos_t)
1545
1546class svn_authz_t(object):
1547    """Proxy of C svn_authz_t struct."""
1548
1549    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1550
1551    def __init__(self, *args, **kwargs):
1552        raise AttributeError("No constructor defined")
1553    __repr__ = _swig_repr
1554    def set_parent_pool(self, parent_pool=None):
1555      """Create a new proxy object for TYPE"""
1556      import libsvn.core, weakref
1557      self.__dict__["_parent_pool"] = \
1558        parent_pool or libsvn.core.application_pool;
1559      if self.__dict__["_parent_pool"]:
1560        self.__dict__["_is_valid"] = weakref.ref(
1561          self.__dict__["_parent_pool"]._is_valid)
1562
1563    def assert_valid(self):
1564      """Assert that this object is using valid pool memory"""
1565      if "_is_valid" in self.__dict__:
1566        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1567
1568    def _retrieve_swig_value(self, name, value):
1569    # If we got back a different object than we have cached, we need to copy
1570    # all our metadata into it, so that it looks identical to the one
1571    # originally set.
1572      members = self.__dict__.get('_members')
1573      if members is not None and name in members:
1574        _copy_metadata_deep(value, members[name])
1575
1576    # Verify that the new object is good
1577      _assert_valid_deep(value)
1578
1579      return value
1580
1581    # Attribute access must be intercepted to ensure that objects coming from
1582    # read attribute access match those that are set with write attribute access.
1583    # Specifically the metadata, such as the associated apr_pool object, should
1584    # match the originally assigned object.
1585    #
1586    # For classic classes it is enough to use __getattr__ to intercept swig
1587    # derived attributes. However, with new style classes SWIG makes use of
1588    # descriptors which mean that __getattr__ is never called. Therefore,
1589    # __getattribute__ must be used for the interception.
1590
1591    if _newclass:
1592      def __getattribute__(self, name):
1593        """Manage access to all attributes of this object."""
1594
1595    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1596    # items directly present in __dict__
1597        mydict = object.__getattribute__(self, '__dict__')
1598
1599        if name == "__dict__":
1600          return mydict
1601
1602        if name in mydict:
1603          return mydict[name]
1604
1605        object.__getattribute__(self, 'assert_valid')()
1606
1607        value = _get_instance_attr(self, name)
1608        fn = object.__getattribute__(self, '_retrieve_swig_value')
1609        return fn(name, value)
1610    else:
1611      def __getattr__(self, name):
1612        """Get an attribute from this object"""
1613        self.assert_valid()
1614
1615        value = _swig_getattr(self, self.__class__, name)
1616
1617        return self._retrieve_swig_value(name, value)
1618
1619    def __setattr__(self, name, value):
1620      """Set an attribute on this object"""
1621      self.assert_valid()
1622
1623    # Save a copy of the object, so that the garbage
1624    # collector won't kill the object while it's in
1625    # SWIG-land
1626      self.__dict__.setdefault("_members",{})[name] = value
1627
1628      return _set_instance_attr(self, name, value)
1629
1630svn_authz_t_swigregister = _repos.svn_authz_t_swigregister
1631svn_authz_t_swigregister(svn_authz_t)
1632
1633
1634def svn_repos_parse_fns3_invoke_magic_header_record(*args) -> "svn_error_t *":
1635    """svn_repos_parse_fns3_invoke_magic_header_record(svn_repos_parse_fns3_t _obj, int version, void * parse_baton, apr_pool_t pool) -> svn_error_t"""
1636    return _repos.svn_repos_parse_fns3_invoke_magic_header_record(*args)
1637
1638def svn_repos_parse_fns3_invoke_uuid_record(*args) -> "svn_error_t *":
1639    """svn_repos_parse_fns3_invoke_uuid_record(svn_repos_parse_fns3_t _obj, char const * uuid, void * parse_baton, apr_pool_t pool) -> svn_error_t"""
1640    return _repos.svn_repos_parse_fns3_invoke_uuid_record(*args)
1641
1642def svn_repos_parse_fns3_invoke_new_revision_record(*args) -> "void **":
1643    """svn_repos_parse_fns3_invoke_new_revision_record(svn_repos_parse_fns3_t _obj, apr_hash_t headers, void * parse_baton, apr_pool_t pool) -> svn_error_t"""
1644    return _repos.svn_repos_parse_fns3_invoke_new_revision_record(*args)
1645
1646def svn_repos_parse_fns3_invoke_new_node_record(*args) -> "void **":
1647    """svn_repos_parse_fns3_invoke_new_node_record(svn_repos_parse_fns3_t _obj, apr_hash_t headers, void * revision_baton, apr_pool_t pool) -> svn_error_t"""
1648    return _repos.svn_repos_parse_fns3_invoke_new_node_record(*args)
1649
1650def svn_repos_parse_fns3_invoke_set_revision_property(_obj: 'svn_repos_parse_fns3_t', revision_baton: 'void *', name: 'char const *', value: 'svn_string_t const *') -> "svn_error_t *":
1651    """svn_repos_parse_fns3_invoke_set_revision_property(svn_repos_parse_fns3_t _obj, void * revision_baton, char const * name, svn_string_t const * value) -> svn_error_t"""
1652    return _repos.svn_repos_parse_fns3_invoke_set_revision_property(_obj, revision_baton, name, value)
1653
1654def svn_repos_parse_fns3_invoke_set_node_property(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *', name: 'char const *', value: 'svn_string_t const *') -> "svn_error_t *":
1655    """svn_repos_parse_fns3_invoke_set_node_property(svn_repos_parse_fns3_t _obj, void * node_baton, char const * name, svn_string_t const * value) -> svn_error_t"""
1656    return _repos.svn_repos_parse_fns3_invoke_set_node_property(_obj, node_baton, name, value)
1657
1658def svn_repos_parse_fns3_invoke_delete_node_property(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *', name: 'char const *') -> "svn_error_t *":
1659    """svn_repos_parse_fns3_invoke_delete_node_property(svn_repos_parse_fns3_t _obj, void * node_baton, char const * name) -> svn_error_t"""
1660    return _repos.svn_repos_parse_fns3_invoke_delete_node_property(_obj, node_baton, name)
1661
1662def svn_repos_parse_fns3_invoke_remove_node_props(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *') -> "svn_error_t *":
1663    """svn_repos_parse_fns3_invoke_remove_node_props(svn_repos_parse_fns3_t _obj, void * node_baton) -> svn_error_t"""
1664    return _repos.svn_repos_parse_fns3_invoke_remove_node_props(_obj, node_baton)
1665
1666def svn_repos_parse_fns3_invoke_set_fulltext(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *') -> "svn_stream_t **":
1667    """svn_repos_parse_fns3_invoke_set_fulltext(svn_repos_parse_fns3_t _obj, void * node_baton) -> svn_error_t"""
1668    return _repos.svn_repos_parse_fns3_invoke_set_fulltext(_obj, node_baton)
1669
1670def svn_repos_parse_fns3_invoke_apply_textdelta(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *') -> "svn_txdelta_window_handler_t *, void **":
1671    """svn_repos_parse_fns3_invoke_apply_textdelta(svn_repos_parse_fns3_t _obj, void * node_baton) -> svn_error_t"""
1672    return _repos.svn_repos_parse_fns3_invoke_apply_textdelta(_obj, node_baton)
1673
1674def svn_repos_parse_fns3_invoke_close_node(_obj: 'svn_repos_parse_fns3_t', node_baton: 'void *') -> "svn_error_t *":
1675    """svn_repos_parse_fns3_invoke_close_node(svn_repos_parse_fns3_t _obj, void * node_baton) -> svn_error_t"""
1676    return _repos.svn_repos_parse_fns3_invoke_close_node(_obj, node_baton)
1677
1678def svn_repos_parse_fns3_invoke_close_revision(_obj: 'svn_repos_parse_fns3_t', revision_baton: 'void *') -> "svn_error_t *":
1679    """svn_repos_parse_fns3_invoke_close_revision(svn_repos_parse_fns3_t _obj, void * revision_baton) -> svn_error_t"""
1680    return _repos.svn_repos_parse_fns3_invoke_close_revision(_obj, revision_baton)
1681
1682def svn_repos_parse_fns2_invoke_new_revision_record(*args) -> "void **":
1683    """svn_repos_parse_fns2_invoke_new_revision_record(svn_repos_parse_fns2_t _obj, apr_hash_t headers, void * parse_baton, apr_pool_t pool) -> svn_error_t"""
1684    return _repos.svn_repos_parse_fns2_invoke_new_revision_record(*args)
1685
1686def svn_repos_parse_fns2_invoke_uuid_record(*args) -> "svn_error_t *":
1687    """svn_repos_parse_fns2_invoke_uuid_record(svn_repos_parse_fns2_t _obj, char const * uuid, void * parse_baton, apr_pool_t pool) -> svn_error_t"""
1688    return _repos.svn_repos_parse_fns2_invoke_uuid_record(*args)
1689
1690def svn_repos_parse_fns2_invoke_new_node_record(*args) -> "void **":
1691    """svn_repos_parse_fns2_invoke_new_node_record(svn_repos_parse_fns2_t _obj, apr_hash_t headers, void * revision_baton, apr_pool_t pool) -> svn_error_t"""
1692    return _repos.svn_repos_parse_fns2_invoke_new_node_record(*args)
1693
1694def svn_repos_parse_fns2_invoke_set_revision_property(_obj: 'svn_repos_parse_fns2_t', revision_baton: 'void *', name: 'char const *', value: 'svn_string_t const *') -> "svn_error_t *":
1695    """svn_repos_parse_fns2_invoke_set_revision_property(svn_repos_parse_fns2_t _obj, void * revision_baton, char const * name, svn_string_t const * value) -> svn_error_t"""
1696    return _repos.svn_repos_parse_fns2_invoke_set_revision_property(_obj, revision_baton, name, value)
1697
1698def svn_repos_parse_fns2_invoke_set_node_property(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *', name: 'char const *', value: 'svn_string_t const *') -> "svn_error_t *":
1699    """svn_repos_parse_fns2_invoke_set_node_property(svn_repos_parse_fns2_t _obj, void * node_baton, char const * name, svn_string_t const * value) -> svn_error_t"""
1700    return _repos.svn_repos_parse_fns2_invoke_set_node_property(_obj, node_baton, name, value)
1701
1702def svn_repos_parse_fns2_invoke_delete_node_property(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *', name: 'char const *') -> "svn_error_t *":
1703    """svn_repos_parse_fns2_invoke_delete_node_property(svn_repos_parse_fns2_t _obj, void * node_baton, char const * name) -> svn_error_t"""
1704    return _repos.svn_repos_parse_fns2_invoke_delete_node_property(_obj, node_baton, name)
1705
1706def svn_repos_parse_fns2_invoke_remove_node_props(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *') -> "svn_error_t *":
1707    """svn_repos_parse_fns2_invoke_remove_node_props(svn_repos_parse_fns2_t _obj, void * node_baton) -> svn_error_t"""
1708    return _repos.svn_repos_parse_fns2_invoke_remove_node_props(_obj, node_baton)
1709
1710def svn_repos_parse_fns2_invoke_set_fulltext(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *') -> "svn_stream_t **":
1711    """svn_repos_parse_fns2_invoke_set_fulltext(svn_repos_parse_fns2_t _obj, void * node_baton) -> svn_error_t"""
1712    return _repos.svn_repos_parse_fns2_invoke_set_fulltext(_obj, node_baton)
1713
1714def svn_repos_parse_fns2_invoke_apply_textdelta(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *') -> "svn_txdelta_window_handler_t *, void **":
1715    """svn_repos_parse_fns2_invoke_apply_textdelta(svn_repos_parse_fns2_t _obj, void * node_baton) -> svn_error_t"""
1716    return _repos.svn_repos_parse_fns2_invoke_apply_textdelta(_obj, node_baton)
1717
1718def svn_repos_parse_fns2_invoke_close_node(_obj: 'svn_repos_parse_fns2_t', node_baton: 'void *') -> "svn_error_t *":
1719    """svn_repos_parse_fns2_invoke_close_node(svn_repos_parse_fns2_t _obj, void * node_baton) -> svn_error_t"""
1720    return _repos.svn_repos_parse_fns2_invoke_close_node(_obj, node_baton)
1721
1722def svn_repos_parse_fns2_invoke_close_revision(_obj: 'svn_repos_parse_fns2_t', revision_baton: 'void *') -> "svn_error_t *":
1723    """svn_repos_parse_fns2_invoke_close_revision(svn_repos_parse_fns2_t _obj, void * revision_baton) -> svn_error_t"""
1724    return _repos.svn_repos_parse_fns2_invoke_close_revision(_obj, revision_baton)
1725
1726def svn_repos_invoke_authz_func(*args) -> "svn_boolean_t *":
1727    """svn_repos_invoke_authz_func(svn_repos_authz_func_t _obj, svn_fs_root_t * root, char const * path, void * baton, apr_pool_t pool) -> svn_error_t"""
1728    return _repos.svn_repos_invoke_authz_func(*args)
1729
1730def svn_repos_invoke_authz_callback(*args) -> "svn_boolean_t *":
1731    """svn_repos_invoke_authz_callback(svn_repos_authz_callback_t _obj, svn_repos_authz_access_t required, svn_fs_root_t * root, char const * path, void * baton, apr_pool_t pool) -> svn_error_t"""
1732    return _repos.svn_repos_invoke_authz_callback(*args)
1733
1734def svn_repos_invoke_notify_func(*args) -> "void":
1735    """svn_repos_invoke_notify_func(svn_repos_notify_func_t _obj, void * baton, svn_repos_notify_t notify, apr_pool_t scratch_pool)"""
1736    return _repos.svn_repos_invoke_notify_func(*args)
1737
1738def svn_repos_invoke_dump_filter_func(*args) -> "svn_boolean_t *":
1739    """svn_repos_invoke_dump_filter_func(svn_repos_dump_filter_func_t _obj, svn_fs_root_t * root, char const * path, void * baton, apr_pool_t scratch_pool) -> svn_error_t"""
1740    return _repos.svn_repos_invoke_dump_filter_func(*args)
1741
1742def svn_repos_invoke_freeze_func(*args) -> "svn_error_t *":
1743    """svn_repos_invoke_freeze_func(svn_repos_freeze_func_t _obj, void * baton, apr_pool_t pool) -> svn_error_t"""
1744    return _repos.svn_repos_invoke_freeze_func(*args)
1745
1746def svn_repos_invoke_history_func(*args) -> "svn_error_t *":
1747    """svn_repos_invoke_history_func(svn_repos_history_func_t _obj, void * baton, char const * path, svn_revnum_t revision, apr_pool_t pool) -> svn_error_t"""
1748    return _repos.svn_repos_invoke_history_func(*args)
1749
1750def svn_repos_invoke_path_change_receiver(*args) -> "svn_error_t *":
1751    """svn_repos_invoke_path_change_receiver(svn_repos_path_change_receiver_t _obj, void * baton, svn_fs_path_change3_t change, apr_pool_t scratch_pool) -> svn_error_t"""
1752    return _repos.svn_repos_invoke_path_change_receiver(*args)
1753
1754def svn_repos_invoke_log_entry_receiver(*args) -> "svn_error_t *":
1755    """svn_repos_invoke_log_entry_receiver(svn_repos_log_entry_receiver_t _obj, void * baton, svn_repos_log_entry_t log_entry, apr_pool_t scratch_pool) -> svn_error_t"""
1756    return _repos.svn_repos_invoke_log_entry_receiver(*args)
1757
1758def svn_repos_invoke_file_rev_handler(*args) -> "svn_txdelta_window_handler_t *, void **":
1759    """svn_repos_invoke_file_rev_handler(svn_repos_file_rev_handler_t _obj, void * baton, char const * path, svn_revnum_t rev, apr_hash_t rev_props, apr_array_header_t prop_diffs, apr_pool_t pool) -> svn_error_t"""
1760    return _repos.svn_repos_invoke_file_rev_handler(*args)
1761
1762def svn_repos_invoke_verify_callback(*args) -> "svn_error_t *":
1763    """svn_repos_invoke_verify_callback(svn_repos_verify_callback_t _obj, void * baton, svn_revnum_t revision, svn_error_t verify_err, apr_pool_t scratch_pool) -> svn_error_t"""
1764    return _repos.svn_repos_invoke_verify_callback(*args)
1765
1766def svn_repos_invoke_authz_warning_func(*args) -> "void":
1767    """svn_repos_invoke_authz_warning_func(svn_repos_authz_warning_func_t _obj, void * baton, svn_error_t error, apr_pool_t scratch_pool)"""
1768    return _repos.svn_repos_invoke_authz_warning_func(*args)
1769class svn_repos_authz_func_t(object):
1770    """Proxy of C svn_repos_authz_func_t struct."""
1771
1772    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1773
1774    def __init__(self, *args, **kwargs):
1775        raise AttributeError("No constructor defined")
1776    __repr__ = _swig_repr
1777    def set_parent_pool(self, parent_pool=None):
1778      """Create a new proxy object for TYPE"""
1779      import libsvn.core, weakref
1780      self.__dict__["_parent_pool"] = \
1781        parent_pool or libsvn.core.application_pool;
1782      if self.__dict__["_parent_pool"]:
1783        self.__dict__["_is_valid"] = weakref.ref(
1784          self.__dict__["_parent_pool"]._is_valid)
1785
1786    def assert_valid(self):
1787      """Assert that this object is using valid pool memory"""
1788      if "_is_valid" in self.__dict__:
1789        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1790
1791    def _retrieve_swig_value(self, name, value):
1792    # If we got back a different object than we have cached, we need to copy
1793    # all our metadata into it, so that it looks identical to the one
1794    # originally set.
1795      members = self.__dict__.get('_members')
1796      if members is not None and name in members:
1797        _copy_metadata_deep(value, members[name])
1798
1799    # Verify that the new object is good
1800      _assert_valid_deep(value)
1801
1802      return value
1803
1804    # Attribute access must be intercepted to ensure that objects coming from
1805    # read attribute access match those that are set with write attribute access.
1806    # Specifically the metadata, such as the associated apr_pool object, should
1807    # match the originally assigned object.
1808    #
1809    # For classic classes it is enough to use __getattr__ to intercept swig
1810    # derived attributes. However, with new style classes SWIG makes use of
1811    # descriptors which mean that __getattr__ is never called. Therefore,
1812    # __getattribute__ must be used for the interception.
1813
1814    if _newclass:
1815      def __getattribute__(self, name):
1816        """Manage access to all attributes of this object."""
1817
1818    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1819    # items directly present in __dict__
1820        mydict = object.__getattribute__(self, '__dict__')
1821
1822        if name == "__dict__":
1823          return mydict
1824
1825        if name in mydict:
1826          return mydict[name]
1827
1828        object.__getattribute__(self, 'assert_valid')()
1829
1830        value = _get_instance_attr(self, name)
1831        fn = object.__getattribute__(self, '_retrieve_swig_value')
1832        return fn(name, value)
1833    else:
1834      def __getattr__(self, name):
1835        """Get an attribute from this object"""
1836        self.assert_valid()
1837
1838        value = _swig_getattr(self, self.__class__, name)
1839
1840        return self._retrieve_swig_value(name, value)
1841
1842    def __setattr__(self, name, value):
1843      """Set an attribute on this object"""
1844      self.assert_valid()
1845
1846    # Save a copy of the object, so that the garbage
1847    # collector won't kill the object while it's in
1848    # SWIG-land
1849      self.__dict__.setdefault("_members",{})[name] = value
1850
1851      return _set_instance_attr(self, name, value)
1852
1853
1854    def __call__(self, *args):
1855      return svn_repos_invoke_authz_func(self, *args)
1856
1857svn_repos_authz_func_t_swigregister = _repos.svn_repos_authz_func_t_swigregister
1858svn_repos_authz_func_t_swigregister(svn_repos_authz_func_t)
1859
1860class svn_repos_authz_callback_t(object):
1861    """Proxy of C svn_repos_authz_callback_t struct."""
1862
1863    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1864
1865    def __init__(self, *args, **kwargs):
1866        raise AttributeError("No constructor defined")
1867    __repr__ = _swig_repr
1868    def set_parent_pool(self, parent_pool=None):
1869      """Create a new proxy object for TYPE"""
1870      import libsvn.core, weakref
1871      self.__dict__["_parent_pool"] = \
1872        parent_pool or libsvn.core.application_pool;
1873      if self.__dict__["_parent_pool"]:
1874        self.__dict__["_is_valid"] = weakref.ref(
1875          self.__dict__["_parent_pool"]._is_valid)
1876
1877    def assert_valid(self):
1878      """Assert that this object is using valid pool memory"""
1879      if "_is_valid" in self.__dict__:
1880        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1881
1882    def _retrieve_swig_value(self, name, value):
1883    # If we got back a different object than we have cached, we need to copy
1884    # all our metadata into it, so that it looks identical to the one
1885    # originally set.
1886      members = self.__dict__.get('_members')
1887      if members is not None and name in members:
1888        _copy_metadata_deep(value, members[name])
1889
1890    # Verify that the new object is good
1891      _assert_valid_deep(value)
1892
1893      return value
1894
1895    # Attribute access must be intercepted to ensure that objects coming from
1896    # read attribute access match those that are set with write attribute access.
1897    # Specifically the metadata, such as the associated apr_pool object, should
1898    # match the originally assigned object.
1899    #
1900    # For classic classes it is enough to use __getattr__ to intercept swig
1901    # derived attributes. However, with new style classes SWIG makes use of
1902    # descriptors which mean that __getattr__ is never called. Therefore,
1903    # __getattribute__ must be used for the interception.
1904
1905    if _newclass:
1906      def __getattribute__(self, name):
1907        """Manage access to all attributes of this object."""
1908
1909    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
1910    # items directly present in __dict__
1911        mydict = object.__getattribute__(self, '__dict__')
1912
1913        if name == "__dict__":
1914          return mydict
1915
1916        if name in mydict:
1917          return mydict[name]
1918
1919        object.__getattribute__(self, 'assert_valid')()
1920
1921        value = _get_instance_attr(self, name)
1922        fn = object.__getattribute__(self, '_retrieve_swig_value')
1923        return fn(name, value)
1924    else:
1925      def __getattr__(self, name):
1926        """Get an attribute from this object"""
1927        self.assert_valid()
1928
1929        value = _swig_getattr(self, self.__class__, name)
1930
1931        return self._retrieve_swig_value(name, value)
1932
1933    def __setattr__(self, name, value):
1934      """Set an attribute on this object"""
1935      self.assert_valid()
1936
1937    # Save a copy of the object, so that the garbage
1938    # collector won't kill the object while it's in
1939    # SWIG-land
1940      self.__dict__.setdefault("_members",{})[name] = value
1941
1942      return _set_instance_attr(self, name, value)
1943
1944
1945    def __call__(self, *args):
1946      return svn_repos_invoke_authz_callback(self, *args)
1947
1948svn_repos_authz_callback_t_swigregister = _repos.svn_repos_authz_callback_t_swigregister
1949svn_repos_authz_callback_t_swigregister(svn_repos_authz_callback_t)
1950
1951class svn_repos_notify_func_t(object):
1952    """Proxy of C svn_repos_notify_func_t struct."""
1953
1954    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1955
1956    def __init__(self, *args, **kwargs):
1957        raise AttributeError("No constructor defined")
1958    __repr__ = _swig_repr
1959    def set_parent_pool(self, parent_pool=None):
1960      """Create a new proxy object for TYPE"""
1961      import libsvn.core, weakref
1962      self.__dict__["_parent_pool"] = \
1963        parent_pool or libsvn.core.application_pool;
1964      if self.__dict__["_parent_pool"]:
1965        self.__dict__["_is_valid"] = weakref.ref(
1966          self.__dict__["_parent_pool"]._is_valid)
1967
1968    def assert_valid(self):
1969      """Assert that this object is using valid pool memory"""
1970      if "_is_valid" in self.__dict__:
1971        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
1972
1973    def _retrieve_swig_value(self, name, value):
1974    # If we got back a different object than we have cached, we need to copy
1975    # all our metadata into it, so that it looks identical to the one
1976    # originally set.
1977      members = self.__dict__.get('_members')
1978      if members is not None and name in members:
1979        _copy_metadata_deep(value, members[name])
1980
1981    # Verify that the new object is good
1982      _assert_valid_deep(value)
1983
1984      return value
1985
1986    # Attribute access must be intercepted to ensure that objects coming from
1987    # read attribute access match those that are set with write attribute access.
1988    # Specifically the metadata, such as the associated apr_pool object, should
1989    # match the originally assigned object.
1990    #
1991    # For classic classes it is enough to use __getattr__ to intercept swig
1992    # derived attributes. However, with new style classes SWIG makes use of
1993    # descriptors which mean that __getattr__ is never called. Therefore,
1994    # __getattribute__ must be used for the interception.
1995
1996    if _newclass:
1997      def __getattribute__(self, name):
1998        """Manage access to all attributes of this object."""
1999
2000    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2001    # items directly present in __dict__
2002        mydict = object.__getattribute__(self, '__dict__')
2003
2004        if name == "__dict__":
2005          return mydict
2006
2007        if name in mydict:
2008          return mydict[name]
2009
2010        object.__getattribute__(self, 'assert_valid')()
2011
2012        value = _get_instance_attr(self, name)
2013        fn = object.__getattribute__(self, '_retrieve_swig_value')
2014        return fn(name, value)
2015    else:
2016      def __getattr__(self, name):
2017        """Get an attribute from this object"""
2018        self.assert_valid()
2019
2020        value = _swig_getattr(self, self.__class__, name)
2021
2022        return self._retrieve_swig_value(name, value)
2023
2024    def __setattr__(self, name, value):
2025      """Set an attribute on this object"""
2026      self.assert_valid()
2027
2028    # Save a copy of the object, so that the garbage
2029    # collector won't kill the object while it's in
2030    # SWIG-land
2031      self.__dict__.setdefault("_members",{})[name] = value
2032
2033      return _set_instance_attr(self, name, value)
2034
2035
2036    def __call__(self, *args):
2037      return svn_repos_invoke_notify_func(self, *args)
2038
2039svn_repos_notify_func_t_swigregister = _repos.svn_repos_notify_func_t_swigregister
2040svn_repos_notify_func_t_swigregister(svn_repos_notify_func_t)
2041
2042class svn_repos_dump_filter_func_t(object):
2043    """Proxy of C svn_repos_dump_filter_func_t struct."""
2044
2045    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2046
2047    def __init__(self, *args, **kwargs):
2048        raise AttributeError("No constructor defined")
2049    __repr__ = _swig_repr
2050    def set_parent_pool(self, parent_pool=None):
2051      """Create a new proxy object for TYPE"""
2052      import libsvn.core, weakref
2053      self.__dict__["_parent_pool"] = \
2054        parent_pool or libsvn.core.application_pool;
2055      if self.__dict__["_parent_pool"]:
2056        self.__dict__["_is_valid"] = weakref.ref(
2057          self.__dict__["_parent_pool"]._is_valid)
2058
2059    def assert_valid(self):
2060      """Assert that this object is using valid pool memory"""
2061      if "_is_valid" in self.__dict__:
2062        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2063
2064    def _retrieve_swig_value(self, name, value):
2065    # If we got back a different object than we have cached, we need to copy
2066    # all our metadata into it, so that it looks identical to the one
2067    # originally set.
2068      members = self.__dict__.get('_members')
2069      if members is not None and name in members:
2070        _copy_metadata_deep(value, members[name])
2071
2072    # Verify that the new object is good
2073      _assert_valid_deep(value)
2074
2075      return value
2076
2077    # Attribute access must be intercepted to ensure that objects coming from
2078    # read attribute access match those that are set with write attribute access.
2079    # Specifically the metadata, such as the associated apr_pool object, should
2080    # match the originally assigned object.
2081    #
2082    # For classic classes it is enough to use __getattr__ to intercept swig
2083    # derived attributes. However, with new style classes SWIG makes use of
2084    # descriptors which mean that __getattr__ is never called. Therefore,
2085    # __getattribute__ must be used for the interception.
2086
2087    if _newclass:
2088      def __getattribute__(self, name):
2089        """Manage access to all attributes of this object."""
2090
2091    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2092    # items directly present in __dict__
2093        mydict = object.__getattribute__(self, '__dict__')
2094
2095        if name == "__dict__":
2096          return mydict
2097
2098        if name in mydict:
2099          return mydict[name]
2100
2101        object.__getattribute__(self, 'assert_valid')()
2102
2103        value = _get_instance_attr(self, name)
2104        fn = object.__getattribute__(self, '_retrieve_swig_value')
2105        return fn(name, value)
2106    else:
2107      def __getattr__(self, name):
2108        """Get an attribute from this object"""
2109        self.assert_valid()
2110
2111        value = _swig_getattr(self, self.__class__, name)
2112
2113        return self._retrieve_swig_value(name, value)
2114
2115    def __setattr__(self, name, value):
2116      """Set an attribute on this object"""
2117      self.assert_valid()
2118
2119    # Save a copy of the object, so that the garbage
2120    # collector won't kill the object while it's in
2121    # SWIG-land
2122      self.__dict__.setdefault("_members",{})[name] = value
2123
2124      return _set_instance_attr(self, name, value)
2125
2126
2127    def __call__(self, *args):
2128      return svn_repos_invoke_dump_filter_func(self, *args)
2129
2130svn_repos_dump_filter_func_t_swigregister = _repos.svn_repos_dump_filter_func_t_swigregister
2131svn_repos_dump_filter_func_t_swigregister(svn_repos_dump_filter_func_t)
2132
2133class svn_repos_freeze_func_t(object):
2134    """Proxy of C svn_repos_freeze_func_t struct."""
2135
2136    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2137
2138    def __init__(self, *args, **kwargs):
2139        raise AttributeError("No constructor defined")
2140    __repr__ = _swig_repr
2141    def set_parent_pool(self, parent_pool=None):
2142      """Create a new proxy object for TYPE"""
2143      import libsvn.core, weakref
2144      self.__dict__["_parent_pool"] = \
2145        parent_pool or libsvn.core.application_pool;
2146      if self.__dict__["_parent_pool"]:
2147        self.__dict__["_is_valid"] = weakref.ref(
2148          self.__dict__["_parent_pool"]._is_valid)
2149
2150    def assert_valid(self):
2151      """Assert that this object is using valid pool memory"""
2152      if "_is_valid" in self.__dict__:
2153        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2154
2155    def _retrieve_swig_value(self, name, value):
2156    # If we got back a different object than we have cached, we need to copy
2157    # all our metadata into it, so that it looks identical to the one
2158    # originally set.
2159      members = self.__dict__.get('_members')
2160      if members is not None and name in members:
2161        _copy_metadata_deep(value, members[name])
2162
2163    # Verify that the new object is good
2164      _assert_valid_deep(value)
2165
2166      return value
2167
2168    # Attribute access must be intercepted to ensure that objects coming from
2169    # read attribute access match those that are set with write attribute access.
2170    # Specifically the metadata, such as the associated apr_pool object, should
2171    # match the originally assigned object.
2172    #
2173    # For classic classes it is enough to use __getattr__ to intercept swig
2174    # derived attributes. However, with new style classes SWIG makes use of
2175    # descriptors which mean that __getattr__ is never called. Therefore,
2176    # __getattribute__ must be used for the interception.
2177
2178    if _newclass:
2179      def __getattribute__(self, name):
2180        """Manage access to all attributes of this object."""
2181
2182    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2183    # items directly present in __dict__
2184        mydict = object.__getattribute__(self, '__dict__')
2185
2186        if name == "__dict__":
2187          return mydict
2188
2189        if name in mydict:
2190          return mydict[name]
2191
2192        object.__getattribute__(self, 'assert_valid')()
2193
2194        value = _get_instance_attr(self, name)
2195        fn = object.__getattribute__(self, '_retrieve_swig_value')
2196        return fn(name, value)
2197    else:
2198      def __getattr__(self, name):
2199        """Get an attribute from this object"""
2200        self.assert_valid()
2201
2202        value = _swig_getattr(self, self.__class__, name)
2203
2204        return self._retrieve_swig_value(name, value)
2205
2206    def __setattr__(self, name, value):
2207      """Set an attribute on this object"""
2208      self.assert_valid()
2209
2210    # Save a copy of the object, so that the garbage
2211    # collector won't kill the object while it's in
2212    # SWIG-land
2213      self.__dict__.setdefault("_members",{})[name] = value
2214
2215      return _set_instance_attr(self, name, value)
2216
2217
2218    def __call__(self, *args):
2219      return svn_repos_invoke_freeze_func(self, *args)
2220
2221svn_repos_freeze_func_t_swigregister = _repos.svn_repos_freeze_func_t_swigregister
2222svn_repos_freeze_func_t_swigregister(svn_repos_freeze_func_t)
2223
2224class svn_repos_history_func_t(object):
2225    """Proxy of C svn_repos_history_func_t struct."""
2226
2227    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2228
2229    def __init__(self, *args, **kwargs):
2230        raise AttributeError("No constructor defined")
2231    __repr__ = _swig_repr
2232    def set_parent_pool(self, parent_pool=None):
2233      """Create a new proxy object for TYPE"""
2234      import libsvn.core, weakref
2235      self.__dict__["_parent_pool"] = \
2236        parent_pool or libsvn.core.application_pool;
2237      if self.__dict__["_parent_pool"]:
2238        self.__dict__["_is_valid"] = weakref.ref(
2239          self.__dict__["_parent_pool"]._is_valid)
2240
2241    def assert_valid(self):
2242      """Assert that this object is using valid pool memory"""
2243      if "_is_valid" in self.__dict__:
2244        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2245
2246    def _retrieve_swig_value(self, name, value):
2247    # If we got back a different object than we have cached, we need to copy
2248    # all our metadata into it, so that it looks identical to the one
2249    # originally set.
2250      members = self.__dict__.get('_members')
2251      if members is not None and name in members:
2252        _copy_metadata_deep(value, members[name])
2253
2254    # Verify that the new object is good
2255      _assert_valid_deep(value)
2256
2257      return value
2258
2259    # Attribute access must be intercepted to ensure that objects coming from
2260    # read attribute access match those that are set with write attribute access.
2261    # Specifically the metadata, such as the associated apr_pool object, should
2262    # match the originally assigned object.
2263    #
2264    # For classic classes it is enough to use __getattr__ to intercept swig
2265    # derived attributes. However, with new style classes SWIG makes use of
2266    # descriptors which mean that __getattr__ is never called. Therefore,
2267    # __getattribute__ must be used for the interception.
2268
2269    if _newclass:
2270      def __getattribute__(self, name):
2271        """Manage access to all attributes of this object."""
2272
2273    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2274    # items directly present in __dict__
2275        mydict = object.__getattribute__(self, '__dict__')
2276
2277        if name == "__dict__":
2278          return mydict
2279
2280        if name in mydict:
2281          return mydict[name]
2282
2283        object.__getattribute__(self, 'assert_valid')()
2284
2285        value = _get_instance_attr(self, name)
2286        fn = object.__getattribute__(self, '_retrieve_swig_value')
2287        return fn(name, value)
2288    else:
2289      def __getattr__(self, name):
2290        """Get an attribute from this object"""
2291        self.assert_valid()
2292
2293        value = _swig_getattr(self, self.__class__, name)
2294
2295        return self._retrieve_swig_value(name, value)
2296
2297    def __setattr__(self, name, value):
2298      """Set an attribute on this object"""
2299      self.assert_valid()
2300
2301    # Save a copy of the object, so that the garbage
2302    # collector won't kill the object while it's in
2303    # SWIG-land
2304      self.__dict__.setdefault("_members",{})[name] = value
2305
2306      return _set_instance_attr(self, name, value)
2307
2308
2309    def __call__(self, *args):
2310      return svn_repos_invoke_history_func(self, *args)
2311
2312svn_repos_history_func_t_swigregister = _repos.svn_repos_history_func_t_swigregister
2313svn_repos_history_func_t_swigregister(svn_repos_history_func_t)
2314
2315class svn_repos_path_change_receiver_t(object):
2316    """Proxy of C svn_repos_path_change_receiver_t struct."""
2317
2318    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2319
2320    def __init__(self, *args, **kwargs):
2321        raise AttributeError("No constructor defined")
2322    __repr__ = _swig_repr
2323    def set_parent_pool(self, parent_pool=None):
2324      """Create a new proxy object for TYPE"""
2325      import libsvn.core, weakref
2326      self.__dict__["_parent_pool"] = \
2327        parent_pool or libsvn.core.application_pool;
2328      if self.__dict__["_parent_pool"]:
2329        self.__dict__["_is_valid"] = weakref.ref(
2330          self.__dict__["_parent_pool"]._is_valid)
2331
2332    def assert_valid(self):
2333      """Assert that this object is using valid pool memory"""
2334      if "_is_valid" in self.__dict__:
2335        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2336
2337    def _retrieve_swig_value(self, name, value):
2338    # If we got back a different object than we have cached, we need to copy
2339    # all our metadata into it, so that it looks identical to the one
2340    # originally set.
2341      members = self.__dict__.get('_members')
2342      if members is not None and name in members:
2343        _copy_metadata_deep(value, members[name])
2344
2345    # Verify that the new object is good
2346      _assert_valid_deep(value)
2347
2348      return value
2349
2350    # Attribute access must be intercepted to ensure that objects coming from
2351    # read attribute access match those that are set with write attribute access.
2352    # Specifically the metadata, such as the associated apr_pool object, should
2353    # match the originally assigned object.
2354    #
2355    # For classic classes it is enough to use __getattr__ to intercept swig
2356    # derived attributes. However, with new style classes SWIG makes use of
2357    # descriptors which mean that __getattr__ is never called. Therefore,
2358    # __getattribute__ must be used for the interception.
2359
2360    if _newclass:
2361      def __getattribute__(self, name):
2362        """Manage access to all attributes of this object."""
2363
2364    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2365    # items directly present in __dict__
2366        mydict = object.__getattribute__(self, '__dict__')
2367
2368        if name == "__dict__":
2369          return mydict
2370
2371        if name in mydict:
2372          return mydict[name]
2373
2374        object.__getattribute__(self, 'assert_valid')()
2375
2376        value = _get_instance_attr(self, name)
2377        fn = object.__getattribute__(self, '_retrieve_swig_value')
2378        return fn(name, value)
2379    else:
2380      def __getattr__(self, name):
2381        """Get an attribute from this object"""
2382        self.assert_valid()
2383
2384        value = _swig_getattr(self, self.__class__, name)
2385
2386        return self._retrieve_swig_value(name, value)
2387
2388    def __setattr__(self, name, value):
2389      """Set an attribute on this object"""
2390      self.assert_valid()
2391
2392    # Save a copy of the object, so that the garbage
2393    # collector won't kill the object while it's in
2394    # SWIG-land
2395      self.__dict__.setdefault("_members",{})[name] = value
2396
2397      return _set_instance_attr(self, name, value)
2398
2399
2400    def __call__(self, *args):
2401      return svn_repos_invoke_path_change_receiver(self, *args)
2402
2403svn_repos_path_change_receiver_t_swigregister = _repos.svn_repos_path_change_receiver_t_swigregister
2404svn_repos_path_change_receiver_t_swigregister(svn_repos_path_change_receiver_t)
2405
2406class svn_repos_log_entry_receiver_t(object):
2407    """Proxy of C svn_repos_log_entry_receiver_t struct."""
2408
2409    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2410
2411    def __init__(self, *args, **kwargs):
2412        raise AttributeError("No constructor defined")
2413    __repr__ = _swig_repr
2414    def set_parent_pool(self, parent_pool=None):
2415      """Create a new proxy object for TYPE"""
2416      import libsvn.core, weakref
2417      self.__dict__["_parent_pool"] = \
2418        parent_pool or libsvn.core.application_pool;
2419      if self.__dict__["_parent_pool"]:
2420        self.__dict__["_is_valid"] = weakref.ref(
2421          self.__dict__["_parent_pool"]._is_valid)
2422
2423    def assert_valid(self):
2424      """Assert that this object is using valid pool memory"""
2425      if "_is_valid" in self.__dict__:
2426        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2427
2428    def _retrieve_swig_value(self, name, value):
2429    # If we got back a different object than we have cached, we need to copy
2430    # all our metadata into it, so that it looks identical to the one
2431    # originally set.
2432      members = self.__dict__.get('_members')
2433      if members is not None and name in members:
2434        _copy_metadata_deep(value, members[name])
2435
2436    # Verify that the new object is good
2437      _assert_valid_deep(value)
2438
2439      return value
2440
2441    # Attribute access must be intercepted to ensure that objects coming from
2442    # read attribute access match those that are set with write attribute access.
2443    # Specifically the metadata, such as the associated apr_pool object, should
2444    # match the originally assigned object.
2445    #
2446    # For classic classes it is enough to use __getattr__ to intercept swig
2447    # derived attributes. However, with new style classes SWIG makes use of
2448    # descriptors which mean that __getattr__ is never called. Therefore,
2449    # __getattribute__ must be used for the interception.
2450
2451    if _newclass:
2452      def __getattribute__(self, name):
2453        """Manage access to all attributes of this object."""
2454
2455    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2456    # items directly present in __dict__
2457        mydict = object.__getattribute__(self, '__dict__')
2458
2459        if name == "__dict__":
2460          return mydict
2461
2462        if name in mydict:
2463          return mydict[name]
2464
2465        object.__getattribute__(self, 'assert_valid')()
2466
2467        value = _get_instance_attr(self, name)
2468        fn = object.__getattribute__(self, '_retrieve_swig_value')
2469        return fn(name, value)
2470    else:
2471      def __getattr__(self, name):
2472        """Get an attribute from this object"""
2473        self.assert_valid()
2474
2475        value = _swig_getattr(self, self.__class__, name)
2476
2477        return self._retrieve_swig_value(name, value)
2478
2479    def __setattr__(self, name, value):
2480      """Set an attribute on this object"""
2481      self.assert_valid()
2482
2483    # Save a copy of the object, so that the garbage
2484    # collector won't kill the object while it's in
2485    # SWIG-land
2486      self.__dict__.setdefault("_members",{})[name] = value
2487
2488      return _set_instance_attr(self, name, value)
2489
2490
2491    def __call__(self, *args):
2492      return svn_repos_invoke_log_entry_receiver(self, *args)
2493
2494svn_repos_log_entry_receiver_t_swigregister = _repos.svn_repos_log_entry_receiver_t_swigregister
2495svn_repos_log_entry_receiver_t_swigregister(svn_repos_log_entry_receiver_t)
2496
2497class svn_repos_file_rev_handler_t(object):
2498    """Proxy of C svn_repos_file_rev_handler_t struct."""
2499
2500    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2501
2502    def __init__(self, *args, **kwargs):
2503        raise AttributeError("No constructor defined")
2504    __repr__ = _swig_repr
2505    def set_parent_pool(self, parent_pool=None):
2506      """Create a new proxy object for TYPE"""
2507      import libsvn.core, weakref
2508      self.__dict__["_parent_pool"] = \
2509        parent_pool or libsvn.core.application_pool;
2510      if self.__dict__["_parent_pool"]:
2511        self.__dict__["_is_valid"] = weakref.ref(
2512          self.__dict__["_parent_pool"]._is_valid)
2513
2514    def assert_valid(self):
2515      """Assert that this object is using valid pool memory"""
2516      if "_is_valid" in self.__dict__:
2517        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2518
2519    def _retrieve_swig_value(self, name, value):
2520    # If we got back a different object than we have cached, we need to copy
2521    # all our metadata into it, so that it looks identical to the one
2522    # originally set.
2523      members = self.__dict__.get('_members')
2524      if members is not None and name in members:
2525        _copy_metadata_deep(value, members[name])
2526
2527    # Verify that the new object is good
2528      _assert_valid_deep(value)
2529
2530      return value
2531
2532    # Attribute access must be intercepted to ensure that objects coming from
2533    # read attribute access match those that are set with write attribute access.
2534    # Specifically the metadata, such as the associated apr_pool object, should
2535    # match the originally assigned object.
2536    #
2537    # For classic classes it is enough to use __getattr__ to intercept swig
2538    # derived attributes. However, with new style classes SWIG makes use of
2539    # descriptors which mean that __getattr__ is never called. Therefore,
2540    # __getattribute__ must be used for the interception.
2541
2542    if _newclass:
2543      def __getattribute__(self, name):
2544        """Manage access to all attributes of this object."""
2545
2546    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2547    # items directly present in __dict__
2548        mydict = object.__getattribute__(self, '__dict__')
2549
2550        if name == "__dict__":
2551          return mydict
2552
2553        if name in mydict:
2554          return mydict[name]
2555
2556        object.__getattribute__(self, 'assert_valid')()
2557
2558        value = _get_instance_attr(self, name)
2559        fn = object.__getattribute__(self, '_retrieve_swig_value')
2560        return fn(name, value)
2561    else:
2562      def __getattr__(self, name):
2563        """Get an attribute from this object"""
2564        self.assert_valid()
2565
2566        value = _swig_getattr(self, self.__class__, name)
2567
2568        return self._retrieve_swig_value(name, value)
2569
2570    def __setattr__(self, name, value):
2571      """Set an attribute on this object"""
2572      self.assert_valid()
2573
2574    # Save a copy of the object, so that the garbage
2575    # collector won't kill the object while it's in
2576    # SWIG-land
2577      self.__dict__.setdefault("_members",{})[name] = value
2578
2579      return _set_instance_attr(self, name, value)
2580
2581
2582    def __call__(self, *args):
2583      return svn_repos_invoke_file_rev_handler(self, *args)
2584
2585svn_repos_file_rev_handler_t_swigregister = _repos.svn_repos_file_rev_handler_t_swigregister
2586svn_repos_file_rev_handler_t_swigregister(svn_repos_file_rev_handler_t)
2587
2588class svn_repos_verify_callback_t(object):
2589    """Proxy of C svn_repos_verify_callback_t struct."""
2590
2591    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2592
2593    def __init__(self, *args, **kwargs):
2594        raise AttributeError("No constructor defined")
2595    __repr__ = _swig_repr
2596    def set_parent_pool(self, parent_pool=None):
2597      """Create a new proxy object for TYPE"""
2598      import libsvn.core, weakref
2599      self.__dict__["_parent_pool"] = \
2600        parent_pool or libsvn.core.application_pool;
2601      if self.__dict__["_parent_pool"]:
2602        self.__dict__["_is_valid"] = weakref.ref(
2603          self.__dict__["_parent_pool"]._is_valid)
2604
2605    def assert_valid(self):
2606      """Assert that this object is using valid pool memory"""
2607      if "_is_valid" in self.__dict__:
2608        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2609
2610    def _retrieve_swig_value(self, name, value):
2611    # If we got back a different object than we have cached, we need to copy
2612    # all our metadata into it, so that it looks identical to the one
2613    # originally set.
2614      members = self.__dict__.get('_members')
2615      if members is not None and name in members:
2616        _copy_metadata_deep(value, members[name])
2617
2618    # Verify that the new object is good
2619      _assert_valid_deep(value)
2620
2621      return value
2622
2623    # Attribute access must be intercepted to ensure that objects coming from
2624    # read attribute access match those that are set with write attribute access.
2625    # Specifically the metadata, such as the associated apr_pool object, should
2626    # match the originally assigned object.
2627    #
2628    # For classic classes it is enough to use __getattr__ to intercept swig
2629    # derived attributes. However, with new style classes SWIG makes use of
2630    # descriptors which mean that __getattr__ is never called. Therefore,
2631    # __getattribute__ must be used for the interception.
2632
2633    if _newclass:
2634      def __getattribute__(self, name):
2635        """Manage access to all attributes of this object."""
2636
2637    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2638    # items directly present in __dict__
2639        mydict = object.__getattribute__(self, '__dict__')
2640
2641        if name == "__dict__":
2642          return mydict
2643
2644        if name in mydict:
2645          return mydict[name]
2646
2647        object.__getattribute__(self, 'assert_valid')()
2648
2649        value = _get_instance_attr(self, name)
2650        fn = object.__getattribute__(self, '_retrieve_swig_value')
2651        return fn(name, value)
2652    else:
2653      def __getattr__(self, name):
2654        """Get an attribute from this object"""
2655        self.assert_valid()
2656
2657        value = _swig_getattr(self, self.__class__, name)
2658
2659        return self._retrieve_swig_value(name, value)
2660
2661    def __setattr__(self, name, value):
2662      """Set an attribute on this object"""
2663      self.assert_valid()
2664
2665    # Save a copy of the object, so that the garbage
2666    # collector won't kill the object while it's in
2667    # SWIG-land
2668      self.__dict__.setdefault("_members",{})[name] = value
2669
2670      return _set_instance_attr(self, name, value)
2671
2672
2673    def __call__(self, *args):
2674      return svn_repos_invoke_verify_callback(self, *args)
2675
2676svn_repos_verify_callback_t_swigregister = _repos.svn_repos_verify_callback_t_swigregister
2677svn_repos_verify_callback_t_swigregister(svn_repos_verify_callback_t)
2678
2679class svn_repos_authz_warning_func_t(object):
2680    """Proxy of C svn_repos_authz_warning_func_t struct."""
2681
2682    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2683
2684    def __init__(self, *args, **kwargs):
2685        raise AttributeError("No constructor defined")
2686    __repr__ = _swig_repr
2687    def set_parent_pool(self, parent_pool=None):
2688      """Create a new proxy object for TYPE"""
2689      import libsvn.core, weakref
2690      self.__dict__["_parent_pool"] = \
2691        parent_pool or libsvn.core.application_pool;
2692      if self.__dict__["_parent_pool"]:
2693        self.__dict__["_is_valid"] = weakref.ref(
2694          self.__dict__["_parent_pool"]._is_valid)
2695
2696    def assert_valid(self):
2697      """Assert that this object is using valid pool memory"""
2698      if "_is_valid" in self.__dict__:
2699        assert self.__dict__["_is_valid"](), "Variable has already been deleted"
2700
2701    def _retrieve_swig_value(self, name, value):
2702    # If we got back a different object than we have cached, we need to copy
2703    # all our metadata into it, so that it looks identical to the one
2704    # originally set.
2705      members = self.__dict__.get('_members')
2706      if members is not None and name in members:
2707        _copy_metadata_deep(value, members[name])
2708
2709    # Verify that the new object is good
2710      _assert_valid_deep(value)
2711
2712      return value
2713
2714    # Attribute access must be intercepted to ensure that objects coming from
2715    # read attribute access match those that are set with write attribute access.
2716    # Specifically the metadata, such as the associated apr_pool object, should
2717    # match the originally assigned object.
2718    #
2719    # For classic classes it is enough to use __getattr__ to intercept swig
2720    # derived attributes. However, with new style classes SWIG makes use of
2721    # descriptors which mean that __getattr__ is never called. Therefore,
2722    # __getattribute__ must be used for the interception.
2723
2724    if _newclass:
2725      def __getattribute__(self, name):
2726        """Manage access to all attributes of this object."""
2727
2728    # Start by mimicing __getattr__ behavior: immediately return __dict__ or
2729    # items directly present in __dict__
2730        mydict = object.__getattribute__(self, '__dict__')
2731
2732        if name == "__dict__":
2733          return mydict
2734
2735        if name in mydict:
2736          return mydict[name]
2737
2738        object.__getattribute__(self, 'assert_valid')()
2739
2740        value = _get_instance_attr(self, name)
2741        fn = object.__getattribute__(self, '_retrieve_swig_value')
2742        return fn(name, value)
2743    else:
2744      def __getattr__(self, name):
2745        """Get an attribute from this object"""
2746        self.assert_valid()
2747
2748        value = _swig_getattr(self, self.__class__, name)
2749
2750        return self._retrieve_swig_value(name, value)
2751
2752    def __setattr__(self, name, value):
2753      """Set an attribute on this object"""
2754      self.assert_valid()
2755
2756    # Save a copy of the object, so that the garbage
2757    # collector won't kill the object while it's in
2758    # SWIG-land
2759      self.__dict__.setdefault("_members",{})[name] = value
2760
2761      return _set_instance_attr(self, name, value)
2762
2763
2764    def __call__(self, *args):
2765      return svn_repos_invoke_authz_warning_func(self, *args)
2766
2767svn_repos_authz_warning_func_t_swigregister = _repos.svn_repos_authz_warning_func_t_swigregister
2768svn_repos_authz_warning_func_t_swigregister(svn_repos_authz_warning_func_t)
2769
2770
2771
2772