summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/python/ra.py
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
commitcf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch)
treeda27775a2161723ef342e91af41a8b51fedef405 /subversion/bindings/swig/python/ra.py
parentbb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff)
downloadsubversion-tarball-master.tar.gz
Diffstat (limited to 'subversion/bindings/swig/python/ra.py')
-rw-r--r--subversion/bindings/swig/python/ra.py470
1 files changed, 331 insertions, 139 deletions
diff --git a/subversion/bindings/swig/python/ra.py b/subversion/bindings/swig/python/ra.py
index d43ae5e..6fa76da 100644
--- a/subversion/bindings/swig/python/ra.py
+++ b/subversion/bindings/swig/python/ra.py
@@ -1,11 +1,13 @@
# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 2.0.9
+# Version 2.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
+
+
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
@@ -108,7 +110,7 @@ class svn_ra_reporter3_t:
__swig_setmethods__["abort_report"] = _ra.svn_ra_reporter3_t_abort_report_set
__swig_getmethods__["abort_report"] = _ra.svn_ra_reporter3_t_abort_report_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_reporter3_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -127,13 +129,13 @@ class svn_ra_reporter3_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -142,9 +144,9 @@ class svn_ra_reporter3_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -192,7 +194,7 @@ class svn_ra_reporter2_t:
__swig_setmethods__["abort_report"] = _ra.svn_ra_reporter2_t_abort_report_set
__swig_getmethods__["abort_report"] = _ra.svn_ra_reporter2_t_abort_report_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_reporter2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -211,13 +213,13 @@ class svn_ra_reporter2_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -226,9 +228,9 @@ class svn_ra_reporter2_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -276,7 +278,7 @@ class svn_ra_reporter_t:
__swig_setmethods__["abort_report"] = _ra.svn_ra_reporter_t_abort_report_set
__swig_getmethods__["abort_report"] = _ra.svn_ra_reporter_t_abort_report_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_reporter_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -295,13 +297,13 @@ class svn_ra_reporter_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -310,9 +312,9 @@ class svn_ra_reporter_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -371,8 +373,14 @@ class svn_ra_callbacks2_t:
__swig_getmethods__["get_client_string"] = _ra.svn_ra_callbacks2_t_get_client_string_get
__swig_setmethods__["get_wc_contents"] = _ra.svn_ra_callbacks2_t_get_wc_contents_set
__swig_getmethods__["get_wc_contents"] = _ra.svn_ra_callbacks2_t_get_wc_contents_get
+ __swig_setmethods__["check_tunnel_func"] = _ra.svn_ra_callbacks2_t_check_tunnel_func_set
+ __swig_getmethods__["check_tunnel_func"] = _ra.svn_ra_callbacks2_t_check_tunnel_func_get
+ __swig_setmethods__["open_tunnel_func"] = _ra.svn_ra_callbacks2_t_open_tunnel_func_set
+ __swig_getmethods__["open_tunnel_func"] = _ra.svn_ra_callbacks2_t_open_tunnel_func_get
+ __swig_setmethods__["tunnel_baton"] = _ra.svn_ra_callbacks2_t_tunnel_baton_set
+ __swig_getmethods__["tunnel_baton"] = _ra.svn_ra_callbacks2_t_tunnel_baton_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_callbacks2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -391,13 +399,13 @@ class svn_ra_callbacks2_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -406,9 +414,9 @@ class svn_ra_callbacks2_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -446,7 +454,7 @@ class svn_ra_callbacks_t:
__swig_setmethods__["invalidate_wc_props"] = _ra.svn_ra_callbacks_t_invalidate_wc_props_set
__swig_getmethods__["invalidate_wc_props"] = _ra.svn_ra_callbacks_t_invalidate_wc_props_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_callbacks_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -465,13 +473,13 @@ class svn_ra_callbacks_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -480,9 +488,9 @@ class svn_ra_callbacks_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -915,7 +923,7 @@ class svn_ra_plugin_t:
__swig_setmethods__["get_version"] = _ra.svn_ra_plugin_t_get_version_set
__swig_getmethods__["get_version"] = _ra.svn_ra_plugin_t_get_version_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_plugin_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -934,13 +942,13 @@ class svn_ra_plugin_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -949,9 +957,9 @@ class svn_ra_plugin_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1044,7 +1052,7 @@ class svn_ra_session_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_session_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1063,13 +1071,13 @@ class svn_ra_session_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1078,9 +1086,9 @@ class svn_ra_session_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1380,6 +1388,22 @@ def svn_ra_invoke_replay_revfinish_callback(*args):
"""
return _ra.svn_ra_invoke_replay_revfinish_callback(*args)
+def svn_ra_invoke_check_tunnel_func(*args):
+ """svn_ra_invoke_check_tunnel_func(svn_ra_check_tunnel_func_t _obj, void * tunnel_baton, char const * tunnel_name) -> svn_boolean_t"""
+ return _ra.svn_ra_invoke_check_tunnel_func(*args)
+
+def svn_ra_invoke_close_tunnel_func(*args):
+ """svn_ra_invoke_close_tunnel_func(svn_ra_close_tunnel_func_t _obj, void * close_baton, void * tunnel_baton)"""
+ return _ra.svn_ra_invoke_close_tunnel_func(*args)
+
+def svn_ra_invoke_open_tunnel_func(*args):
+ """
+ svn_ra_invoke_open_tunnel_func(svn_ra_open_tunnel_func_t _obj, void * tunnel_baton, char const * tunnel_name, char const * user,
+ char const * hostname, int port, svn_cancel_func_t cancel_func,
+ apr_pool_t pool) -> svn_error_t
+ """
+ return _ra.svn_ra_invoke_open_tunnel_func(*args)
+
def svn_ra_invoke_init_func(*args):
"""svn_ra_invoke_init_func(svn_ra_init_func_t _obj, int abi_version, apr_pool_t pool, apr_hash_t hash) -> svn_error_t"""
return _ra.svn_ra_invoke_init_func(*args)
@@ -1392,7 +1416,7 @@ class svn_ra_get_wc_prop_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_get_wc_prop_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1411,13 +1435,13 @@ class svn_ra_get_wc_prop_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1426,9 +1450,9 @@ class svn_ra_get_wc_prop_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1448,7 +1472,7 @@ class svn_ra_set_wc_prop_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_set_wc_prop_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1467,13 +1491,13 @@ class svn_ra_set_wc_prop_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1482,9 +1506,9 @@ class svn_ra_set_wc_prop_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1504,7 +1528,7 @@ class svn_ra_push_wc_prop_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_push_wc_prop_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1523,13 +1547,13 @@ class svn_ra_push_wc_prop_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1538,9 +1562,9 @@ class svn_ra_push_wc_prop_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1560,7 +1584,7 @@ class svn_ra_invalidate_wc_props_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_invalidate_wc_props_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1579,13 +1603,13 @@ class svn_ra_invalidate_wc_props_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1594,9 +1618,9 @@ class svn_ra_invalidate_wc_props_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1616,7 +1640,7 @@ class svn_ra_get_wc_contents_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_get_wc_contents_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1635,13 +1659,13 @@ class svn_ra_get_wc_contents_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1650,9 +1674,9 @@ class svn_ra_get_wc_contents_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1672,7 +1696,7 @@ class svn_ra_get_latest_revnum_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_get_latest_revnum_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1691,13 +1715,13 @@ class svn_ra_get_latest_revnum_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1706,9 +1730,9 @@ class svn_ra_get_latest_revnum_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1728,7 +1752,7 @@ class svn_ra_get_client_string_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_get_client_string_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1747,13 +1771,13 @@ class svn_ra_get_client_string_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1762,9 +1786,9 @@ class svn_ra_get_client_string_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1784,7 +1808,7 @@ class svn_ra_file_rev_handler_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_file_rev_handler_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1803,13 +1827,13 @@ class svn_ra_file_rev_handler_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1818,9 +1842,9 @@ class svn_ra_file_rev_handler_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1840,7 +1864,7 @@ class svn_ra_lock_callback_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_lock_callback_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1859,13 +1883,13 @@ class svn_ra_lock_callback_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1874,9 +1898,9 @@ class svn_ra_lock_callback_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1896,7 +1920,7 @@ class svn_ra_progress_notify_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_progress_notify_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1915,13 +1939,13 @@ class svn_ra_progress_notify_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1930,9 +1954,9 @@ class svn_ra_progress_notify_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -1952,7 +1976,7 @@ class svn_ra_replay_revstart_callback_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_replay_revstart_callback_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1971,13 +1995,13 @@ class svn_ra_replay_revstart_callback_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -1986,9 +2010,9 @@ class svn_ra_replay_revstart_callback_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -2008,7 +2032,63 @@ class svn_ra_replay_revfinish_callback_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_replay_revfinish_callback_t"""
+ """Create a new proxy object for TYPE"""
+ import libsvn.core, weakref
+ self.__dict__["_parent_pool"] = \
+ parent_pool or libsvn.core.application_pool;
+ if self.__dict__["_parent_pool"]:
+ self.__dict__["_is_valid"] = weakref.ref(
+ self.__dict__["_parent_pool"]._is_valid)
+
+ def assert_valid(self):
+ """Assert that this object is using valid pool memory"""
+ if "_is_valid" in self.__dict__:
+ assert self.__dict__["_is_valid"](), "Variable has already been deleted"
+
+ def __getattr__(self, name):
+ """Get an attribute from this object"""
+ self.assert_valid()
+
+ value = _swig_getattr(self, self.__class__, name)
+
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
+ members = self.__dict__.get("_members")
+ if members is not None:
+ _copy_metadata_deep(value, members.get(name))
+
+ # Verify that the new object is good
+ _assert_valid_deep(value)
+
+ return value
+
+ def __setattr__(self, name, value):
+ """Set an attribute on this object"""
+ self.assert_valid()
+
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
+ self.__dict__.setdefault("_members",{})[name] = value
+
+ return _swig_setattr(self, self.__class__, name, value)
+
+ def __call__(self, *args):
+ return svn_ra_invoke_replay_revfinish_callback(self, *args)
+
+svn_ra_replay_revfinish_callback_t_swigregister = _ra.svn_ra_replay_revfinish_callback_t_swigregister
+svn_ra_replay_revfinish_callback_t_swigregister(svn_ra_replay_revfinish_callback_t)
+
+class svn_ra_check_tunnel_func_t:
+ """Proxy of C svn_ra_check_tunnel_func_t struct"""
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, svn_ra_check_tunnel_func_t, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, svn_ra_check_tunnel_func_t, name)
+ def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
+ __repr__ = _swig_repr
+ def set_parent_pool(self, parent_pool=None):
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2027,13 +2107,69 @@ class svn_ra_replay_revfinish_callback_t:
value = _swig_getattr(self, self.__class__, name)
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
+ members = self.__dict__.get("_members")
+ if members is not None:
+ _copy_metadata_deep(value, members.get(name))
+
+ # Verify that the new object is good
+ _assert_valid_deep(value)
+
+ return value
+ def __setattr__(self, name, value):
+ """Set an attribute on this object"""
+ self.assert_valid()
+
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
+ self.__dict__.setdefault("_members",{})[name] = value
+
+ return _swig_setattr(self, self.__class__, name, value)
+
+ def __call__(self, *args):
+ return svn_ra_invoke_check_tunnel_func(self, *args)
+svn_ra_check_tunnel_func_t_swigregister = _ra.svn_ra_check_tunnel_func_t_swigregister
+svn_ra_check_tunnel_func_t_swigregister(svn_ra_check_tunnel_func_t)
+
+class svn_ra_close_tunnel_func_t:
+ """Proxy of C svn_ra_close_tunnel_func_t struct"""
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, svn_ra_close_tunnel_func_t, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, svn_ra_close_tunnel_func_t, name)
+ def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
+ __repr__ = _swig_repr
+ def set_parent_pool(self, parent_pool=None):
+ """Create a new proxy object for TYPE"""
+ import libsvn.core, weakref
+ self.__dict__["_parent_pool"] = \
+ parent_pool or libsvn.core.application_pool;
+ if self.__dict__["_parent_pool"]:
+ self.__dict__["_is_valid"] = weakref.ref(
+ self.__dict__["_parent_pool"]._is_valid)
+
+ def assert_valid(self):
+ """Assert that this object is using valid pool memory"""
+ if "_is_valid" in self.__dict__:
+ assert self.__dict__["_is_valid"](), "Variable has already been deleted"
+
+ def __getattr__(self, name):
+ """Get an attribute from this object"""
+ self.assert_valid()
+
+ value = _swig_getattr(self, self.__class__, name)
+
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -2042,18 +2178,74 @@ class svn_ra_replay_revfinish_callback_t:
"""Set an attribute on this object"""
self.assert_valid()
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
+ self.__dict__.setdefault("_members",{})[name] = value
+ return _swig_setattr(self, self.__class__, name, value)
+ def __call__(self, *args):
+ return svn_ra_invoke_close_tunnel_func(self, *args)
+
+svn_ra_close_tunnel_func_t_swigregister = _ra.svn_ra_close_tunnel_func_t_swigregister
+svn_ra_close_tunnel_func_t_swigregister(svn_ra_close_tunnel_func_t)
+class svn_ra_open_tunnel_func_t:
+ """Proxy of C svn_ra_open_tunnel_func_t struct"""
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, svn_ra_open_tunnel_func_t, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, svn_ra_open_tunnel_func_t, name)
+ def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
+ __repr__ = _swig_repr
+ def set_parent_pool(self, parent_pool=None):
+ """Create a new proxy object for TYPE"""
+ import libsvn.core, weakref
+ self.__dict__["_parent_pool"] = \
+ parent_pool or libsvn.core.application_pool;
+ if self.__dict__["_parent_pool"]:
+ self.__dict__["_is_valid"] = weakref.ref(
+ self.__dict__["_parent_pool"]._is_valid)
+
+ def assert_valid(self):
+ """Assert that this object is using valid pool memory"""
+ if "_is_valid" in self.__dict__:
+ assert self.__dict__["_is_valid"](), "Variable has already been deleted"
+
+ def __getattr__(self, name):
+ """Get an attribute from this object"""
+ self.assert_valid()
+
+ value = _swig_getattr(self, self.__class__, name)
+
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
+ members = self.__dict__.get("_members")
+ if members is not None:
+ _copy_metadata_deep(value, members.get(name))
+
+ # Verify that the new object is good
+ _assert_valid_deep(value)
+
+ return value
+
+ def __setattr__(self, name, value):
+ """Set an attribute on this object"""
+ self.assert_valid()
+
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
def __call__(self, *args):
- return svn_ra_invoke_replay_revfinish_callback(self, *args)
+ return svn_ra_invoke_open_tunnel_func(self, *args)
-svn_ra_replay_revfinish_callback_t_swigregister = _ra.svn_ra_replay_revfinish_callback_t_swigregister
-svn_ra_replay_revfinish_callback_t_swigregister(svn_ra_replay_revfinish_callback_t)
+svn_ra_open_tunnel_func_t_swigregister = _ra.svn_ra_open_tunnel_func_t_swigregister
+svn_ra_open_tunnel_func_t_swigregister(svn_ra_open_tunnel_func_t)
class svn_ra_init_func_t:
"""Proxy of C svn_ra_init_func_t struct"""
@@ -2064,7 +2256,7 @@ class svn_ra_init_func_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_ra_init_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2083,13 +2275,13 @@ class svn_ra_init_func_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -2098,9 +2290,9 @@ class svn_ra_init_func_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)