summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/python/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/swig/python/core.py')
-rw-r--r--subversion/bindings/swig/python/core.py1192
1 files changed, 686 insertions, 506 deletions
diff --git a/subversion/bindings/swig/python/core.py b/subversion/bindings/swig/python/core.py
index 19a2b17..6f46fce 100644
--- a/subversion/bindings/swig/python/core.py
+++ b/subversion/bindings/swig/python/core.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():
@@ -132,11 +134,13 @@ SVN_ERR_BAD_CHECKSUM_PARSE = _core.SVN_ERR_BAD_CHECKSUM_PARSE
SVN_ERR_BAD_TOKEN = _core.SVN_ERR_BAD_TOKEN
SVN_ERR_BAD_CHANGELIST_NAME = _core.SVN_ERR_BAD_CHANGELIST_NAME
SVN_ERR_BAD_ATOMIC = _core.SVN_ERR_BAD_ATOMIC
+SVN_ERR_BAD_COMPRESSION_METHOD = _core.SVN_ERR_BAD_COMPRESSION_METHOD
SVN_ERR_XML_ATTRIB_NOT_FOUND = _core.SVN_ERR_XML_ATTRIB_NOT_FOUND
SVN_ERR_XML_MISSING_ANCESTRY = _core.SVN_ERR_XML_MISSING_ANCESTRY
SVN_ERR_XML_UNKNOWN_ENCODING = _core.SVN_ERR_XML_UNKNOWN_ENCODING
SVN_ERR_XML_MALFORMED = _core.SVN_ERR_XML_MALFORMED
SVN_ERR_XML_UNESCAPABLE_DATA = _core.SVN_ERR_XML_UNESCAPABLE_DATA
+SVN_ERR_XML_UNEXPECTED_ELEMENT = _core.SVN_ERR_XML_UNEXPECTED_ELEMENT
SVN_ERR_IO_INCONSISTENT_EOL = _core.SVN_ERR_IO_INCONSISTENT_EOL
SVN_ERR_IO_UNKNOWN_EOL = _core.SVN_ERR_IO_UNKNOWN_EOL
SVN_ERR_IO_CORRUPT_EOL = _core.SVN_ERR_IO_CORRUPT_EOL
@@ -149,6 +153,7 @@ SVN_ERR_STREAM_UNEXPECTED_EOF = _core.SVN_ERR_STREAM_UNEXPECTED_EOF
SVN_ERR_STREAM_MALFORMED_DATA = _core.SVN_ERR_STREAM_MALFORMED_DATA
SVN_ERR_STREAM_UNRECOGNIZED_DATA = _core.SVN_ERR_STREAM_UNRECOGNIZED_DATA
SVN_ERR_STREAM_SEEK_NOT_SUPPORTED = _core.SVN_ERR_STREAM_SEEK_NOT_SUPPORTED
+SVN_ERR_STREAM_NOT_SUPPORTED = _core.SVN_ERR_STREAM_NOT_SUPPORTED
SVN_ERR_NODE_UNKNOWN_KIND = _core.SVN_ERR_NODE_UNKNOWN_KIND
SVN_ERR_NODE_UNEXPECTED_KIND = _core.SVN_ERR_NODE_UNEXPECTED_KIND
SVN_ERR_ENTRY_NOT_FOUND = _core.SVN_ERR_ENTRY_NOT_FOUND
@@ -253,6 +258,17 @@ SVN_ERR_FS_PROP_BASEVALUE_MISMATCH = _core.SVN_ERR_FS_PROP_BASEVALUE_MISMATCH
SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION = _core.SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION
SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE = _core.SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE
SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE = _core.SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE
+SVN_ERR_FS_MALFORMED_TXN_ID = _core.SVN_ERR_FS_MALFORMED_TXN_ID
+SVN_ERR_FS_INDEX_CORRUPTION = _core.SVN_ERR_FS_INDEX_CORRUPTION
+SVN_ERR_FS_INDEX_REVISION = _core.SVN_ERR_FS_INDEX_REVISION
+SVN_ERR_FS_INDEX_OVERFLOW = _core.SVN_ERR_FS_INDEX_OVERFLOW
+SVN_ERR_FS_CONTAINER_INDEX = _core.SVN_ERR_FS_CONTAINER_INDEX
+SVN_ERR_FS_INDEX_INCONSISTENT = _core.SVN_ERR_FS_INDEX_INCONSISTENT
+SVN_ERR_FS_LOCK_OPERATION_FAILED = _core.SVN_ERR_FS_LOCK_OPERATION_FAILED
+SVN_ERR_FS_UNSUPPORTED_TYPE = _core.SVN_ERR_FS_UNSUPPORTED_TYPE
+SVN_ERR_FS_CONTAINER_SIZE = _core.SVN_ERR_FS_CONTAINER_SIZE
+SVN_ERR_FS_MALFORMED_NODEREV_ID = _core.SVN_ERR_FS_MALFORMED_NODEREV_ID
+SVN_ERR_FS_INVALID_GENERATION = _core.SVN_ERR_FS_INVALID_GENERATION
SVN_ERR_REPOS_LOCKED = _core.SVN_ERR_REPOS_LOCKED
SVN_ERR_REPOS_HOOK_FAILURE = _core.SVN_ERR_REPOS_HOOK_FAILURE
SVN_ERR_REPOS_BAD_ARGS = _core.SVN_ERR_REPOS_BAD_ARGS
@@ -277,6 +293,7 @@ SVN_ERR_RA_UUID_MISMATCH = _core.SVN_ERR_RA_UUID_MISMATCH
SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH = _core.SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH
SVN_ERR_RA_SESSION_URL_MISMATCH = _core.SVN_ERR_RA_SESSION_URL_MISMATCH
SVN_ERR_RA_CANNOT_CREATE_TUNNEL = _core.SVN_ERR_RA_CANNOT_CREATE_TUNNEL
+SVN_ERR_RA_CANNOT_CREATE_SESSION = _core.SVN_ERR_RA_CANNOT_CREATE_SESSION
SVN_ERR_RA_DAV_SOCK_INIT = _core.SVN_ERR_RA_DAV_SOCK_INIT
SVN_ERR_RA_DAV_CREATING_REQUEST = _core.SVN_ERR_RA_DAV_CREATING_REQUEST
SVN_ERR_RA_DAV_REQUEST_FAILED = _core.SVN_ERR_RA_DAV_REQUEST_FAILED
@@ -291,6 +308,8 @@ SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS = _core.SVN_ERR_RA_DAV_RESPONSE_HEADER_BA
SVN_ERR_RA_DAV_RELOCATED = _core.SVN_ERR_RA_DAV_RELOCATED
SVN_ERR_RA_DAV_CONN_TIMEOUT = _core.SVN_ERR_RA_DAV_CONN_TIMEOUT
SVN_ERR_RA_DAV_FORBIDDEN = _core.SVN_ERR_RA_DAV_FORBIDDEN
+SVN_ERR_RA_DAV_PRECONDITION_FAILED = _core.SVN_ERR_RA_DAV_PRECONDITION_FAILED
+SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED = _core.SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED
SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND = _core.SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND
SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED = _core.SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED
SVN_ERR_SVNDIFF_INVALID_HEADER = _core.SVN_ERR_SVNDIFF_INVALID_HEADER
@@ -367,6 +386,11 @@ SVN_ERR_SQLITE_CONSTRAINT = _core.SVN_ERR_SQLITE_CONSTRAINT
SVN_ERR_TOO_MANY_MEMCACHED_SERVERS = _core.SVN_ERR_TOO_MANY_MEMCACHED_SERVERS
SVN_ERR_MALFORMED_VERSION_STRING = _core.SVN_ERR_MALFORMED_VERSION_STRING
SVN_ERR_CORRUPTED_ATOMIC_STORAGE = _core.SVN_ERR_CORRUPTED_ATOMIC_STORAGE
+SVN_ERR_UTF8PROC_ERROR = _core.SVN_ERR_UTF8PROC_ERROR
+SVN_ERR_UTF8_GLOB = _core.SVN_ERR_UTF8_GLOB
+SVN_ERR_CORRUPT_PACKED_DATA = _core.SVN_ERR_CORRUPT_PACKED_DATA
+SVN_ERR_COMPOSED_ERROR = _core.SVN_ERR_COMPOSED_ERROR
+SVN_ERR_INVALID_INPUT = _core.SVN_ERR_INVALID_INPUT
SVN_ERR_CL_ARG_PARSING_ERROR = _core.SVN_ERR_CL_ARG_PARSING_ERROR
SVN_ERR_CL_INSUFFICIENT_ARGS = _core.SVN_ERR_CL_INSUFFICIENT_ARGS
SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS = _core.SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS
@@ -379,6 +403,7 @@ SVN_ERR_CL_BAD_LOG_MESSAGE = _core.SVN_ERR_CL_BAD_LOG_MESSAGE
SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE = _core.SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE
SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL = _core.SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL
SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS = _core.SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS
+SVN_ERR_CL_REPOS_VERIFY_FAILED = _core.SVN_ERR_CL_REPOS_VERIFY_FAILED
SVN_ERR_RA_SVN_CMD_ERR = _core.SVN_ERR_RA_SVN_CMD_ERR
SVN_ERR_RA_SVN_UNKNOWN_CMD = _core.SVN_ERR_RA_SVN_UNKNOWN_CMD
SVN_ERR_RA_SVN_CONNECTION_CLOSED = _core.SVN_ERR_RA_SVN_CONNECTION_CLOSED
@@ -405,6 +430,26 @@ SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED = _core.SVN_ERR_RA_SERF_GSSAPI_INIT
SVN_ERR_RA_SERF_WRAPPED_ERROR = _core.SVN_ERR_RA_SERF_WRAPPED_ERROR
SVN_ERR_ASSERTION_FAIL = _core.SVN_ERR_ASSERTION_FAIL
SVN_ERR_ASSERTION_ONLY_TRACING_LINKS = _core.SVN_ERR_ASSERTION_ONLY_TRACING_LINKS
+SVN_ERR_ASN1_OUT_OF_DATA = _core.SVN_ERR_ASN1_OUT_OF_DATA
+SVN_ERR_ASN1_UNEXPECTED_TAG = _core.SVN_ERR_ASN1_UNEXPECTED_TAG
+SVN_ERR_ASN1_INVALID_LENGTH = _core.SVN_ERR_ASN1_INVALID_LENGTH
+SVN_ERR_ASN1_LENGTH_MISMATCH = _core.SVN_ERR_ASN1_LENGTH_MISMATCH
+SVN_ERR_ASN1_INVALID_DATA = _core.SVN_ERR_ASN1_INVALID_DATA
+SVN_ERR_X509_FEATURE_UNAVAILABLE = _core.SVN_ERR_X509_FEATURE_UNAVAILABLE
+SVN_ERR_X509_CERT_INVALID_PEM = _core.SVN_ERR_X509_CERT_INVALID_PEM
+SVN_ERR_X509_CERT_INVALID_FORMAT = _core.SVN_ERR_X509_CERT_INVALID_FORMAT
+SVN_ERR_X509_CERT_INVALID_VERSION = _core.SVN_ERR_X509_CERT_INVALID_VERSION
+SVN_ERR_X509_CERT_INVALID_SERIAL = _core.SVN_ERR_X509_CERT_INVALID_SERIAL
+SVN_ERR_X509_CERT_INVALID_ALG = _core.SVN_ERR_X509_CERT_INVALID_ALG
+SVN_ERR_X509_CERT_INVALID_NAME = _core.SVN_ERR_X509_CERT_INVALID_NAME
+SVN_ERR_X509_CERT_INVALID_DATE = _core.SVN_ERR_X509_CERT_INVALID_DATE
+SVN_ERR_X509_CERT_INVALID_PUBKEY = _core.SVN_ERR_X509_CERT_INVALID_PUBKEY
+SVN_ERR_X509_CERT_INVALID_SIGNATURE = _core.SVN_ERR_X509_CERT_INVALID_SIGNATURE
+SVN_ERR_X509_CERT_INVALID_EXTENSIONS = _core.SVN_ERR_X509_CERT_INVALID_EXTENSIONS
+SVN_ERR_X509_CERT_UNKNOWN_VERSION = _core.SVN_ERR_X509_CERT_UNKNOWN_VERSION
+SVN_ERR_X509_CERT_UNKNOWN_PK_ALG = _core.SVN_ERR_X509_CERT_UNKNOWN_PK_ALG
+SVN_ERR_X509_CERT_SIG_MISMATCH = _core.SVN_ERR_X509_CERT_SIG_MISMATCH
+SVN_ERR_X509_CERT_VERIFY_FAILED = _core.SVN_ERR_X509_CERT_VERIFY_FAILED
SVN_ERR_LAST = _core.SVN_ERR_LAST
def svn_time_to_cstring(*args):
@@ -447,7 +492,7 @@ class svn_error_t:
__swig_setmethods__["line"] = _core.svn_error_t_line_set
__swig_getmethods__["line"] = _core.svn_error_t_line_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_error_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -466,13 +511,13 @@ class svn_error_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
@@ -481,9 +526,9 @@ class svn_error_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)
@@ -498,18 +543,6 @@ class svn_error_t:
svn_error_t_swigregister = _core.svn_error_t_swigregister
svn_error_t_swigregister(svn_error_t)
-
-def svn__apr_hash_index_key(*args):
- """svn__apr_hash_index_key(apr_hash_index_t const * hi) -> void const *"""
- return _core.svn__apr_hash_index_key(*args)
-
-def svn__apr_hash_index_klen(*args):
- """svn__apr_hash_index_klen(apr_hash_index_t const * hi) -> apr_ssize_t"""
- return _core.svn__apr_hash_index_klen(*args)
-
-def svn__apr_hash_index_val(*args):
- """svn__apr_hash_index_val(apr_hash_index_t const * hi) -> void *"""
- return _core.svn__apr_hash_index_val(*args)
svn_node_none = _core.svn_node_none
svn_node_file = _core.svn_node_file
svn_node_dir = _core.svn_node_dir
@@ -580,7 +613,7 @@ class svn_dirent_t:
__swig_getmethods__["time"] = _core.svn_dirent_t_time_get
__swig_getmethods__["last_author"] = _core.svn_dirent_t_last_author_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_dirent_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -599,13 +632,13 @@ class svn_dirent_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
@@ -614,9 +647,9 @@ class svn_dirent_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)
@@ -669,7 +702,7 @@ class svn_commit_info_t:
__swig_setmethods__["repos_root"] = _core.svn_commit_info_t_repos_root_set
__swig_getmethods__["repos_root"] = _core.svn_commit_info_t_repos_root_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_commit_info_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -688,13 +721,13 @@ class svn_commit_info_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
@@ -703,9 +736,9 @@ class svn_commit_info_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)
@@ -748,7 +781,7 @@ class svn_log_changed_path2_t:
__swig_setmethods__["props_modified"] = _core.svn_log_changed_path2_t_props_modified_set
__swig_getmethods__["props_modified"] = _core.svn_log_changed_path2_t_props_modified_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_log_changed_path2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -767,13 +800,13 @@ class svn_log_changed_path2_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
@@ -782,9 +815,9 @@ class svn_log_changed_path2_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)
@@ -820,7 +853,7 @@ class svn_log_changed_path_t:
__swig_setmethods__["copyfrom_rev"] = _core.svn_log_changed_path_t_copyfrom_rev_set
__swig_getmethods__["copyfrom_rev"] = _core.svn_log_changed_path_t_copyfrom_rev_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_log_changed_path_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -839,13 +872,13 @@ class svn_log_changed_path_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
@@ -854,9 +887,9 @@ class svn_log_changed_path_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)
@@ -897,7 +930,7 @@ class svn_log_entry_t:
__swig_setmethods__["subtractive_merge"] = _core.svn_log_entry_t_subtractive_merge_set
__swig_getmethods__["subtractive_merge"] = _core.svn_log_entry_t_subtractive_merge_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_log_entry_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -916,13 +949,13 @@ class svn_log_entry_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
@@ -931,9 +964,9 @@ class svn_log_entry_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)
@@ -988,7 +1021,7 @@ class svn_lock_t:
__swig_setmethods__["expiration_date"] = _core.svn_lock_t_expiration_date_set
__swig_getmethods__["expiration_date"] = _core.svn_lock_t_expiration_date_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_lock_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1007,13 +1040,13 @@ class svn_lock_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
@@ -1022,9 +1055,9 @@ class svn_lock_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)
@@ -1065,7 +1098,7 @@ class svn_merge_range_t:
__swig_setmethods__["inheritable"] = _core.svn_merge_range_t_inheritable_set
__swig_getmethods__["inheritable"] = _core.svn_merge_range_t_inheritable_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_merge_range_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1084,13 +1117,13 @@ class svn_merge_range_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
@@ -1099,9 +1132,9 @@ class svn_merge_range_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)
@@ -1138,7 +1171,7 @@ class svn_location_segment_t:
__swig_setmethods__["path"] = _core.svn_location_segment_t_path_set
__swig_getmethods__["path"] = _core.svn_location_segment_t_path_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_location_segment_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1157,13 +1190,13 @@ class svn_location_segment_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
@@ -1172,9 +1205,9 @@ class svn_location_segment_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)
@@ -1202,7 +1235,7 @@ class svn_version_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_version_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1221,13 +1254,13 @@ class svn_version_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
@@ -1236,9 +1269,9 @@ class svn_version_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)
@@ -1289,7 +1322,7 @@ class svn_log_entry_receiver_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_log_entry_receiver_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1308,13 +1341,13 @@ class svn_log_entry_receiver_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
@@ -1323,9 +1356,9 @@ class svn_log_entry_receiver_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)
@@ -1345,7 +1378,7 @@ class svn_log_message_receiver_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_log_message_receiver_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1364,13 +1397,13 @@ class svn_log_message_receiver_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
@@ -1379,9 +1412,9 @@ class svn_log_message_receiver_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)
@@ -1401,7 +1434,7 @@ class svn_commit_callback2_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_commit_callback2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1420,13 +1453,13 @@ class svn_commit_callback2_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
@@ -1435,9 +1468,9 @@ class svn_commit_callback2_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)
@@ -1457,7 +1490,7 @@ class svn_commit_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_commit_callback_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1476,13 +1509,13 @@ class svn_commit_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
@@ -1491,9 +1524,9 @@ class svn_commit_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)
@@ -1513,7 +1546,7 @@ class svn_cancel_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_cancel_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1532,13 +1565,13 @@ class svn_cancel_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
@@ -1547,9 +1580,9 @@ class svn_cancel_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)
@@ -1569,7 +1602,7 @@ class svn_location_segment_receiver_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_location_segment_receiver_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1588,13 +1621,13 @@ class svn_location_segment_receiver_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
@@ -1603,9 +1636,9 @@ class svn_location_segment_receiver_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)
@@ -1656,7 +1689,7 @@ class svn_version_checklist_t:
__swig_setmethods__["version_query"] = _core.svn_version_checklist_t_version_query_set
__swig_getmethods__["version_query"] = _core.svn_version_checklist_t_version_query_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_version_checklist_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1675,13 +1708,13 @@ class svn_version_checklist_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
@@ -1690,9 +1723,9 @@ class svn_version_checklist_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)
@@ -1711,6 +1744,10 @@ svn_version_checklist_t_swigregister = _core.svn_version_checklist_t_swigregiste
svn_version_checklist_t_swigregister(svn_version_checklist_t)
+def svn_ver_check_list2(*args):
+ """svn_ver_check_list2(svn_version_t const * my_version, svn_version_checklist_t checklist, svn_boolean_t (*)(svn_version_t const *,svn_version_t const *) comparator) -> svn_error_t"""
+ return _core.svn_ver_check_list2(*args)
+
def svn_ver_check_list(*args):
"""svn_ver_check_list(svn_version_t const * my_version, svn_version_checklist_t checklist) -> svn_error_t"""
return _core.svn_ver_check_list(*args)
@@ -1760,7 +1797,7 @@ class svn_version_ext_linked_lib_t:
__swig_setmethods__["runtime_version"] = _core.svn_version_ext_linked_lib_t_runtime_version_set
__swig_getmethods__["runtime_version"] = _core.svn_version_ext_linked_lib_t_runtime_version_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_version_ext_linked_lib_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1779,13 +1816,13 @@ class svn_version_ext_linked_lib_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
@@ -1794,9 +1831,9 @@ class svn_version_ext_linked_lib_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)
@@ -1827,7 +1864,7 @@ class svn_version_ext_loaded_lib_t:
__swig_setmethods__["version"] = _core.svn_version_ext_loaded_lib_t_version_set
__swig_getmethods__["version"] = _core.svn_version_ext_loaded_lib_t_version_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_version_ext_loaded_lib_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1846,13 +1883,13 @@ class svn_version_ext_loaded_lib_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
@@ -1861,9 +1898,9 @@ class svn_version_ext_loaded_lib_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)
@@ -1891,7 +1928,7 @@ class svn_version_extended_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_version_extended_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1910,13 +1947,13 @@ class svn_version_extended_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
@@ -1925,9 +1962,9 @@ class svn_version_extended_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 +1989,7 @@ class svn_version_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_version_func_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 +2008,13 @@ class svn_version_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
@@ -1986,9 +2023,9 @@ class svn_version_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)
@@ -2019,7 +2056,7 @@ class svn_prop_inherited_item_t:
__swig_setmethods__["prop_hash"] = _core.svn_prop_inherited_item_t_prop_hash_set
__swig_getmethods__["prop_hash"] = _core.svn_prop_inherited_item_t_prop_hash_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_prop_inherited_item_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2038,13 +2075,13 @@ class svn_prop_inherited_item_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
@@ -2053,9 +2090,9 @@ class svn_prop_inherited_item_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)
@@ -2206,7 +2243,7 @@ class svn_opt_subcommand_desc2_t:
__swig_getmethods__["valid_options"] = _core.svn_opt_subcommand_desc2_t_valid_options_get
__swig_getmethods__["desc_overrides"] = _core.svn_opt_subcommand_desc2_t_desc_overrides_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_opt_subcommand_desc2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2225,13 +2262,13 @@ class svn_opt_subcommand_desc2_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
@@ -2240,9 +2277,9 @@ class svn_opt_subcommand_desc2_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)
@@ -2296,7 +2333,7 @@ class svn_opt_subcommand_desc_t:
__swig_setmethods__["valid_options"] = _core.svn_opt_subcommand_desc_t_valid_options_set
__swig_getmethods__["valid_options"] = _core.svn_opt_subcommand_desc_t_valid_options_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_opt_subcommand_desc_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2315,13 +2352,13 @@ class svn_opt_subcommand_desc_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
@@ -2330,9 +2367,9 @@ class svn_opt_subcommand_desc_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)
@@ -2430,7 +2467,7 @@ class svn_opt_revision_value_t:
__swig_setmethods__["date"] = _core.svn_opt_revision_value_t_date_set
__swig_getmethods__["date"] = _core.svn_opt_revision_value_t_date_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_opt_revision_value_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2449,13 +2486,13 @@ class svn_opt_revision_value_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
@@ -2464,9 +2501,9 @@ class svn_opt_revision_value_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)
@@ -2493,7 +2530,7 @@ class svn_opt_revision_t:
__swig_setmethods__["value"] = _core.svn_opt_revision_t_value_set
__swig_getmethods__["value"] = _core.svn_opt_revision_t_value_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_opt_revision_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2512,13 +2549,13 @@ class svn_opt_revision_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
@@ -2527,9 +2564,9 @@ class svn_opt_revision_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)
@@ -2556,7 +2593,7 @@ class svn_opt_revision_range_t:
__swig_setmethods__["end"] = _core.svn_opt_revision_range_t_end_set
__swig_getmethods__["end"] = _core.svn_opt_revision_range_t_end_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_opt_revision_range_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2575,13 +2612,13 @@ class svn_opt_revision_range_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
@@ -2590,9 +2627,9 @@ class svn_opt_revision_range_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)
@@ -2694,6 +2731,17 @@ def svn_cmdline_init(*args):
"""svn_cmdline_init(char const * progname, FILE * error_stream) -> int"""
return _core.svn_cmdline_init(*args)
+def svn_cmdline_create_auth_baton2(*args):
+ """
+ svn_cmdline_create_auth_baton2(svn_boolean_t non_interactive, char const * username, char const * password, char const * config_dir,
+ svn_boolean_t no_auth_cache, svn_boolean_t trust_server_cert_unknown_ca,
+ svn_boolean_t trust_server_cert_cn_mismatch, svn_boolean_t trust_server_cert_expired,
+ svn_boolean_t trust_server_cert_not_yet_valid,
+ svn_boolean_t trust_server_cert_other_failure, svn_config_t * cfg, svn_cancel_func_t cancel_func,
+ apr_pool_t pool) -> svn_error_t
+ """
+ return _core.svn_cmdline_create_auth_baton2(*args)
+
def svn_cmdline_create_auth_baton(*args):
"""
svn_cmdline_create_auth_baton(svn_boolean_t non_interactive, char const * username, char const * password, char const * config_dir,
@@ -2717,7 +2765,7 @@ class svn_auth_provider_t:
__swig_setmethods__["save_credentials"] = _core.svn_auth_provider_t_save_credentials_set
__swig_getmethods__["save_credentials"] = _core.svn_auth_provider_t_save_credentials_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_provider_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2736,13 +2784,13 @@ class svn_auth_provider_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
@@ -2751,9 +2799,9 @@ class svn_auth_provider_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)
@@ -2789,7 +2837,7 @@ class svn_auth_provider_object_t:
__swig_setmethods__["provider_baton"] = _core.svn_auth_provider_object_t_provider_baton_set
__swig_getmethods__["provider_baton"] = _core.svn_auth_provider_object_t_provider_baton_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_provider_object_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2808,13 +2856,13 @@ class svn_auth_provider_object_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
@@ -2823,9 +2871,9 @@ class svn_auth_provider_object_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)
@@ -2855,7 +2903,7 @@ class svn_auth_cred_simple_t:
__swig_setmethods__["may_save"] = _core.svn_auth_cred_simple_t_may_save_set
__swig_getmethods__["may_save"] = _core.svn_auth_cred_simple_t_may_save_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_cred_simple_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2874,13 +2922,13 @@ class svn_auth_cred_simple_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
@@ -2889,9 +2937,9 @@ class svn_auth_cred_simple_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)
@@ -2919,7 +2967,7 @@ class svn_auth_cred_username_t:
__swig_setmethods__["may_save"] = _core.svn_auth_cred_username_t_may_save_set
__swig_getmethods__["may_save"] = _core.svn_auth_cred_username_t_may_save_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_cred_username_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -2938,13 +2986,13 @@ class svn_auth_cred_username_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
@@ -2953,9 +3001,9 @@ class svn_auth_cred_username_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)
@@ -2983,7 +3031,7 @@ class svn_auth_cred_ssl_client_cert_t:
__swig_setmethods__["may_save"] = _core.svn_auth_cred_ssl_client_cert_t_may_save_set
__swig_getmethods__["may_save"] = _core.svn_auth_cred_ssl_client_cert_t_may_save_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_cred_ssl_client_cert_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3002,13 +3050,13 @@ class svn_auth_cred_ssl_client_cert_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
@@ -3017,9 +3065,9 @@ class svn_auth_cred_ssl_client_cert_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)
@@ -3047,7 +3095,7 @@ class svn_auth_cred_ssl_client_cert_pw_t:
__swig_setmethods__["may_save"] = _core.svn_auth_cred_ssl_client_cert_pw_t_may_save_set
__swig_getmethods__["may_save"] = _core.svn_auth_cred_ssl_client_cert_pw_t_may_save_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_cred_ssl_client_cert_pw_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3066,13 +3114,13 @@ class svn_auth_cred_ssl_client_cert_pw_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
@@ -3081,9 +3129,9 @@ class svn_auth_cred_ssl_client_cert_pw_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)
@@ -3119,7 +3167,7 @@ class svn_auth_ssl_server_cert_info_t:
__swig_setmethods__["ascii_cert"] = _core.svn_auth_ssl_server_cert_info_t_ascii_cert_set
__swig_getmethods__["ascii_cert"] = _core.svn_auth_ssl_server_cert_info_t_ascii_cert_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_ssl_server_cert_info_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3138,13 +3186,13 @@ class svn_auth_ssl_server_cert_info_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
@@ -3153,9 +3201,9 @@ class svn_auth_ssl_server_cert_info_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)
@@ -3186,7 +3234,7 @@ class svn_auth_cred_ssl_server_trust_t:
__swig_setmethods__["accepted_failures"] = _core.svn_auth_cred_ssl_server_trust_t_accepted_failures_set
__swig_getmethods__["accepted_failures"] = _core.svn_auth_cred_ssl_server_trust_t_accepted_failures_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_auth_cred_ssl_server_trust_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3205,13 +3253,13 @@ class svn_auth_cred_ssl_server_trust_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
@@ -3220,9 +3268,9 @@ class svn_auth_cred_ssl_server_trust_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)
@@ -3362,7 +3410,7 @@ class svn_auth_baton_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_auth_baton_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3381,13 +3429,13 @@ class svn_auth_baton_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
@@ -3396,9 +3444,9 @@ class svn_auth_baton_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)
@@ -3415,7 +3463,7 @@ class svn_auth_iterstate_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_auth_iterstate_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3434,13 +3482,13 @@ class svn_auth_iterstate_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
@@ -3449,9 +3497,9 @@ class svn_auth_iterstate_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)
@@ -3544,7 +3592,7 @@ class svn_auth_simple_provider_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_auth_simple_provider_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3563,13 +3611,13 @@ class svn_auth_simple_provider_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
@@ -3578,9 +3626,9 @@ class svn_auth_simple_provider_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)
@@ -3600,7 +3648,7 @@ class svn_auth_ssl_client_cert_pw_provider_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_auth_ssl_client_cert_pw_provider_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3619,13 +3667,13 @@ class svn_auth_ssl_client_cert_pw_provider_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
@@ -3634,9 +3682,9 @@ class svn_auth_ssl_client_cert_pw_provider_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)
@@ -3656,7 +3704,7 @@ class svn_auth_simple_prompt_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_auth_simple_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3675,13 +3723,13 @@ class svn_auth_simple_prompt_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
@@ -3690,9 +3738,9 @@ class svn_auth_simple_prompt_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)
@@ -3712,7 +3760,7 @@ class svn_auth_username_prompt_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_auth_username_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3731,13 +3779,13 @@ class svn_auth_username_prompt_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
@@ -3746,9 +3794,9 @@ class svn_auth_username_prompt_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)
@@ -3768,7 +3816,7 @@ class svn_auth_ssl_server_trust_prompt_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_auth_ssl_server_trust_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3787,13 +3835,13 @@ class svn_auth_ssl_server_trust_prompt_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
@@ -3802,9 +3850,9 @@ class svn_auth_ssl_server_trust_prompt_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)
@@ -3824,7 +3872,7 @@ class svn_auth_ssl_client_cert_prompt_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_auth_ssl_client_cert_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3843,13 +3891,13 @@ class svn_auth_ssl_client_cert_prompt_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
@@ -3858,9 +3906,9 @@ class svn_auth_ssl_client_cert_prompt_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)
@@ -3880,7 +3928,7 @@ class svn_auth_ssl_client_cert_pw_prompt_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_auth_ssl_client_cert_pw_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3899,13 +3947,13 @@ class svn_auth_ssl_client_cert_pw_prompt_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
@@ -3914,9 +3962,9 @@ class svn_auth_ssl_client_cert_pw_prompt_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)
@@ -3936,7 +3984,7 @@ class svn_auth_plaintext_prompt_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_auth_plaintext_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -3955,13 +4003,13 @@ class svn_auth_plaintext_prompt_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
@@ -3970,9 +4018,9 @@ class svn_auth_plaintext_prompt_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)
@@ -3992,7 +4040,7 @@ class svn_auth_plaintext_passphrase_prompt_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_auth_plaintext_passphrase_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4011,13 +4059,13 @@ class svn_auth_plaintext_passphrase_prompt_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
@@ -4026,9 +4074,9 @@ class svn_auth_plaintext_passphrase_prompt_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)
@@ -4048,7 +4096,7 @@ class svn_auth_gnome_keyring_unlock_prompt_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_auth_gnome_keyring_unlock_prompt_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4067,13 +4115,13 @@ class svn_auth_gnome_keyring_unlock_prompt_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
@@ -4082,9 +4130,9 @@ class svn_auth_gnome_keyring_unlock_prompt_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)
@@ -4121,6 +4169,9 @@ SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT = _core.SVN_CONFIG_OPTION_S
SVN_CONFIG_OPTION_USERNAME = _core.SVN_CONFIG_OPTION_USERNAME
SVN_CONFIG_OPTION_HTTP_BULK_UPDATES = _core.SVN_CONFIG_OPTION_HTTP_BULK_UPDATES
SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS = _core.SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS
+SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS = _core.SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS
+SVN_CONFIG_OPTION_SERF_LOG_COMPONENTS = _core.SVN_CONFIG_OPTION_SERF_LOG_COMPONENTS
+SVN_CONFIG_OPTION_SERF_LOG_LEVEL = _core.SVN_CONFIG_OPTION_SERF_LOG_LEVEL
SVN_CONFIG_CATEGORY_CONFIG = _core.SVN_CONFIG_CATEGORY_CONFIG
SVN_CONFIG_SECTION_AUTH = _core.SVN_CONFIG_SECTION_AUTH
SVN_CONFIG_OPTION_PASSWORD_STORES = _core.SVN_CONFIG_OPTION_PASSWORD_STORES
@@ -4140,16 +4191,19 @@ SVN_CONFIG_OPTION_LOG_ENCODING = _core.SVN_CONFIG_OPTION_LOG_ENCODING
SVN_CONFIG_OPTION_USE_COMMIT_TIMES = _core.SVN_CONFIG_OPTION_USE_COMMIT_TIMES
SVN_CONFIG_OPTION_TEMPLATE_ROOT = _core.SVN_CONFIG_OPTION_TEMPLATE_ROOT
SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS = _core.SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS
+SVN_CONFIG_OPTION_ENABLE_MAGIC_FILE = _core.SVN_CONFIG_OPTION_ENABLE_MAGIC_FILE
SVN_CONFIG_OPTION_NO_UNLOCK = _core.SVN_CONFIG_OPTION_NO_UNLOCK
SVN_CONFIG_OPTION_MIMETYPES_FILE = _core.SVN_CONFIG_OPTION_MIMETYPES_FILE
SVN_CONFIG_OPTION_PRESERVED_CF_EXTS = _core.SVN_CONFIG_OPTION_PRESERVED_CF_EXTS
SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS = _core.SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS
SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE = _core.SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE
+SVN_CONFIG_OPTION_DIFF_IGNORE_CONTENT_TYPE = _core.SVN_CONFIG_OPTION_DIFF_IGNORE_CONTENT_TYPE
SVN_CONFIG_SECTION_TUNNELS = _core.SVN_CONFIG_SECTION_TUNNELS
SVN_CONFIG_SECTION_AUTO_PROPS = _core.SVN_CONFIG_SECTION_AUTO_PROPS
SVN_CONFIG_SECTION_WORKING_COPY = _core.SVN_CONFIG_SECTION_WORKING_COPY
SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE = _core.SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE
SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS = _core.SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS
+SVN_CONFIG_OPTION_SQLITE_BUSY_TIMEOUT = _core.SVN_CONFIG_OPTION_SQLITE_BUSY_TIMEOUT
SVN_CONFIG_SECTION_GENERAL = _core.SVN_CONFIG_SECTION_GENERAL
SVN_CONFIG_OPTION_ANON_ACCESS = _core.SVN_CONFIG_OPTION_ANON_ACCESS
SVN_CONFIG_OPTION_AUTH_ACCESS = _core.SVN_CONFIG_OPTION_AUTH_ACCESS
@@ -4299,6 +4353,12 @@ def svn_config_ensure(*args):
"""svn_config_ensure(char const * config_dir, apr_pool_t pool) -> svn_error_t"""
return _core.svn_config_ensure(*args)
SVN_CONFIG_REALMSTRING_KEY = _core.SVN_CONFIG_REALMSTRING_KEY
+SVN_CONFIG_AUTHN_USERNAME_KEY = _core.SVN_CONFIG_AUTHN_USERNAME_KEY
+SVN_CONFIG_AUTHN_PASSWORD_KEY = _core.SVN_CONFIG_AUTHN_PASSWORD_KEY
+SVN_CONFIG_AUTHN_PASSPHRASE_KEY = _core.SVN_CONFIG_AUTHN_PASSPHRASE_KEY
+SVN_CONFIG_AUTHN_PASSTYPE_KEY = _core.SVN_CONFIG_AUTHN_PASSTYPE_KEY
+SVN_CONFIG_AUTHN_ASCII_CERT_KEY = _core.SVN_CONFIG_AUTHN_ASCII_CERT_KEY
+SVN_CONFIG_AUTHN_FAILURES_KEY = _core.SVN_CONFIG_AUTHN_FAILURES_KEY
def svn_config_read_auth_data(*args):
"""svn_config_read_auth_data(char const * cred_kind, char const * realmstring, char const * config_dir, apr_pool_t pool) -> svn_error_t"""
@@ -4320,7 +4380,7 @@ def svn_config_get_user_config_path(*args):
return _core.svn_config_get_user_config_path(*args)
def svn_config_dup(*args):
- """svn_config_dup(svn_config_t * src, apr_pool_t pool) -> svn_error_t"""
+ """svn_config_dup(svn_config_t const * src, apr_pool_t pool) -> svn_error_t"""
return _core.svn_config_dup(*args)
def svn_config_copy_config(*args):
@@ -4335,7 +4395,7 @@ class svn_config_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_config_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4354,13 +4414,13 @@ class svn_config_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
@@ -4369,9 +4429,9 @@ class svn_config_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)
@@ -4401,7 +4461,7 @@ def svn_config_invoke_enumerator2(*args):
def svn_config_invoke_auth_walk_func(*args):
"""
- svn_config_invoke_auth_walk_func(svn_config_auth_walk_func_t _obj, void * cleanup_baton, char const * cred_kind, char const * realmstring,
+ svn_config_invoke_auth_walk_func(svn_config_auth_walk_func_t _obj, void * walk_baton, char const * cred_kind, char const * realmstring,
apr_hash_t hash, apr_pool_t scratch_pool) -> svn_error_t
"""
return _core.svn_config_invoke_auth_walk_func(*args)
@@ -4414,7 +4474,7 @@ class svn_config_section_enumerator_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_config_section_enumerator_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4433,13 +4493,13 @@ class svn_config_section_enumerator_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
@@ -4448,9 +4508,9 @@ class svn_config_section_enumerator_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)
@@ -4470,7 +4530,7 @@ class svn_config_section_enumerator2_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_config_section_enumerator2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4489,13 +4549,13 @@ class svn_config_section_enumerator2_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
@@ -4504,9 +4564,9 @@ class svn_config_section_enumerator2_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)
@@ -4526,7 +4586,7 @@ class svn_config_enumerator_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_config_enumerator_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4545,13 +4605,13 @@ class svn_config_enumerator_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
@@ -4560,9 +4620,9 @@ class svn_config_enumerator_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)
@@ -4582,7 +4642,7 @@ class svn_config_enumerator2_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_config_enumerator2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4601,13 +4661,13 @@ class svn_config_enumerator2_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
@@ -4616,9 +4676,9 @@ class svn_config_enumerator2_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)
@@ -4638,7 +4698,7 @@ class svn_config_auth_walk_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_config_auth_walk_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -4657,13 +4717,13 @@ class svn_config_auth_walk_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
@@ -4672,9 +4732,9 @@ class svn_config_auth_walk_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)
@@ -4862,6 +4922,10 @@ def svn_relpath_dirname(*args):
"""svn_relpath_dirname(char const * relpath, apr_pool_t result_pool) -> char *"""
return _core.svn_relpath_dirname(*args)
+def svn_relpath_prefix(*args):
+ """svn_relpath_prefix(char const * relpath, int max_components, apr_pool_t result_pool) -> char const *"""
+ return _core.svn_relpath_prefix(*args)
+
def svn_uri_split(*args):
"""svn_uri_split(char const * uri, apr_pool_t result_pool)"""
return _core.svn_uri_split(*args)
@@ -5102,7 +5166,7 @@ class svn_io_dirent2_t:
__swig_setmethods__["mtime"] = _core.svn_io_dirent2_t_mtime_set
__swig_getmethods__["mtime"] = _core.svn_io_dirent2_t_mtime_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_io_dirent2_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5121,13 +5185,13 @@ class svn_io_dirent2_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
@@ -5136,9 +5200,9 @@ class svn_io_dirent2_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)
@@ -5173,7 +5237,7 @@ class svn_io_dirent_t:
__swig_setmethods__["special"] = _core.svn_io_dirent_t_special_set
__swig_getmethods__["special"] = _core.svn_io_dirent_t_special_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_io_dirent_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5192,13 +5256,13 @@ class svn_io_dirent_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
@@ -5207,9 +5271,9 @@ class svn_io_dirent_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)
@@ -5272,6 +5336,14 @@ def svn_io_files_contents_three_same_p(*args):
"""svn_io_files_contents_three_same_p(char const * file1, char const * file2, char const * file3, apr_pool_t scratch_pool) -> svn_error_t"""
return _core.svn_io_files_contents_three_same_p(*args)
+def svn_io_file_create_bytes(*args):
+ """svn_io_file_create_bytes(char const * file, void const * contents, apr_size_t length, apr_pool_t scratch_pool) -> svn_error_t"""
+ return _core.svn_io_file_create_bytes(*args)
+
+def svn_io_file_create_empty(*args):
+ """svn_io_file_create_empty(char const * file, apr_pool_t scratch_pool) -> svn_error_t"""
+ return _core.svn_io_file_create_empty(*args)
+
def svn_io_lock_open_file(*args):
"""svn_io_lock_open_file(apr_file_t lockfile_handle, svn_boolean_t exclusive, svn_boolean_t nonblocking, apr_pool_t pool) -> svn_error_t"""
return _core.svn_io_lock_open_file(*args)
@@ -5280,6 +5352,10 @@ def svn_io_unlock_open_file(*args):
"""svn_io_unlock_open_file(apr_file_t lockfile_handle, apr_pool_t pool) -> svn_error_t"""
return _core.svn_io_unlock_open_file(*args)
+def svn_stream_set_read2(*args):
+ """svn_stream_set_read2(svn_stream_t * stream, svn_read_fn_t read_fn, svn_read_fn_t read_full_fn)"""
+ return _core.svn_stream_set_read2(*args)
+
def svn_stream_set_skip(*args):
"""svn_stream_set_skip(svn_stream_t * stream, svn_stream_skip_fn_t skip_fn)"""
return _core.svn_stream_set_skip(*args)
@@ -5292,6 +5368,10 @@ def svn_stream_set_seek(*args):
"""svn_stream_set_seek(svn_stream_t * stream, svn_stream_seek_fn_t seek_fn)"""
return _core.svn_stream_set_seek(*args)
+def svn_stream_set_data_available(*args):
+ """svn_stream_set_data_available(svn_stream_t * stream, svn_stream_data_available_fn_t data_available)"""
+ return _core.svn_stream_set_data_available(*args)
+
def svn_stream_empty(*args):
"""svn_stream_empty(apr_pool_t pool) -> svn_stream_t *"""
return _core.svn_stream_empty(*args)
@@ -5332,6 +5412,10 @@ def svn_stream_for_stdout(*args):
"""svn_stream_for_stdout(apr_pool_t pool) -> svn_error_t"""
return _core.svn_stream_for_stdout(*args)
+def svn_stringbuf_from_stream(*args):
+ """svn_stringbuf_from_stream(svn_stream_t * stream, apr_size_t len_hint, apr_pool_t result_pool) -> svn_error_t"""
+ return _core.svn_stringbuf_from_stream(*args)
+
def svn_stream_from_stringbuf(*args):
"""svn_stream_from_stringbuf(svn_stringbuf_t * str, apr_pool_t pool) -> svn_stream_t *"""
return _core.svn_stream_from_stringbuf(*args)
@@ -5355,6 +5439,18 @@ def svn_stream_checksummed2(*args):
"""
return _core.svn_stream_checksummed2(*args)
+def svn_stream_read_full(*args):
+ """svn_stream_read_full(svn_stream_t * stream, char * buffer) -> svn_error_t"""
+ return _core.svn_stream_read_full(*args)
+
+def svn_stream_supports_partial_read(*args):
+ """svn_stream_supports_partial_read(svn_stream_t * stream) -> svn_boolean_t"""
+ return _core.svn_stream_supports_partial_read(*args)
+
+def svn_stream_read2(*args):
+ """svn_stream_read2(svn_stream_t * stream, char * buffer) -> svn_error_t"""
+ return _core.svn_stream_read2(*args)
+
def svn_stream_read(*args):
"""svn_stream_read(svn_stream_t * stream, char * buffer) -> svn_error_t"""
return _core.svn_stream_read(*args)
@@ -5387,6 +5483,10 @@ def svn_stream_seek(*args):
"""svn_stream_seek(svn_stream_t * stream, svn_stream_mark_t const * mark) -> svn_error_t"""
return _core.svn_stream_seek(*args)
+def svn_stream_data_available(*args):
+ """svn_stream_data_available(svn_stream_t * stream) -> svn_error_t"""
+ return _core.svn_stream_data_available(*args)
+
def svn_stream_tee(*args):
"""svn_stream_tee(svn_stream_t * out1, svn_stream_t * out2, apr_pool_t pool) -> svn_stream_t *"""
return _core.svn_stream_tee(*args)
@@ -5538,6 +5638,24 @@ def svn_io_file_read_full2(*args):
"""svn_io_file_read_full2(apr_file_t file, void * buf, apr_size_t nbytes, apr_pool_t pool) -> svn_error_t"""
return _core.svn_io_file_read_full2(*args)
+def svn_io_file_aligned_seek(*args):
+ """
+ svn_io_file_aligned_seek(apr_file_t file, apr_off_t block_size, apr_off_t * buffer_start, apr_off_t offset,
+ apr_pool_t scratch_pool) -> svn_error_t
+ """
+ return _core.svn_io_file_aligned_seek(*args)
+
+def svn_io_file_flush(*args):
+ """svn_io_file_flush(apr_file_t file, apr_pool_t scratch_pool) -> svn_error_t"""
+ return _core.svn_io_file_flush(*args)
+
+def svn_io_write_atomic(*args):
+ """
+ svn_io_write_atomic(char const * final_path, void const * buf, apr_size_t nbytes, char const * copy_perms_path,
+ apr_pool_t scratch_pool) -> svn_error_t
+ """
+ return _core.svn_io_write_atomic(*args)
+
def svn_io_write_unique(*args):
"""
svn_io_write_unique(char const * dirpath, void const * buf, apr_size_t nbytes, svn_io_file_del_t delete_when,
@@ -5569,7 +5687,7 @@ class svn_stream_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_stream_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5588,13 +5706,13 @@ class svn_stream_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
@@ -5603,9 +5721,9 @@ class svn_stream_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)
@@ -5622,7 +5740,7 @@ class svn_stream_mark_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_stream_mark_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5641,13 +5759,13 @@ class svn_stream_mark_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
@@ -5656,9 +5774,9 @@ class svn_stream_mark_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)
@@ -5691,6 +5809,10 @@ def svn_stream_invoke_seek_fn(*args):
"""svn_stream_invoke_seek_fn(svn_stream_seek_fn_t _obj, void * baton, svn_stream_mark_t const * mark) -> svn_error_t"""
return _core.svn_stream_invoke_seek_fn(*args)
+def svn_stream_invoke_data_available_fn(*args):
+ """svn_stream_invoke_data_available_fn(svn_stream_data_available_fn_t _obj, void * baton) -> svn_error_t"""
+ return _core.svn_stream_invoke_data_available_fn(*args)
+
def svn_stream_invoke_lazyopen_func(*args):
"""svn_stream_invoke_lazyopen_func(svn_stream_lazyopen_func_t _obj, void * baton, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
return _core.svn_stream_invoke_lazyopen_func(*args)
@@ -5710,7 +5832,7 @@ class svn_read_fn_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_read_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5729,13 +5851,13 @@ class svn_read_fn_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
@@ -5744,9 +5866,9 @@ class svn_read_fn_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)
@@ -5766,7 +5888,7 @@ class svn_stream_skip_fn_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_stream_skip_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5785,13 +5907,13 @@ class svn_stream_skip_fn_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
@@ -5800,9 +5922,9 @@ class svn_stream_skip_fn_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)
@@ -5822,7 +5944,7 @@ class svn_write_fn_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_write_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5841,13 +5963,13 @@ class svn_write_fn_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
@@ -5856,9 +5978,9 @@ class svn_write_fn_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)
@@ -5878,7 +6000,7 @@ class svn_close_fn_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_close_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5897,13 +6019,13 @@ class svn_close_fn_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
@@ -5912,9 +6034,9 @@ class svn_close_fn_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)
@@ -5934,7 +6056,7 @@ class svn_stream_mark_fn_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_stream_mark_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -5953,13 +6075,13 @@ class svn_stream_mark_fn_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
@@ -5968,9 +6090,9 @@ class svn_stream_mark_fn_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)
@@ -5990,7 +6112,7 @@ class svn_stream_seek_fn_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_stream_seek_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6009,13 +6131,13 @@ class svn_stream_seek_fn_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
@@ -6024,9 +6146,9 @@ class svn_stream_seek_fn_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)
@@ -6037,6 +6159,62 @@ class svn_stream_seek_fn_t:
svn_stream_seek_fn_t_swigregister = _core.svn_stream_seek_fn_t_swigregister
svn_stream_seek_fn_t_swigregister(svn_stream_seek_fn_t)
+class svn_stream_data_available_fn_t:
+ """Proxy of C svn_stream_data_available_fn_t struct"""
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, svn_stream_data_available_fn_t, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, svn_stream_data_available_fn_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_stream_invoke_data_available_fn(self, *args)
+
+svn_stream_data_available_fn_t_swigregister = _core.svn_stream_data_available_fn_t_swigregister
+svn_stream_data_available_fn_t_swigregister(svn_stream_data_available_fn_t)
+
class svn_stream_lazyopen_func_t:
"""Proxy of C svn_stream_lazyopen_func_t struct"""
__swig_setmethods__ = {}
@@ -6046,7 +6224,7 @@ class svn_stream_lazyopen_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_stream_lazyopen_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6065,13 +6243,13 @@ class svn_stream_lazyopen_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
@@ -6080,9 +6258,9 @@ class svn_stream_lazyopen_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)
@@ -6102,7 +6280,7 @@ class svn_io_walk_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_io_walk_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6121,13 +6299,13 @@ class svn_io_walk_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
@@ -6136,9 +6314,9 @@ class svn_io_walk_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)
@@ -6151,6 +6329,8 @@ svn_io_walk_func_t_swigregister(svn_io_walk_func_t)
svn_checksum_md5 = _core.svn_checksum_md5
svn_checksum_sha1 = _core.svn_checksum_sha1
+svn_checksum_fnv1a_32 = _core.svn_checksum_fnv1a_32
+svn_checksum_fnv1a_32x4 = _core.svn_checksum_fnv1a_32x4
class svn_checksum_t:
"""Proxy of C svn_checksum_t struct"""
__swig_setmethods__ = {}
@@ -6163,7 +6343,7 @@ class svn_checksum_t:
__swig_setmethods__["kind"] = _core.svn_checksum_t_kind_set
__swig_getmethods__["kind"] = _core.svn_checksum_t_kind_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_checksum_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6182,13 +6362,13 @@ class svn_checksum_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
@@ -6197,9 +6377,9 @@ class svn_checksum_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)
@@ -6291,7 +6471,7 @@ class svn_checksum_ctx_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_checksum_ctx_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6310,13 +6490,13 @@ class svn_checksum_ctx_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
@@ -6325,9 +6505,9 @@ class svn_checksum_ctx_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)
@@ -6356,7 +6536,7 @@ class apr_array_header_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 apr_array_header_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6375,13 +6555,13 @@ class apr_array_header_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
@@ -6390,9 +6570,9 @@ class apr_array_header_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)
@@ -6409,7 +6589,7 @@ class apr_file_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 apr_file_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6428,13 +6608,13 @@ class apr_file_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
@@ -6443,9 +6623,9 @@ class apr_file_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)
@@ -6462,7 +6642,7 @@ class apr_hash_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 apr_hash_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -6481,13 +6661,13 @@ class apr_hash_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
@@ -6496,9 +6676,9 @@ class apr_hash_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)
@@ -6626,7 +6806,7 @@ class apr_pool_t:
# Make sure that the parent object is valid
self._parent_pool.assert_valid()
- # Refer to self using a weakrefrence so that we don't
+ # Refer to self using a weakreference so that we don't
# create a reference cycle
weakself = weakref.ref(self)