summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/python/delta.py
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/swig/python/delta.py')
-rw-r--r--subversion/bindings/swig/python/delta.py146
1 files changed, 75 insertions, 71 deletions
diff --git a/subversion/bindings/swig/python/delta.py b/subversion/bindings/swig/python/delta.py
index 7504bcd..5a02c56 100644
--- a/subversion/bindings/swig/python/delta.py
+++ b/subversion/bindings/swig/python/delta.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():
@@ -113,7 +115,7 @@ class svn_txdelta_op_t:
__swig_setmethods__["length"] = _delta.svn_txdelta_op_t_length_set
__swig_getmethods__["length"] = _delta.svn_txdelta_op_t_length_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_txdelta_op_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -132,13 +134,13 @@ class svn_txdelta_op_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
@@ -147,9 +149,9 @@ class svn_txdelta_op_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)
@@ -189,7 +191,7 @@ class svn_txdelta_window_t:
ops = property(_ops_get)
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_txdelta_window_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -208,13 +210,13 @@ class svn_txdelta_window_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
@@ -223,9 +225,9 @@ class svn_txdelta_window_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)
@@ -389,7 +391,7 @@ class svn_delta_editor_t:
__swig_setmethods__["abort_edit"] = _delta.svn_delta_editor_t_abort_edit_set
__swig_getmethods__["abort_edit"] = _delta.svn_delta_editor_t_abort_edit_get
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_delta_editor_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -408,13 +410,13 @@ class svn_delta_editor_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
@@ -423,9 +425,9 @@ class svn_delta_editor_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)
@@ -537,7 +539,7 @@ class svn_txdelta_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_txdelta_stream_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -556,13 +558,13 @@ class svn_txdelta_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
@@ -571,9 +573,9 @@ class svn_txdelta_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)
@@ -709,7 +711,7 @@ class svn_txdelta_window_handler_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_txdelta_window_handler_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -728,13 +730,13 @@ class svn_txdelta_window_handler_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -743,9 +745,9 @@ class svn_txdelta_window_handler_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -765,7 +767,7 @@ class svn_txdelta_next_window_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_txdelta_next_window_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -784,13 +786,13 @@ class svn_txdelta_next_window_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
@@ -799,9 +801,9 @@ class svn_txdelta_next_window_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)
@@ -821,7 +823,7 @@ class svn_txdelta_md5_digest_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_txdelta_md5_digest_fn_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -840,13 +842,13 @@ class svn_txdelta_md5_digest_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
@@ -855,9 +857,9 @@ class svn_txdelta_md5_digest_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)
@@ -877,7 +879,7 @@ class svn_delta_path_driver_cb_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_delta_path_driver_cb_func_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -896,13 +898,13 @@ class svn_delta_path_driver_cb_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
@@ -911,9 +913,9 @@ class svn_delta_path_driver_cb_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)
@@ -933,7 +935,7 @@ class svn_file_rev_handler_t:
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
- """Create a new proxy object for svn_file_rev_handler_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -952,13 +954,13 @@ class svn_file_rev_handler_t:
value = _swig_getattr(self, self.__class__, name)
-
-
+ # If we got back a different object than we have, we need to copy all our
+ # metadata into it, so that it looks identical
members = self.__dict__.get("_members")
if members is not None:
_copy_metadata_deep(value, members.get(name))
-
+ # Verify that the new object is good
_assert_valid_deep(value)
return value
@@ -967,9 +969,9 @@ class svn_file_rev_handler_t:
"""Set an attribute on this object"""
self.assert_valid()
-
-
-
+ # Save a copy of the object, so that the garbage
+ # collector won't kill the object while it's in
+ # SWIG-land
self.__dict__.setdefault("_members",{})[name] = value
return _swig_setattr(self, self.__class__, name, value)
@@ -989,7 +991,7 @@ class svn_file_rev_handler_old_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_file_rev_handler_old_t"""
+ """Create a new proxy object for TYPE"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
@@ -1008,13 +1010,13 @@ class svn_file_rev_handler_old_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
@@ -1023,9 +1025,9 @@ class svn_file_rev_handler_old_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)
@@ -1036,6 +1038,8 @@ class svn_file_rev_handler_old_t:
svn_file_rev_handler_old_t_swigregister = _delta.svn_file_rev_handler_old_t_swigregister
svn_file_rev_handler_old_t_swigregister(svn_file_rev_handler_old_t)
+# This function is for backwards compatibility only.
+# Use svn_txdelta_window_t.ops instead.
svn_txdelta_window_t_ops_get = svn_txdelta_window_t._ops_get
# This file is compatible with both classic and new-style classes.