1# This file was automatically generated by SWIG (http://www.swig.org). 2# Version 3.0.12 3# 4# Do not make changes to this file unless you know what you are doing--modify 5# the SWIG interface file instead. 6 7 8def _dll_paths(): 9 import os 10 if hasattr(os, 'add_dll_directory'): # Python 3.8+ on Windows 11 cookies = [] 12 for path in os.environ.get('PATH', '').split(os.pathsep): 13 if path and os.path.isabs(path): 14 try: 15 cookie = os.add_dll_directory(path) 16 except OSError: 17 continue 18 else: 19 cookies.append(cookie) 20 return cookies 21 else: 22 return () 23 24_dll_paths = _dll_paths() 25try: 26 from . import _client 27finally: 28 _dll_path = None 29 for _dll_path in _dll_paths: 30 _dll_path.close() 31 del _dll_paths, _dll_path 32 33try: 34 _swig_property = property 35except NameError: 36 pass # Python < 2.2 doesn't have 'property'. 37 38try: 39 import builtins as __builtin__ 40except ImportError: 41 import __builtin__ 42 43def _swig_setattr_nondynamic(self, class_type, name, value, static=1): 44 if (name == "thisown"): 45 return self.this.own(value) 46 if (name == "this"): 47 if type(value).__name__ == 'SwigPyObject': 48 self.__dict__[name] = value 49 return 50 method = class_type.__swig_setmethods__.get(name, None) 51 if method: 52 return method(self, value) 53 if (not static): 54 object.__setattr__(self, name, value) 55 else: 56 raise AttributeError("You cannot add attributes to %s" % self) 57 58 59def _swig_setattr(self, class_type, name, value): 60 return _swig_setattr_nondynamic(self, class_type, name, value, 0) 61 62 63def _swig_getattr(self, class_type, name): 64 if (name == "thisown"): 65 return self.this.own() 66 method = class_type.__swig_getmethods__.get(name, None) 67 if method: 68 return method(self) 69 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name)) 70 71 72def _swig_repr(self): 73 try: 74 strthis = "proxy of " + self.this.__repr__() 75 except __builtin__.Exception: 76 strthis = "" 77 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) 78 79 80def _swig_setattr_nondynamic_method(set): 81 def set_attr(self, name, value): 82 if (name == "thisown"): 83 return self.this.own(value) 84 if hasattr(self, name) or (name == "this"): 85 set(self, name, value) 86 else: 87 raise AttributeError("You cannot add attributes to %s" % self) 88 return set_attr 89 90 91 92def _copy_metadata_deep(value, old_value): 93 """Copy all attributes of old_value into value, recursively traversing 94 lists and dicts if needed.""" 95 if value is None or old_value is None or value is old_value: return 96 97 if isinstance(value, dict): 98 for k in value: 99 _copy_metadata_deep(value[k], old_value[k]) 100 elif isinstance(value, list): 101 for v, old_v in zip(value, old_value): 102 _copy_metadata_deep(v, old_v) 103 else: 104 try: 105 value.__dict__.update(old_value.__dict__) 106 except AttributeError: 107 pass 108 109def _assert_valid_deep(value): 110 """Assert value's validity, recursively traversing lists and dicts.""" 111 if isinstance(value, dict): 112 for k in value: 113 _assert_valid_deep(value[k]) 114 elif isinstance(value, list): 115 for v in value: 116 _assert_valid_deep(v) 117# Ensure that the passed in value isn't a type, which could have an 118# assert_valid attribute, but it can not be called without an instance. 119 elif type(value) != type: 120 try: 121 fn = value.assert_valid 122 except AttributeError: 123 pass 124 else: 125 fn() 126 127 128 129 # SWIG classes generated with -modern do not define this variable 130try: 131 _newclass 132except NameError: 133 _newclass = 1 134else: 135 raise RuntimeError("Require -modern option, but _newclass is defined") 136 137_get_instance_attr = object.__getattribute__ 138_set_instance_attr = _swig_setattr_nondynamic_method(object.__setattr__) 139 140 141import libsvn.core 142import libsvn.delta 143import libsvn.wc 144import libsvn.ra 145 146def svn_client_version() -> "svn_version_t const *": 147 """svn_client_version() -> svn_version_t const *""" 148 return _client.svn_client_version() 149 150def svn_client_get_simple_prompt_provider(*args) -> "svn_auth_provider_object_t **": 151 """svn_client_get_simple_prompt_provider(svn_auth_simple_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 152 return _client.svn_client_get_simple_prompt_provider(*args) 153 154def svn_client_get_username_prompt_provider(*args) -> "svn_auth_provider_object_t **": 155 """svn_client_get_username_prompt_provider(svn_auth_username_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 156 return _client.svn_client_get_username_prompt_provider(*args) 157 158def svn_client_get_simple_provider(*args) -> "svn_auth_provider_object_t **": 159 """svn_client_get_simple_provider(apr_pool_t pool)""" 160 return _client.svn_client_get_simple_provider(*args) 161 162def svn_client_get_username_provider(*args) -> "svn_auth_provider_object_t **": 163 """svn_client_get_username_provider(apr_pool_t pool)""" 164 return _client.svn_client_get_username_provider(*args) 165 166def svn_client_get_ssl_server_trust_file_provider(*args) -> "svn_auth_provider_object_t **": 167 """svn_client_get_ssl_server_trust_file_provider(apr_pool_t pool)""" 168 return _client.svn_client_get_ssl_server_trust_file_provider(*args) 169 170def svn_client_get_ssl_client_cert_file_provider(*args) -> "svn_auth_provider_object_t **": 171 """svn_client_get_ssl_client_cert_file_provider(apr_pool_t pool)""" 172 return _client.svn_client_get_ssl_client_cert_file_provider(*args) 173 174def svn_client_get_ssl_client_cert_pw_file_provider(*args) -> "svn_auth_provider_object_t **": 175 """svn_client_get_ssl_client_cert_pw_file_provider(apr_pool_t pool)""" 176 return _client.svn_client_get_ssl_client_cert_pw_file_provider(*args) 177 178def svn_client_get_ssl_server_trust_prompt_provider(*args) -> "svn_auth_provider_object_t **": 179 """svn_client_get_ssl_server_trust_prompt_provider(svn_auth_ssl_server_trust_prompt_func_t prompt_func, apr_pool_t pool)""" 180 return _client.svn_client_get_ssl_server_trust_prompt_provider(*args) 181 182def svn_client_get_ssl_client_cert_prompt_provider(*args) -> "svn_auth_provider_object_t **": 183 """svn_client_get_ssl_client_cert_prompt_provider(svn_auth_ssl_client_cert_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 184 return _client.svn_client_get_ssl_client_cert_prompt_provider(*args) 185 186def svn_client_get_ssl_client_cert_pw_prompt_provider(*args) -> "svn_auth_provider_object_t **": 187 """svn_client_get_ssl_client_cert_pw_prompt_provider(svn_auth_ssl_client_cert_pw_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 188 return _client.svn_client_get_ssl_client_cert_pw_prompt_provider(*args) 189 190def svn_client_proplist_item_dup(*args) -> "svn_client_proplist_item_t *": 191 """svn_client_proplist_item_dup(svn_client_proplist_item_t const * item, apr_pool_t pool) -> svn_client_proplist_item_t *""" 192 return _client.svn_client_proplist_item_dup(*args) 193class svn_client_commit_info_t(object): 194 """Proxy of C svn_client_commit_info_t struct.""" 195 196 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 197 __repr__ = _swig_repr 198 revision = _swig_property(_client.svn_client_commit_info_t_revision_get, _client.svn_client_commit_info_t_revision_set) 199 date = _swig_property(_client.svn_client_commit_info_t_date_get, _client.svn_client_commit_info_t_date_set) 200 author = _swig_property(_client.svn_client_commit_info_t_author_get, _client.svn_client_commit_info_t_author_set) 201 def set_parent_pool(self, parent_pool=None): 202 """Create a new proxy object for TYPE""" 203 import libsvn.core, weakref 204 self.__dict__["_parent_pool"] = \ 205 parent_pool or libsvn.core.application_pool; 206 if self.__dict__["_parent_pool"]: 207 self.__dict__["_is_valid"] = weakref.ref( 208 self.__dict__["_parent_pool"]._is_valid) 209 210 def assert_valid(self): 211 """Assert that this object is using valid pool memory""" 212 if "_is_valid" in self.__dict__: 213 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 214 215 def _retrieve_swig_value(self, name, value): 216 # If we got back a different object than we have cached, we need to copy 217 # all our metadata into it, so that it looks identical to the one 218 # originally set. 219 members = self.__dict__.get('_members') 220 if members is not None and name in members: 221 _copy_metadata_deep(value, members[name]) 222 223 # Verify that the new object is good 224 _assert_valid_deep(value) 225 226 return value 227 228 # Attribute access must be intercepted to ensure that objects coming from 229 # read attribute access match those that are set with write attribute access. 230 # Specifically the metadata, such as the associated apr_pool object, should 231 # match the originally assigned object. 232 # 233 # For classic classes it is enough to use __getattr__ to intercept swig 234 # derived attributes. However, with new style classes SWIG makes use of 235 # descriptors which mean that __getattr__ is never called. Therefore, 236 # __getattribute__ must be used for the interception. 237 238 if _newclass: 239 def __getattribute__(self, name): 240 """Manage access to all attributes of this object.""" 241 242 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 243 # items directly present in __dict__ 244 mydict = object.__getattribute__(self, '__dict__') 245 246 if name == "__dict__": 247 return mydict 248 249 if name in mydict: 250 return mydict[name] 251 252 object.__getattribute__(self, 'assert_valid')() 253 254 value = _get_instance_attr(self, name) 255 fn = object.__getattribute__(self, '_retrieve_swig_value') 256 return fn(name, value) 257 else: 258 def __getattr__(self, name): 259 """Get an attribute from this object""" 260 self.assert_valid() 261 262 value = _swig_getattr(self, self.__class__, name) 263 264 return self._retrieve_swig_value(name, value) 265 266 def __setattr__(self, name, value): 267 """Set an attribute on this object""" 268 self.assert_valid() 269 270 # Save a copy of the object, so that the garbage 271 # collector won't kill the object while it's in 272 # SWIG-land 273 self.__dict__.setdefault("_members",{})[name] = value 274 275 return _set_instance_attr(self, name, value) 276 277 278 def __init__(self): 279 """__init__(svn_client_commit_info_t self) -> svn_client_commit_info_t""" 280 this = _client.new_svn_client_commit_info_t() 281 try: 282 self.this.append(this) 283 except __builtin__.Exception: 284 self.this = this 285 __swig_destroy__ = _client.delete_svn_client_commit_info_t 286 __del__ = lambda self: None 287svn_client_commit_info_t_swigregister = _client.svn_client_commit_info_t_swigregister 288svn_client_commit_info_t_swigregister(svn_client_commit_info_t) 289 290SVN_CLIENT_COMMIT_ITEM_ADD = _client.SVN_CLIENT_COMMIT_ITEM_ADD 291SVN_CLIENT_COMMIT_ITEM_DELETE = _client.SVN_CLIENT_COMMIT_ITEM_DELETE 292SVN_CLIENT_COMMIT_ITEM_TEXT_MODS = _client.SVN_CLIENT_COMMIT_ITEM_TEXT_MODS 293SVN_CLIENT_COMMIT_ITEM_PROP_MODS = _client.SVN_CLIENT_COMMIT_ITEM_PROP_MODS 294SVN_CLIENT_COMMIT_ITEM_IS_COPY = _client.SVN_CLIENT_COMMIT_ITEM_IS_COPY 295SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN = _client.SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN 296SVN_CLIENT_COMMIT_ITEM_MOVED_HERE = _client.SVN_CLIENT_COMMIT_ITEM_MOVED_HERE 297class svn_client_commit_item3_t(object): 298 """Proxy of C svn_client_commit_item3_t struct.""" 299 300 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 301 __repr__ = _swig_repr 302 path = _swig_property(_client.svn_client_commit_item3_t_path_get, _client.svn_client_commit_item3_t_path_set) 303 kind = _swig_property(_client.svn_client_commit_item3_t_kind_get, _client.svn_client_commit_item3_t_kind_set) 304 url = _swig_property(_client.svn_client_commit_item3_t_url_get, _client.svn_client_commit_item3_t_url_set) 305 revision = _swig_property(_client.svn_client_commit_item3_t_revision_get, _client.svn_client_commit_item3_t_revision_set) 306 copyfrom_url = _swig_property(_client.svn_client_commit_item3_t_copyfrom_url_get, _client.svn_client_commit_item3_t_copyfrom_url_set) 307 copyfrom_rev = _swig_property(_client.svn_client_commit_item3_t_copyfrom_rev_get, _client.svn_client_commit_item3_t_copyfrom_rev_set) 308 state_flags = _swig_property(_client.svn_client_commit_item3_t_state_flags_get, _client.svn_client_commit_item3_t_state_flags_set) 309 incoming_prop_changes = _swig_property(_client.svn_client_commit_item3_t_incoming_prop_changes_get, _client.svn_client_commit_item3_t_incoming_prop_changes_set) 310 outgoing_prop_changes = _swig_property(_client.svn_client_commit_item3_t_outgoing_prop_changes_get, _client.svn_client_commit_item3_t_outgoing_prop_changes_set) 311 session_relpath = _swig_property(_client.svn_client_commit_item3_t_session_relpath_get, _client.svn_client_commit_item3_t_session_relpath_set) 312 moved_from_abspath = _swig_property(_client.svn_client_commit_item3_t_moved_from_abspath_get, _client.svn_client_commit_item3_t_moved_from_abspath_set) 313 def set_parent_pool(self, parent_pool=None): 314 """Create a new proxy object for TYPE""" 315 import libsvn.core, weakref 316 self.__dict__["_parent_pool"] = \ 317 parent_pool or libsvn.core.application_pool; 318 if self.__dict__["_parent_pool"]: 319 self.__dict__["_is_valid"] = weakref.ref( 320 self.__dict__["_parent_pool"]._is_valid) 321 322 def assert_valid(self): 323 """Assert that this object is using valid pool memory""" 324 if "_is_valid" in self.__dict__: 325 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 326 327 def _retrieve_swig_value(self, name, value): 328 # If we got back a different object than we have cached, we need to copy 329 # all our metadata into it, so that it looks identical to the one 330 # originally set. 331 members = self.__dict__.get('_members') 332 if members is not None and name in members: 333 _copy_metadata_deep(value, members[name]) 334 335 # Verify that the new object is good 336 _assert_valid_deep(value) 337 338 return value 339 340 # Attribute access must be intercepted to ensure that objects coming from 341 # read attribute access match those that are set with write attribute access. 342 # Specifically the metadata, such as the associated apr_pool object, should 343 # match the originally assigned object. 344 # 345 # For classic classes it is enough to use __getattr__ to intercept swig 346 # derived attributes. However, with new style classes SWIG makes use of 347 # descriptors which mean that __getattr__ is never called. Therefore, 348 # __getattribute__ must be used for the interception. 349 350 if _newclass: 351 def __getattribute__(self, name): 352 """Manage access to all attributes of this object.""" 353 354 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 355 # items directly present in __dict__ 356 mydict = object.__getattribute__(self, '__dict__') 357 358 if name == "__dict__": 359 return mydict 360 361 if name in mydict: 362 return mydict[name] 363 364 object.__getattribute__(self, 'assert_valid')() 365 366 value = _get_instance_attr(self, name) 367 fn = object.__getattribute__(self, '_retrieve_swig_value') 368 return fn(name, value) 369 else: 370 def __getattr__(self, name): 371 """Get an attribute from this object""" 372 self.assert_valid() 373 374 value = _swig_getattr(self, self.__class__, name) 375 376 return self._retrieve_swig_value(name, value) 377 378 def __setattr__(self, name, value): 379 """Set an attribute on this object""" 380 self.assert_valid() 381 382 # Save a copy of the object, so that the garbage 383 # collector won't kill the object while it's in 384 # SWIG-land 385 self.__dict__.setdefault("_members",{})[name] = value 386 387 return _set_instance_attr(self, name, value) 388 389 390 def __init__(self): 391 """__init__(svn_client_commit_item3_t self) -> svn_client_commit_item3_t""" 392 this = _client.new_svn_client_commit_item3_t() 393 try: 394 self.this.append(this) 395 except __builtin__.Exception: 396 self.this = this 397 __swig_destroy__ = _client.delete_svn_client_commit_item3_t 398 __del__ = lambda self: None 399svn_client_commit_item3_t_swigregister = _client.svn_client_commit_item3_t_swigregister 400svn_client_commit_item3_t_swigregister(svn_client_commit_item3_t) 401 402class svn_client_commit_item2_t(object): 403 """Proxy of C svn_client_commit_item2_t struct.""" 404 405 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 406 __repr__ = _swig_repr 407 path = _swig_property(_client.svn_client_commit_item2_t_path_get, _client.svn_client_commit_item2_t_path_set) 408 kind = _swig_property(_client.svn_client_commit_item2_t_kind_get, _client.svn_client_commit_item2_t_kind_set) 409 url = _swig_property(_client.svn_client_commit_item2_t_url_get, _client.svn_client_commit_item2_t_url_set) 410 revision = _swig_property(_client.svn_client_commit_item2_t_revision_get, _client.svn_client_commit_item2_t_revision_set) 411 copyfrom_url = _swig_property(_client.svn_client_commit_item2_t_copyfrom_url_get, _client.svn_client_commit_item2_t_copyfrom_url_set) 412 copyfrom_rev = _swig_property(_client.svn_client_commit_item2_t_copyfrom_rev_get, _client.svn_client_commit_item2_t_copyfrom_rev_set) 413 state_flags = _swig_property(_client.svn_client_commit_item2_t_state_flags_get, _client.svn_client_commit_item2_t_state_flags_set) 414 wcprop_changes = _swig_property(_client.svn_client_commit_item2_t_wcprop_changes_get, _client.svn_client_commit_item2_t_wcprop_changes_set) 415 def set_parent_pool(self, parent_pool=None): 416 """Create a new proxy object for TYPE""" 417 import libsvn.core, weakref 418 self.__dict__["_parent_pool"] = \ 419 parent_pool or libsvn.core.application_pool; 420 if self.__dict__["_parent_pool"]: 421 self.__dict__["_is_valid"] = weakref.ref( 422 self.__dict__["_parent_pool"]._is_valid) 423 424 def assert_valid(self): 425 """Assert that this object is using valid pool memory""" 426 if "_is_valid" in self.__dict__: 427 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 428 429 def _retrieve_swig_value(self, name, value): 430 # If we got back a different object than we have cached, we need to copy 431 # all our metadata into it, so that it looks identical to the one 432 # originally set. 433 members = self.__dict__.get('_members') 434 if members is not None and name in members: 435 _copy_metadata_deep(value, members[name]) 436 437 # Verify that the new object is good 438 _assert_valid_deep(value) 439 440 return value 441 442 # Attribute access must be intercepted to ensure that objects coming from 443 # read attribute access match those that are set with write attribute access. 444 # Specifically the metadata, such as the associated apr_pool object, should 445 # match the originally assigned object. 446 # 447 # For classic classes it is enough to use __getattr__ to intercept swig 448 # derived attributes. However, with new style classes SWIG makes use of 449 # descriptors which mean that __getattr__ is never called. Therefore, 450 # __getattribute__ must be used for the interception. 451 452 if _newclass: 453 def __getattribute__(self, name): 454 """Manage access to all attributes of this object.""" 455 456 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 457 # items directly present in __dict__ 458 mydict = object.__getattribute__(self, '__dict__') 459 460 if name == "__dict__": 461 return mydict 462 463 if name in mydict: 464 return mydict[name] 465 466 object.__getattribute__(self, 'assert_valid')() 467 468 value = _get_instance_attr(self, name) 469 fn = object.__getattribute__(self, '_retrieve_swig_value') 470 return fn(name, value) 471 else: 472 def __getattr__(self, name): 473 """Get an attribute from this object""" 474 self.assert_valid() 475 476 value = _swig_getattr(self, self.__class__, name) 477 478 return self._retrieve_swig_value(name, value) 479 480 def __setattr__(self, name, value): 481 """Set an attribute on this object""" 482 self.assert_valid() 483 484 # Save a copy of the object, so that the garbage 485 # collector won't kill the object while it's in 486 # SWIG-land 487 self.__dict__.setdefault("_members",{})[name] = value 488 489 return _set_instance_attr(self, name, value) 490 491 492 def __init__(self): 493 """__init__(svn_client_commit_item2_t self) -> svn_client_commit_item2_t""" 494 this = _client.new_svn_client_commit_item2_t() 495 try: 496 self.this.append(this) 497 except __builtin__.Exception: 498 self.this = this 499 __swig_destroy__ = _client.delete_svn_client_commit_item2_t 500 __del__ = lambda self: None 501svn_client_commit_item2_t_swigregister = _client.svn_client_commit_item2_t_swigregister 502svn_client_commit_item2_t_swigregister(svn_client_commit_item2_t) 503 504class svn_client_commit_item_t(object): 505 """Proxy of C svn_client_commit_item_t struct.""" 506 507 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 508 __repr__ = _swig_repr 509 path = _swig_property(_client.svn_client_commit_item_t_path_get, _client.svn_client_commit_item_t_path_set) 510 kind = _swig_property(_client.svn_client_commit_item_t_kind_get, _client.svn_client_commit_item_t_kind_set) 511 url = _swig_property(_client.svn_client_commit_item_t_url_get, _client.svn_client_commit_item_t_url_set) 512 revision = _swig_property(_client.svn_client_commit_item_t_revision_get, _client.svn_client_commit_item_t_revision_set) 513 copyfrom_url = _swig_property(_client.svn_client_commit_item_t_copyfrom_url_get, _client.svn_client_commit_item_t_copyfrom_url_set) 514 state_flags = _swig_property(_client.svn_client_commit_item_t_state_flags_get, _client.svn_client_commit_item_t_state_flags_set) 515 wcprop_changes = _swig_property(_client.svn_client_commit_item_t_wcprop_changes_get, _client.svn_client_commit_item_t_wcprop_changes_set) 516 def set_parent_pool(self, parent_pool=None): 517 """Create a new proxy object for TYPE""" 518 import libsvn.core, weakref 519 self.__dict__["_parent_pool"] = \ 520 parent_pool or libsvn.core.application_pool; 521 if self.__dict__["_parent_pool"]: 522 self.__dict__["_is_valid"] = weakref.ref( 523 self.__dict__["_parent_pool"]._is_valid) 524 525 def assert_valid(self): 526 """Assert that this object is using valid pool memory""" 527 if "_is_valid" in self.__dict__: 528 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 529 530 def _retrieve_swig_value(self, name, value): 531 # If we got back a different object than we have cached, we need to copy 532 # all our metadata into it, so that it looks identical to the one 533 # originally set. 534 members = self.__dict__.get('_members') 535 if members is not None and name in members: 536 _copy_metadata_deep(value, members[name]) 537 538 # Verify that the new object is good 539 _assert_valid_deep(value) 540 541 return value 542 543 # Attribute access must be intercepted to ensure that objects coming from 544 # read attribute access match those that are set with write attribute access. 545 # Specifically the metadata, such as the associated apr_pool object, should 546 # match the originally assigned object. 547 # 548 # For classic classes it is enough to use __getattr__ to intercept swig 549 # derived attributes. However, with new style classes SWIG makes use of 550 # descriptors which mean that __getattr__ is never called. Therefore, 551 # __getattribute__ must be used for the interception. 552 553 if _newclass: 554 def __getattribute__(self, name): 555 """Manage access to all attributes of this object.""" 556 557 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 558 # items directly present in __dict__ 559 mydict = object.__getattribute__(self, '__dict__') 560 561 if name == "__dict__": 562 return mydict 563 564 if name in mydict: 565 return mydict[name] 566 567 object.__getattribute__(self, 'assert_valid')() 568 569 value = _get_instance_attr(self, name) 570 fn = object.__getattribute__(self, '_retrieve_swig_value') 571 return fn(name, value) 572 else: 573 def __getattr__(self, name): 574 """Get an attribute from this object""" 575 self.assert_valid() 576 577 value = _swig_getattr(self, self.__class__, name) 578 579 return self._retrieve_swig_value(name, value) 580 581 def __setattr__(self, name, value): 582 """Set an attribute on this object""" 583 self.assert_valid() 584 585 # Save a copy of the object, so that the garbage 586 # collector won't kill the object while it's in 587 # SWIG-land 588 self.__dict__.setdefault("_members",{})[name] = value 589 590 return _set_instance_attr(self, name, value) 591 592 593 def __init__(self): 594 """__init__(svn_client_commit_item_t self) -> svn_client_commit_item_t""" 595 this = _client.new_svn_client_commit_item_t() 596 try: 597 self.this.append(this) 598 except __builtin__.Exception: 599 self.this = this 600 __swig_destroy__ = _client.delete_svn_client_commit_item_t 601 __del__ = lambda self: None 602svn_client_commit_item_t_swigregister = _client.svn_client_commit_item_t_swigregister 603svn_client_commit_item_t_swigregister(svn_client_commit_item_t) 604 605 606def svn_client_commit_item3_create(*args) -> "svn_client_commit_item3_t *": 607 """svn_client_commit_item3_create(apr_pool_t pool) -> svn_client_commit_item3_t""" 608 return _client.svn_client_commit_item3_create(*args) 609 610def svn_client_commit_item_create(*args) -> "svn_client_commit_item3_t const **": 611 """svn_client_commit_item_create(apr_pool_t pool) -> svn_error_t""" 612 return _client.svn_client_commit_item_create(*args) 613 614def svn_client_commit_item3_dup(*args) -> "svn_client_commit_item3_t *": 615 """svn_client_commit_item3_dup(svn_client_commit_item3_t item, apr_pool_t pool) -> svn_client_commit_item3_t""" 616 return _client.svn_client_commit_item3_dup(*args) 617 618def svn_client_commit_item2_dup(*args) -> "svn_client_commit_item2_t *": 619 """svn_client_commit_item2_dup(svn_client_commit_item2_t item, apr_pool_t pool) -> svn_client_commit_item2_t""" 620 return _client.svn_client_commit_item2_dup(*args) 621svn_client_diff_summarize_kind_normal = _client.svn_client_diff_summarize_kind_normal 622svn_client_diff_summarize_kind_added = _client.svn_client_diff_summarize_kind_added 623svn_client_diff_summarize_kind_modified = _client.svn_client_diff_summarize_kind_modified 624svn_client_diff_summarize_kind_deleted = _client.svn_client_diff_summarize_kind_deleted 625class svn_client_diff_summarize_t(object): 626 """Proxy of C svn_client_diff_summarize_t struct.""" 627 628 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 629 __repr__ = _swig_repr 630 path = _swig_property(_client.svn_client_diff_summarize_t_path_get, _client.svn_client_diff_summarize_t_path_set) 631 summarize_kind = _swig_property(_client.svn_client_diff_summarize_t_summarize_kind_get, _client.svn_client_diff_summarize_t_summarize_kind_set) 632 prop_changed = _swig_property(_client.svn_client_diff_summarize_t_prop_changed_get, _client.svn_client_diff_summarize_t_prop_changed_set) 633 node_kind = _swig_property(_client.svn_client_diff_summarize_t_node_kind_get, _client.svn_client_diff_summarize_t_node_kind_set) 634 def set_parent_pool(self, parent_pool=None): 635 """Create a new proxy object for TYPE""" 636 import libsvn.core, weakref 637 self.__dict__["_parent_pool"] = \ 638 parent_pool or libsvn.core.application_pool; 639 if self.__dict__["_parent_pool"]: 640 self.__dict__["_is_valid"] = weakref.ref( 641 self.__dict__["_parent_pool"]._is_valid) 642 643 def assert_valid(self): 644 """Assert that this object is using valid pool memory""" 645 if "_is_valid" in self.__dict__: 646 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 647 648 def _retrieve_swig_value(self, name, value): 649 # If we got back a different object than we have cached, we need to copy 650 # all our metadata into it, so that it looks identical to the one 651 # originally set. 652 members = self.__dict__.get('_members') 653 if members is not None and name in members: 654 _copy_metadata_deep(value, members[name]) 655 656 # Verify that the new object is good 657 _assert_valid_deep(value) 658 659 return value 660 661 # Attribute access must be intercepted to ensure that objects coming from 662 # read attribute access match those that are set with write attribute access. 663 # Specifically the metadata, such as the associated apr_pool object, should 664 # match the originally assigned object. 665 # 666 # For classic classes it is enough to use __getattr__ to intercept swig 667 # derived attributes. However, with new style classes SWIG makes use of 668 # descriptors which mean that __getattr__ is never called. Therefore, 669 # __getattribute__ must be used for the interception. 670 671 if _newclass: 672 def __getattribute__(self, name): 673 """Manage access to all attributes of this object.""" 674 675 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 676 # items directly present in __dict__ 677 mydict = object.__getattribute__(self, '__dict__') 678 679 if name == "__dict__": 680 return mydict 681 682 if name in mydict: 683 return mydict[name] 684 685 object.__getattribute__(self, 'assert_valid')() 686 687 value = _get_instance_attr(self, name) 688 fn = object.__getattribute__(self, '_retrieve_swig_value') 689 return fn(name, value) 690 else: 691 def __getattr__(self, name): 692 """Get an attribute from this object""" 693 self.assert_valid() 694 695 value = _swig_getattr(self, self.__class__, name) 696 697 return self._retrieve_swig_value(name, value) 698 699 def __setattr__(self, name, value): 700 """Set an attribute on this object""" 701 self.assert_valid() 702 703 # Save a copy of the object, so that the garbage 704 # collector won't kill the object while it's in 705 # SWIG-land 706 self.__dict__.setdefault("_members",{})[name] = value 707 708 return _set_instance_attr(self, name, value) 709 710 711 def __init__(self): 712 """__init__(svn_client_diff_summarize_t self) -> svn_client_diff_summarize_t""" 713 this = _client.new_svn_client_diff_summarize_t() 714 try: 715 self.this.append(this) 716 except __builtin__.Exception: 717 self.this = this 718 __swig_destroy__ = _client.delete_svn_client_diff_summarize_t 719 __del__ = lambda self: None 720svn_client_diff_summarize_t_swigregister = _client.svn_client_diff_summarize_t_swigregister 721svn_client_diff_summarize_t_swigregister(svn_client_diff_summarize_t) 722 723 724def svn_client_diff_summarize_dup(*args) -> "svn_client_diff_summarize_t *": 725 """svn_client_diff_summarize_dup(svn_client_diff_summarize_t diff, apr_pool_t pool) -> svn_client_diff_summarize_t""" 726 return _client.svn_client_diff_summarize_dup(*args) 727class svn_client_ctx_t(object): 728 """Proxy of C svn_client_ctx_t struct.""" 729 730 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 731 __repr__ = _swig_repr 732 auth_baton = _swig_property(_client.svn_client_ctx_t_auth_baton_get, _client.svn_client_ctx_t_auth_baton_set) 733 notify_func = _swig_property(_client.svn_client_ctx_t_notify_func_get, _client.svn_client_ctx_t_notify_func_set) 734 notify_baton = _swig_property(_client.svn_client_ctx_t_notify_baton_get, _client.svn_client_ctx_t_notify_baton_set) 735 log_msg_func = _swig_property(_client.svn_client_ctx_t_log_msg_func_get, _client.svn_client_ctx_t_log_msg_func_set) 736 log_msg_baton = _swig_property(_client.svn_client_ctx_t_log_msg_baton_get, _client.svn_client_ctx_t_log_msg_baton_set) 737 config = _swig_property(_client.svn_client_ctx_t_config_get, _client.svn_client_ctx_t_config_set) 738 cancel_func = _swig_property(_client.svn_client_ctx_t_cancel_func_get, _client.svn_client_ctx_t_cancel_func_set) 739 cancel_baton = _swig_property(_client.svn_client_ctx_t_cancel_baton_get, _client.svn_client_ctx_t_cancel_baton_set) 740 notify_func2 = _swig_property(_client.svn_client_ctx_t_notify_func2_get, _client.svn_client_ctx_t_notify_func2_set) 741 notify_baton2 = _swig_property(_client.svn_client_ctx_t_notify_baton2_get, _client.svn_client_ctx_t_notify_baton2_set) 742 log_msg_func2 = _swig_property(_client.svn_client_ctx_t_log_msg_func2_get, _client.svn_client_ctx_t_log_msg_func2_set) 743 log_msg_baton2 = _swig_property(_client.svn_client_ctx_t_log_msg_baton2_get, _client.svn_client_ctx_t_log_msg_baton2_set) 744 progress_func = _swig_property(_client.svn_client_ctx_t_progress_func_get, _client.svn_client_ctx_t_progress_func_set) 745 progress_baton = _swig_property(_client.svn_client_ctx_t_progress_baton_get, _client.svn_client_ctx_t_progress_baton_set) 746 log_msg_func3 = _swig_property(_client.svn_client_ctx_t_log_msg_func3_get, _client.svn_client_ctx_t_log_msg_func3_set) 747 log_msg_baton3 = _swig_property(_client.svn_client_ctx_t_log_msg_baton3_get, _client.svn_client_ctx_t_log_msg_baton3_set) 748 mimetypes_map = _swig_property(_client.svn_client_ctx_t_mimetypes_map_get, _client.svn_client_ctx_t_mimetypes_map_set) 749 conflict_func = _swig_property(_client.svn_client_ctx_t_conflict_func_get, _client.svn_client_ctx_t_conflict_func_set) 750 conflict_baton = _swig_property(_client.svn_client_ctx_t_conflict_baton_get, _client.svn_client_ctx_t_conflict_baton_set) 751 client_name = _swig_property(_client.svn_client_ctx_t_client_name_get, _client.svn_client_ctx_t_client_name_set) 752 conflict_func2 = _swig_property(_client.svn_client_ctx_t_conflict_func2_get, _client.svn_client_ctx_t_conflict_func2_set) 753 conflict_baton2 = _swig_property(_client.svn_client_ctx_t_conflict_baton2_get, _client.svn_client_ctx_t_conflict_baton2_set) 754 wc_ctx = _swig_property(_client.svn_client_ctx_t_wc_ctx_get, _client.svn_client_ctx_t_wc_ctx_set) 755 check_tunnel_func = _swig_property(_client.svn_client_ctx_t_check_tunnel_func_get, _client.svn_client_ctx_t_check_tunnel_func_set) 756 open_tunnel_func = _swig_property(_client.svn_client_ctx_t_open_tunnel_func_get, _client.svn_client_ctx_t_open_tunnel_func_set) 757 tunnel_baton = _swig_property(_client.svn_client_ctx_t_tunnel_baton_get, _client.svn_client_ctx_t_tunnel_baton_set) 758 def set_parent_pool(self, parent_pool=None): 759 """Create a new proxy object for TYPE""" 760 import libsvn.core, weakref 761 self.__dict__["_parent_pool"] = \ 762 parent_pool or libsvn.core.application_pool; 763 if self.__dict__["_parent_pool"]: 764 self.__dict__["_is_valid"] = weakref.ref( 765 self.__dict__["_parent_pool"]._is_valid) 766 767 def assert_valid(self): 768 """Assert that this object is using valid pool memory""" 769 if "_is_valid" in self.__dict__: 770 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 771 772 def _retrieve_swig_value(self, name, value): 773 # If we got back a different object than we have cached, we need to copy 774 # all our metadata into it, so that it looks identical to the one 775 # originally set. 776 members = self.__dict__.get('_members') 777 if members is not None and name in members: 778 _copy_metadata_deep(value, members[name]) 779 780 # Verify that the new object is good 781 _assert_valid_deep(value) 782 783 return value 784 785 # Attribute access must be intercepted to ensure that objects coming from 786 # read attribute access match those that are set with write attribute access. 787 # Specifically the metadata, such as the associated apr_pool object, should 788 # match the originally assigned object. 789 # 790 # For classic classes it is enough to use __getattr__ to intercept swig 791 # derived attributes. However, with new style classes SWIG makes use of 792 # descriptors which mean that __getattr__ is never called. Therefore, 793 # __getattribute__ must be used for the interception. 794 795 if _newclass: 796 def __getattribute__(self, name): 797 """Manage access to all attributes of this object.""" 798 799 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 800 # items directly present in __dict__ 801 mydict = object.__getattribute__(self, '__dict__') 802 803 if name == "__dict__": 804 return mydict 805 806 if name in mydict: 807 return mydict[name] 808 809 object.__getattribute__(self, 'assert_valid')() 810 811 value = _get_instance_attr(self, name) 812 fn = object.__getattribute__(self, '_retrieve_swig_value') 813 return fn(name, value) 814 else: 815 def __getattr__(self, name): 816 """Get an attribute from this object""" 817 self.assert_valid() 818 819 value = _swig_getattr(self, self.__class__, name) 820 821 return self._retrieve_swig_value(name, value) 822 823 def __setattr__(self, name, value): 824 """Set an attribute on this object""" 825 self.assert_valid() 826 827 # Save a copy of the object, so that the garbage 828 # collector won't kill the object while it's in 829 # SWIG-land 830 self.__dict__.setdefault("_members",{})[name] = value 831 832 return _set_instance_attr(self, name, value) 833 834 835 def __init__(self): 836 """__init__(svn_client_ctx_t self) -> svn_client_ctx_t""" 837 this = _client.new_svn_client_ctx_t() 838 try: 839 self.this.append(this) 840 except __builtin__.Exception: 841 self.this = this 842 __swig_destroy__ = _client.delete_svn_client_ctx_t 843 __del__ = lambda self: None 844svn_client_ctx_t_swigregister = _client.svn_client_ctx_t_swigregister 845svn_client_ctx_t_swigregister(svn_client_ctx_t) 846 847 848def svn_client_create_context2(*args) -> "svn_client_ctx_t **": 849 """svn_client_create_context2(apr_hash_t cfg_hash, apr_pool_t pool) -> svn_error_t""" 850 return _client.svn_client_create_context2(*args) 851 852def svn_client_create_context(*args) -> "svn_client_ctx_t **": 853 """svn_client_create_context(apr_pool_t pool) -> svn_error_t""" 854 return _client.svn_client_create_context(*args) 855SVN_CLIENT_AUTH_USERNAME = _client.SVN_CLIENT_AUTH_USERNAME 856SVN_CLIENT_AUTH_PASSWORD = _client.SVN_CLIENT_AUTH_PASSWORD 857 858def svn_client_args_to_target_array2(*args) -> "apr_array_header_t **": 859 """svn_client_args_to_target_array2(apr_getopt_t * os, apr_array_header_t known_targets, svn_client_ctx_t ctx, svn_boolean_t keep_last_origpath_on_truepath_collision, apr_pool_t pool) -> svn_error_t""" 860 return _client.svn_client_args_to_target_array2(*args) 861 862def svn_client_args_to_target_array(*args) -> "apr_array_header_t **": 863 """svn_client_args_to_target_array(apr_getopt_t * os, apr_array_header_t known_targets, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 864 return _client.svn_client_args_to_target_array(*args) 865 866def svn_client_checkout3(*args) -> "svn_revnum_t *": 867 """svn_client_checkout3(char const * URL, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t ignore_externals, svn_boolean_t allow_unver_obstructions, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 868 return _client.svn_client_checkout3(*args) 869 870def svn_client_checkout2(*args) -> "svn_revnum_t *": 871 """svn_client_checkout2(char const * URL, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, svn_boolean_t ignore_externals, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 872 return _client.svn_client_checkout2(*args) 873 874def svn_client_checkout(*args) -> "svn_revnum_t *": 875 """svn_client_checkout(char const * URL, char const * path, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 876 return _client.svn_client_checkout(*args) 877 878def svn_client_update4(*args) -> "apr_array_header_t **": 879 """svn_client_update4(apr_array_header_t paths, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t ignore_externals, svn_boolean_t allow_unver_obstructions, svn_boolean_t adds_as_modification, svn_boolean_t make_parents, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 880 return _client.svn_client_update4(*args) 881 882def svn_client_update3(*args) -> "apr_array_header_t **": 883 """svn_client_update3(apr_array_header_t paths, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t ignore_externals, svn_boolean_t allow_unver_obstructions, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 884 return _client.svn_client_update3(*args) 885 886def svn_client_update2(*args) -> "apr_array_header_t **": 887 """svn_client_update2(apr_array_header_t paths, svn_opt_revision_t revision, svn_boolean_t recurse, svn_boolean_t ignore_externals, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 888 return _client.svn_client_update2(*args) 889 890def svn_client_update(*args) -> "svn_revnum_t *": 891 """svn_client_update(char const * path, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 892 return _client.svn_client_update(*args) 893 894def svn_client_switch3(*args) -> "svn_revnum_t *": 895 """svn_client_switch3(char const * path, char const * url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t ignore_externals, svn_boolean_t allow_unver_obstructions, svn_boolean_t ignore_ancestry, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 896 return _client.svn_client_switch3(*args) 897 898def svn_client_switch2(*args) -> "svn_revnum_t *": 899 """svn_client_switch2(char const * path, char const * url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t depth_is_sticky, svn_boolean_t ignore_externals, svn_boolean_t allow_unver_obstructions, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 900 return _client.svn_client_switch2(*args) 901 902def svn_client_switch(*args) -> "svn_revnum_t *": 903 """svn_client_switch(char const * path, char const * url, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 904 return _client.svn_client_switch(*args) 905 906def svn_client__layout_list(*args) -> "svn_error_t *": 907 """svn_client__layout_list(char const * local_abspath, svn_client__layout_func_t layout, void * layout_baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 908 return _client.svn_client__layout_list(*args) 909 910def svn_client_add5(*args) -> "svn_error_t *": 911 """svn_client_add5(char const * path, svn_depth_t depth, svn_boolean_t force, svn_boolean_t no_ignore, svn_boolean_t no_autoprops, svn_boolean_t add_parents, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 912 return _client.svn_client_add5(*args) 913 914def svn_client_add4(*args) -> "svn_error_t *": 915 """svn_client_add4(char const * path, svn_depth_t depth, svn_boolean_t force, svn_boolean_t no_ignore, svn_boolean_t add_parents, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 916 return _client.svn_client_add4(*args) 917 918def svn_client_add3(*args) -> "svn_error_t *": 919 """svn_client_add3(char const * path, svn_boolean_t recursive, svn_boolean_t force, svn_boolean_t no_ignore, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 920 return _client.svn_client_add3(*args) 921 922def svn_client_add2(*args) -> "svn_error_t *": 923 """svn_client_add2(char const * path, svn_boolean_t recursive, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 924 return _client.svn_client_add2(*args) 925 926def svn_client_add(*args) -> "svn_error_t *": 927 """svn_client_add(char const * path, svn_boolean_t recursive, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 928 return _client.svn_client_add(*args) 929 930def svn_client_mkdir4(*args) -> "svn_error_t *": 931 """svn_client_mkdir4(apr_array_header_t paths, svn_boolean_t make_parents, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 932 return _client.svn_client_mkdir4(*args) 933 934def svn_client_mkdir3(*args) -> "svn_commit_info_t **": 935 """svn_client_mkdir3(apr_array_header_t paths, svn_boolean_t make_parents, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 936 return _client.svn_client_mkdir3(*args) 937 938def svn_client_mkdir2(*args) -> "svn_commit_info_t **": 939 """svn_client_mkdir2(apr_array_header_t paths, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 940 return _client.svn_client_mkdir2(*args) 941 942def svn_client_mkdir(*args) -> "svn_client_commit_info_t **": 943 """svn_client_mkdir(apr_array_header_t paths, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 944 return _client.svn_client_mkdir(*args) 945 946def svn_client_delete4(*args) -> "svn_error_t *": 947 """svn_client_delete4(apr_array_header_t paths, svn_boolean_t force, svn_boolean_t keep_local, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 948 return _client.svn_client_delete4(*args) 949 950def svn_client_delete3(*args) -> "svn_commit_info_t **": 951 """svn_client_delete3(apr_array_header_t paths, svn_boolean_t force, svn_boolean_t keep_local, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 952 return _client.svn_client_delete3(*args) 953 954def svn_client_delete2(*args) -> "svn_commit_info_t **": 955 """svn_client_delete2(apr_array_header_t paths, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 956 return _client.svn_client_delete2(*args) 957 958def svn_client_delete(*args) -> "svn_client_commit_info_t **": 959 """svn_client_delete(apr_array_header_t paths, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 960 return _client.svn_client_delete(*args) 961 962def svn_client_import5(*args) -> "svn_error_t *": 963 """svn_client_import5(char const * path, char const * url, svn_depth_t depth, svn_boolean_t no_ignore, svn_boolean_t no_autoprops, svn_boolean_t ignore_unknown_node_types, apr_hash_t revprop_table, svn_client_import_filter_func_t filter_callback, void * filter_baton, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 964 return _client.svn_client_import5(*args) 965 966def svn_client_import4(*args) -> "svn_error_t *": 967 """svn_client_import4(char const * path, char const * url, svn_depth_t depth, svn_boolean_t no_ignore, svn_boolean_t ignore_unknown_node_types, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 968 return _client.svn_client_import4(*args) 969 970def svn_client_import3(*args) -> "svn_commit_info_t **": 971 """svn_client_import3(char const * path, char const * url, svn_depth_t depth, svn_boolean_t no_ignore, svn_boolean_t ignore_unknown_node_types, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 972 return _client.svn_client_import3(*args) 973 974def svn_client_import2(*args) -> "svn_commit_info_t **": 975 """svn_client_import2(char const * path, char const * url, svn_boolean_t nonrecursive, svn_boolean_t no_ignore, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 976 return _client.svn_client_import2(*args) 977 978def svn_client_import(*args) -> "svn_client_commit_info_t **": 979 """svn_client_import(char const * path, char const * url, svn_boolean_t nonrecursive, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 980 return _client.svn_client_import(*args) 981 982def svn_client_commit6(*args) -> "svn_error_t *": 983 """svn_client_commit6(apr_array_header_t targets, svn_depth_t depth, svn_boolean_t keep_locks, svn_boolean_t keep_changelists, svn_boolean_t commit_as_operations, svn_boolean_t include_file_externals, svn_boolean_t include_dir_externals, apr_array_header_t changelists, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 984 return _client.svn_client_commit6(*args) 985 986def svn_client_commit5(*args) -> "svn_error_t *": 987 """svn_client_commit5(apr_array_header_t targets, svn_depth_t depth, svn_boolean_t keep_locks, svn_boolean_t keep_changelists, svn_boolean_t commit_as_operations, apr_array_header_t changelists, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 988 return _client.svn_client_commit5(*args) 989 990def svn_client_commit4(*args) -> "svn_commit_info_t **": 991 """svn_client_commit4(apr_array_header_t targets, svn_depth_t depth, svn_boolean_t keep_locks, svn_boolean_t keep_changelists, apr_array_header_t changelists, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 992 return _client.svn_client_commit4(*args) 993 994def svn_client_commit3(*args) -> "svn_commit_info_t **": 995 """svn_client_commit3(apr_array_header_t targets, svn_boolean_t recurse, svn_boolean_t keep_locks, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 996 return _client.svn_client_commit3(*args) 997 998def svn_client_commit2(*args) -> "svn_client_commit_info_t **": 999 """svn_client_commit2(apr_array_header_t targets, svn_boolean_t recurse, svn_boolean_t keep_locks, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1000 return _client.svn_client_commit2(*args) 1001 1002def svn_client_commit(*args) -> "svn_client_commit_info_t **": 1003 """svn_client_commit(apr_array_header_t targets, svn_boolean_t nonrecursive, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1004 return _client.svn_client_commit(*args) 1005class svn_client_status_t(object): 1006 """Proxy of C svn_client_status_t struct.""" 1007 1008 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1009 __repr__ = _swig_repr 1010 kind = _swig_property(_client.svn_client_status_t_kind_get, _client.svn_client_status_t_kind_set) 1011 local_abspath = _swig_property(_client.svn_client_status_t_local_abspath_get, _client.svn_client_status_t_local_abspath_set) 1012 filesize = _swig_property(_client.svn_client_status_t_filesize_get, _client.svn_client_status_t_filesize_set) 1013 versioned = _swig_property(_client.svn_client_status_t_versioned_get, _client.svn_client_status_t_versioned_set) 1014 conflicted = _swig_property(_client.svn_client_status_t_conflicted_get, _client.svn_client_status_t_conflicted_set) 1015 node_status = _swig_property(_client.svn_client_status_t_node_status_get, _client.svn_client_status_t_node_status_set) 1016 text_status = _swig_property(_client.svn_client_status_t_text_status_get, _client.svn_client_status_t_text_status_set) 1017 prop_status = _swig_property(_client.svn_client_status_t_prop_status_get, _client.svn_client_status_t_prop_status_set) 1018 wc_is_locked = _swig_property(_client.svn_client_status_t_wc_is_locked_get, _client.svn_client_status_t_wc_is_locked_set) 1019 copied = _swig_property(_client.svn_client_status_t_copied_get, _client.svn_client_status_t_copied_set) 1020 repos_root_url = _swig_property(_client.svn_client_status_t_repos_root_url_get, _client.svn_client_status_t_repos_root_url_set) 1021 repos_uuid = _swig_property(_client.svn_client_status_t_repos_uuid_get, _client.svn_client_status_t_repos_uuid_set) 1022 repos_relpath = _swig_property(_client.svn_client_status_t_repos_relpath_get, _client.svn_client_status_t_repos_relpath_set) 1023 revision = _swig_property(_client.svn_client_status_t_revision_get, _client.svn_client_status_t_revision_set) 1024 changed_rev = _swig_property(_client.svn_client_status_t_changed_rev_get, _client.svn_client_status_t_changed_rev_set) 1025 changed_date = _swig_property(_client.svn_client_status_t_changed_date_get, _client.svn_client_status_t_changed_date_set) 1026 changed_author = _swig_property(_client.svn_client_status_t_changed_author_get, _client.svn_client_status_t_changed_author_set) 1027 switched = _swig_property(_client.svn_client_status_t_switched_get, _client.svn_client_status_t_switched_set) 1028 file_external = _swig_property(_client.svn_client_status_t_file_external_get, _client.svn_client_status_t_file_external_set) 1029 lock = _swig_property(_client.svn_client_status_t_lock_get, _client.svn_client_status_t_lock_set) 1030 changelist = _swig_property(_client.svn_client_status_t_changelist_get, _client.svn_client_status_t_changelist_set) 1031 depth = _swig_property(_client.svn_client_status_t_depth_get, _client.svn_client_status_t_depth_set) 1032 ood_kind = _swig_property(_client.svn_client_status_t_ood_kind_get, _client.svn_client_status_t_ood_kind_set) 1033 repos_node_status = _swig_property(_client.svn_client_status_t_repos_node_status_get, _client.svn_client_status_t_repos_node_status_set) 1034 repos_text_status = _swig_property(_client.svn_client_status_t_repos_text_status_get, _client.svn_client_status_t_repos_text_status_set) 1035 repos_prop_status = _swig_property(_client.svn_client_status_t_repos_prop_status_get, _client.svn_client_status_t_repos_prop_status_set) 1036 repos_lock = _swig_property(_client.svn_client_status_t_repos_lock_get, _client.svn_client_status_t_repos_lock_set) 1037 ood_changed_rev = _swig_property(_client.svn_client_status_t_ood_changed_rev_get, _client.svn_client_status_t_ood_changed_rev_set) 1038 ood_changed_date = _swig_property(_client.svn_client_status_t_ood_changed_date_get, _client.svn_client_status_t_ood_changed_date_set) 1039 ood_changed_author = _swig_property(_client.svn_client_status_t_ood_changed_author_get, _client.svn_client_status_t_ood_changed_author_set) 1040 backwards_compatibility_baton = _swig_property(_client.svn_client_status_t_backwards_compatibility_baton_get, _client.svn_client_status_t_backwards_compatibility_baton_set) 1041 moved_from_abspath = _swig_property(_client.svn_client_status_t_moved_from_abspath_get, _client.svn_client_status_t_moved_from_abspath_set) 1042 moved_to_abspath = _swig_property(_client.svn_client_status_t_moved_to_abspath_get, _client.svn_client_status_t_moved_to_abspath_set) 1043 def set_parent_pool(self, parent_pool=None): 1044 """Create a new proxy object for TYPE""" 1045 import libsvn.core, weakref 1046 self.__dict__["_parent_pool"] = \ 1047 parent_pool or libsvn.core.application_pool; 1048 if self.__dict__["_parent_pool"]: 1049 self.__dict__["_is_valid"] = weakref.ref( 1050 self.__dict__["_parent_pool"]._is_valid) 1051 1052 def assert_valid(self): 1053 """Assert that this object is using valid pool memory""" 1054 if "_is_valid" in self.__dict__: 1055 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1056 1057 def _retrieve_swig_value(self, name, value): 1058 # If we got back a different object than we have cached, we need to copy 1059 # all our metadata into it, so that it looks identical to the one 1060 # originally set. 1061 members = self.__dict__.get('_members') 1062 if members is not None and name in members: 1063 _copy_metadata_deep(value, members[name]) 1064 1065 # Verify that the new object is good 1066 _assert_valid_deep(value) 1067 1068 return value 1069 1070 # Attribute access must be intercepted to ensure that objects coming from 1071 # read attribute access match those that are set with write attribute access. 1072 # Specifically the metadata, such as the associated apr_pool object, should 1073 # match the originally assigned object. 1074 # 1075 # For classic classes it is enough to use __getattr__ to intercept swig 1076 # derived attributes. However, with new style classes SWIG makes use of 1077 # descriptors which mean that __getattr__ is never called. Therefore, 1078 # __getattribute__ must be used for the interception. 1079 1080 if _newclass: 1081 def __getattribute__(self, name): 1082 """Manage access to all attributes of this object.""" 1083 1084 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1085 # items directly present in __dict__ 1086 mydict = object.__getattribute__(self, '__dict__') 1087 1088 if name == "__dict__": 1089 return mydict 1090 1091 if name in mydict: 1092 return mydict[name] 1093 1094 object.__getattribute__(self, 'assert_valid')() 1095 1096 value = _get_instance_attr(self, name) 1097 fn = object.__getattribute__(self, '_retrieve_swig_value') 1098 return fn(name, value) 1099 else: 1100 def __getattr__(self, name): 1101 """Get an attribute from this object""" 1102 self.assert_valid() 1103 1104 value = _swig_getattr(self, self.__class__, name) 1105 1106 return self._retrieve_swig_value(name, value) 1107 1108 def __setattr__(self, name, value): 1109 """Set an attribute on this object""" 1110 self.assert_valid() 1111 1112 # Save a copy of the object, so that the garbage 1113 # collector won't kill the object while it's in 1114 # SWIG-land 1115 self.__dict__.setdefault("_members",{})[name] = value 1116 1117 return _set_instance_attr(self, name, value) 1118 1119 1120 def __init__(self): 1121 """__init__(svn_client_status_t self) -> svn_client_status_t""" 1122 this = _client.new_svn_client_status_t() 1123 try: 1124 self.this.append(this) 1125 except __builtin__.Exception: 1126 self.this = this 1127 __swig_destroy__ = _client.delete_svn_client_status_t 1128 __del__ = lambda self: None 1129svn_client_status_t_swigregister = _client.svn_client_status_t_swigregister 1130svn_client_status_t_swigregister(svn_client_status_t) 1131 1132 1133def svn_client_status_dup(*args) -> "svn_client_status_t *": 1134 """svn_client_status_dup(svn_client_status_t status, apr_pool_t result_pool) -> svn_client_status_t""" 1135 return _client.svn_client_status_dup(*args) 1136 1137def svn_client_status6(*args) -> "svn_revnum_t *": 1138 """svn_client_status6(svn_client_ctx_t ctx, char const * path, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t check_out_of_date, svn_boolean_t check_working_copy, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, svn_boolean_t depth_as_sticky, apr_array_header_t changelists, svn_client_status_func_t status_func, apr_pool_t scratch_pool) -> svn_error_t""" 1139 return _client.svn_client_status6(*args) 1140 1141def svn_client_status5(*args) -> "svn_revnum_t *": 1142 """svn_client_status5(svn_client_ctx_t ctx, char const * path, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, svn_boolean_t depth_as_sticky, apr_array_header_t changelists, svn_client_status_func_t status_func, apr_pool_t scratch_pool) -> svn_error_t""" 1143 return _client.svn_client_status5(*args) 1144 1145def svn_client_status4(*args) -> "svn_revnum_t *": 1146 """svn_client_status4(char const * path, svn_opt_revision_t revision, svn_wc_status_func3_t status_func, void * status_baton, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1147 return _client.svn_client_status4(*args) 1148 1149def svn_client_status3(*args) -> "svn_revnum_t *": 1150 """svn_client_status3(char const * path, svn_opt_revision_t revision, svn_wc_status_func2_t status_func, svn_depth_t depth, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1151 return _client.svn_client_status3(*args) 1152 1153def svn_client_status2(*args) -> "svn_revnum_t *": 1154 """svn_client_status2(char const * path, svn_opt_revision_t revision, svn_wc_status_func2_t status_func, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_boolean_t ignore_externals, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1155 return _client.svn_client_status2(*args) 1156 1157def svn_client_status(*args) -> "svn_revnum_t *": 1158 """svn_client_status(char const * path, svn_opt_revision_t revision, svn_wc_status_func_t status_func, svn_boolean_t recurse, svn_boolean_t get_all, svn_boolean_t update, svn_boolean_t no_ignore, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1159 return _client.svn_client_status(*args) 1160 1161def svn_client_log5(*args) -> "svn_error_t *": 1162 """svn_client_log5(apr_array_header_t targets, svn_opt_revision_t peg_revision, apr_array_header_t revision_ranges, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_boolean_t include_merged_revisions, apr_array_header_t revprops, svn_log_entry_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1163 return _client.svn_client_log5(*args) 1164 1165def svn_client_log4(*args) -> "svn_error_t *": 1166 """svn_client_log4(apr_array_header_t targets, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_boolean_t include_merged_revisions, apr_array_header_t revprops, svn_log_entry_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1167 return _client.svn_client_log4(*args) 1168 1169def svn_client_log3(*args) -> "svn_error_t *": 1170 """svn_client_log3(apr_array_header_t targets, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1171 return _client.svn_client_log3(*args) 1172 1173def svn_client_log2(*args) -> "svn_error_t *": 1174 """svn_client_log2(apr_array_header_t targets, svn_opt_revision_t start, svn_opt_revision_t end, int limit, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1175 return _client.svn_client_log2(*args) 1176 1177def svn_client_log(*args) -> "svn_error_t *": 1178 """svn_client_log(apr_array_header_t targets, svn_opt_revision_t start, svn_opt_revision_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1179 return _client.svn_client_log(*args) 1180 1181def svn_client_blame6(*args) -> "svn_revnum_t *, svn_revnum_t *": 1182 """svn_client_blame6(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, svn_diff_file_options_t const * diff_options, svn_boolean_t ignore_mime_type, svn_boolean_t include_merged_revisions, svn_client_blame_receiver4_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1183 return _client.svn_client_blame6(*args) 1184 1185def svn_client_blame5(*args) -> "svn_error_t *": 1186 """svn_client_blame5(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, svn_diff_file_options_t const * diff_options, svn_boolean_t ignore_mime_type, svn_boolean_t include_merged_revisions, svn_client_blame_receiver3_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1187 return _client.svn_client_blame5(*args) 1188 1189def svn_client_blame4(*args) -> "svn_error_t *": 1190 """svn_client_blame4(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, svn_diff_file_options_t const * diff_options, svn_boolean_t ignore_mime_type, svn_boolean_t include_merged_revisions, svn_client_blame_receiver2_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1191 return _client.svn_client_blame4(*args) 1192 1193def svn_client_blame3(*args) -> "svn_error_t *": 1194 """svn_client_blame3(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, svn_diff_file_options_t const * diff_options, svn_boolean_t ignore_mime_type, svn_client_blame_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1195 return _client.svn_client_blame3(*args) 1196 1197def svn_client_blame2(*args) -> "svn_error_t *": 1198 """svn_client_blame2(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start, svn_opt_revision_t end, svn_client_blame_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1199 return _client.svn_client_blame2(*args) 1200 1201def svn_client_blame(*args) -> "svn_error_t *": 1202 """svn_client_blame(char const * path_or_url, svn_opt_revision_t start, svn_opt_revision_t end, svn_client_blame_receiver_t receiver, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1203 return _client.svn_client_blame(*args) 1204 1205def svn_client_diff7(*args) -> "svn_error_t *": 1206 """svn_client_diff7(apr_array_header_t diff_options, char const * path_or_url1, svn_opt_revision_t revision1, char const * path_or_url2, svn_opt_revision_t revision2, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_added, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t ignore_properties, svn_boolean_t properties_only, svn_boolean_t use_git_diff_format, svn_boolean_t pretty_print_mergeinfo, char const * header_encoding, svn_stream_t * outstream, svn_stream_t * errstream, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1207 return _client.svn_client_diff7(*args) 1208 1209def svn_client_diff6(*args) -> "svn_error_t *": 1210 """svn_client_diff6(apr_array_header_t diff_options, char const * path_or_url1, svn_opt_revision_t revision1, char const * path_or_url2, svn_opt_revision_t revision2, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_added, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t ignore_properties, svn_boolean_t properties_only, svn_boolean_t use_git_diff_format, char const * header_encoding, svn_stream_t * outstream, svn_stream_t * errstream, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1211 return _client.svn_client_diff6(*args) 1212 1213def svn_client_diff5(*args) -> "svn_error_t *": 1214 """svn_client_diff5(apr_array_header_t diff_options, char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t use_git_diff_format, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1215 return _client.svn_client_diff5(*args) 1216 1217def svn_client_diff4(*args) -> "svn_error_t *": 1218 """svn_client_diff4(apr_array_header_t diff_options, char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1219 return _client.svn_client_diff4(*args) 1220 1221def svn_client_diff3(*args) -> "svn_error_t *": 1222 """svn_client_diff3(apr_array_header_t diff_options, char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1223 return _client.svn_client_diff3(*args) 1224 1225def svn_client_diff2(*args) -> "svn_error_t *": 1226 """svn_client_diff2(apr_array_header_t diff_options, char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1227 return _client.svn_client_diff2(*args) 1228 1229def svn_client_diff(*args) -> "svn_error_t *": 1230 """svn_client_diff(apr_array_header_t diff_options, char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1231 return _client.svn_client_diff(*args) 1232 1233def svn_client_diff_peg7(*args) -> "svn_error_t *": 1234 """svn_client_diff_peg7(apr_array_header_t diff_options, char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_added, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t ignore_properties, svn_boolean_t properties_only, svn_boolean_t use_git_diff_format, svn_boolean_t pretty_print_mergeinfo, char const * header_encoding, svn_stream_t * outstream, svn_stream_t * errstream, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1235 return _client.svn_client_diff_peg7(*args) 1236 1237def svn_client_diff_peg6(*args) -> "svn_error_t *": 1238 """svn_client_diff_peg6(apr_array_header_t diff_options, char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_added, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t ignore_properties, svn_boolean_t properties_only, svn_boolean_t use_git_diff_format, char const * header_encoding, svn_stream_t * outstream, svn_stream_t * errstream, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1239 return _client.svn_client_diff_peg6(*args) 1240 1241def svn_client_diff_peg5(*args) -> "svn_error_t *": 1242 """svn_client_diff_peg5(apr_array_header_t diff_options, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t show_copies_as_adds, svn_boolean_t ignore_content_type, svn_boolean_t use_git_diff_format, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1243 return _client.svn_client_diff_peg5(*args) 1244 1245def svn_client_diff_peg4(*args) -> "svn_error_t *": 1246 """svn_client_diff_peg4(apr_array_header_t diff_options, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, char const * relative_to_dir, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1247 return _client.svn_client_diff_peg4(*args) 1248 1249def svn_client_diff_peg3(*args) -> "svn_error_t *": 1250 """svn_client_diff_peg3(apr_array_header_t diff_options, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, char const * header_encoding, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1251 return _client.svn_client_diff_peg3(*args) 1252 1253def svn_client_diff_peg2(*args) -> "svn_error_t *": 1254 """svn_client_diff_peg2(apr_array_header_t diff_options, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, svn_boolean_t ignore_content_type, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1255 return _client.svn_client_diff_peg2(*args) 1256 1257def svn_client_diff_peg(*args) -> "svn_error_t *": 1258 """svn_client_diff_peg(apr_array_header_t diff_options, char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t no_diff_deleted, apr_file_t outfile, apr_file_t errfile, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1259 return _client.svn_client_diff_peg(*args) 1260 1261def svn_client_diff_summarize2(*args) -> "svn_error_t *": 1262 """svn_client_diff_summarize2(char const * path_or_url1, svn_opt_revision_t revision1, char const * path_or_url2, svn_opt_revision_t revision2, svn_depth_t depth, svn_boolean_t ignore_ancestry, apr_array_header_t changelists, svn_client_diff_summarize_func_t summarize_func, void * summarize_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1263 return _client.svn_client_diff_summarize2(*args) 1264 1265def svn_client_diff_summarize(*args) -> "svn_error_t *": 1266 """svn_client_diff_summarize(char const * path1, svn_opt_revision_t revision1, char const * path2, svn_opt_revision_t revision2, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_client_diff_summarize_func_t summarize_func, void * summarize_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1267 return _client.svn_client_diff_summarize(*args) 1268 1269def svn_client_diff_summarize_peg2(*args) -> "svn_error_t *": 1270 """svn_client_diff_summarize_peg2(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, svn_depth_t depth, svn_boolean_t ignore_ancestry, apr_array_header_t changelists, svn_client_diff_summarize_func_t summarize_func, void * summarize_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1271 return _client.svn_client_diff_summarize_peg2(*args) 1272 1273def svn_client_diff_summarize_peg(*args) -> "svn_error_t *": 1274 """svn_client_diff_summarize_peg(char const * path, svn_opt_revision_t peg_revision, svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_client_diff_summarize_func_t summarize_func, void * summarize_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1275 return _client.svn_client_diff_summarize_peg(*args) 1276 1277def svn_client_get_merging_summary(*args) -> "svn_boolean_t *, char const **, svn_revnum_t *, char const **, svn_revnum_t *, char const **, svn_revnum_t *, char const **, svn_revnum_t *, char const **": 1278 """svn_client_get_merging_summary(char const * source_path_or_url, svn_opt_revision_t source_revision, char const * target_path_or_url, svn_opt_revision_t target_revision, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1279 return _client.svn_client_get_merging_summary(*args) 1280 1281def svn_client_merge5(*args) -> "svn_error_t *": 1282 """svn_client_merge5(char const * source1, svn_opt_revision_t revision1, char const * source2, svn_opt_revision_t revision2, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_mergeinfo, svn_boolean_t diff_ignore_ancestry, svn_boolean_t force_delete, svn_boolean_t record_only, svn_boolean_t dry_run, svn_boolean_t allow_mixed_rev, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1283 return _client.svn_client_merge5(*args) 1284 1285def svn_client_merge4(*args) -> "svn_error_t *": 1286 """svn_client_merge4(char const * source1, svn_opt_revision_t revision1, char const * source2, svn_opt_revision_t revision2, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t force_delete, svn_boolean_t record_only, svn_boolean_t dry_run, svn_boolean_t allow_mixed_rev, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1287 return _client.svn_client_merge4(*args) 1288 1289def svn_client_merge3(*args) -> "svn_error_t *": 1290 """svn_client_merge3(char const * source1, svn_opt_revision_t revision1, char const * source2, svn_opt_revision_t revision2, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t record_only, svn_boolean_t dry_run, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1291 return _client.svn_client_merge3(*args) 1292 1293def svn_client_merge2(*args) -> "svn_error_t *": 1294 """svn_client_merge2(char const * source1, svn_opt_revision_t revision1, char const * source2, svn_opt_revision_t revision2, char const * target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1295 return _client.svn_client_merge2(*args) 1296 1297def svn_client_merge(*args) -> "svn_error_t *": 1298 """svn_client_merge(char const * source1, svn_opt_revision_t revision1, char const * source2, svn_opt_revision_t revision2, char const * target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1299 return _client.svn_client_merge(*args) 1300 1301def svn_client_merge_reintegrate(*args) -> "svn_error_t *": 1302 """svn_client_merge_reintegrate(char const * source_path_or_url, svn_opt_revision_t source_peg_revision, char const * target_wcpath, svn_boolean_t dry_run, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1303 return _client.svn_client_merge_reintegrate(*args) 1304 1305def svn_client_merge_peg5(*args) -> "svn_error_t *": 1306 """svn_client_merge_peg5(char const * source_path_or_url, apr_array_header_t ranges_to_merge, svn_opt_revision_t source_peg_revision, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_mergeinfo, svn_boolean_t diff_ignore_ancestry, svn_boolean_t force_delete, svn_boolean_t record_only, svn_boolean_t dry_run, svn_boolean_t allow_mixed_rev, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1307 return _client.svn_client_merge_peg5(*args) 1308 1309def svn_client_merge_peg4(*args) -> "svn_error_t *": 1310 """svn_client_merge_peg4(char const * source_path_or_url, apr_array_header_t ranges_to_merge, svn_opt_revision_t source_peg_revision, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t force_delete, svn_boolean_t record_only, svn_boolean_t dry_run, svn_boolean_t allow_mixed_rev, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1311 return _client.svn_client_merge_peg4(*args) 1312 1313def svn_client_merge_peg3(*args) -> "svn_error_t *": 1314 """svn_client_merge_peg3(char const * source, apr_array_header_t ranges_to_merge, svn_opt_revision_t peg_revision, char const * target_wcpath, svn_depth_t depth, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t record_only, svn_boolean_t dry_run, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1315 return _client.svn_client_merge_peg3(*args) 1316 1317def svn_client_merge_peg2(*args) -> "svn_error_t *": 1318 """svn_client_merge_peg2(char const * source, svn_opt_revision_t revision1, svn_opt_revision_t revision2, svn_opt_revision_t peg_revision, char const * target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, apr_array_header_t merge_options, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1319 return _client.svn_client_merge_peg2(*args) 1320 1321def svn_client_merge_peg(*args) -> "svn_error_t *": 1322 """svn_client_merge_peg(char const * source, svn_opt_revision_t revision1, svn_opt_revision_t revision2, svn_opt_revision_t peg_revision, char const * target_wcpath, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, svn_boolean_t force, svn_boolean_t dry_run, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1323 return _client.svn_client_merge_peg(*args) 1324 1325def svn_client_suggest_merge_sources(*args) -> "apr_array_header_t **": 1326 """svn_client_suggest_merge_sources(char const * path_or_url, svn_opt_revision_t peg_revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1327 return _client.svn_client_suggest_merge_sources(*args) 1328 1329def svn_client_mergeinfo_get_merged(*args) -> "apr_hash_t **": 1330 """svn_client_mergeinfo_get_merged(char const * path_or_url, svn_opt_revision_t peg_revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1331 return _client.svn_client_mergeinfo_get_merged(*args) 1332 1333def svn_client_mergeinfo_log2(*args) -> "svn_error_t *": 1334 """svn_client_mergeinfo_log2(svn_boolean_t finding_merged, char const * target_path_or_url, svn_opt_revision_t target_peg_revision, char const * source_path_or_url, svn_opt_revision_t source_peg_revision, svn_opt_revision_t source_start_revision, svn_opt_revision_t source_end_revision, svn_log_entry_receiver_t receiver, svn_boolean_t discover_changed_paths, svn_depth_t depth, apr_array_header_t revprops, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1335 return _client.svn_client_mergeinfo_log2(*args) 1336 1337def svn_client_mergeinfo_log(*args) -> "svn_error_t *": 1338 """svn_client_mergeinfo_log(svn_boolean_t finding_merged, char const * target_path_or_url, svn_opt_revision_t target_peg_revision, char const * source_path_or_url, svn_opt_revision_t source_peg_revision, svn_log_entry_receiver_t receiver, svn_boolean_t discover_changed_paths, svn_depth_t depth, apr_array_header_t revprops, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1339 return _client.svn_client_mergeinfo_log(*args) 1340 1341def svn_client_mergeinfo_log_merged(*args) -> "svn_error_t *": 1342 """svn_client_mergeinfo_log_merged(char const * path_or_url, svn_opt_revision_t peg_revision, char const * merge_source_path_or_url, svn_opt_revision_t src_peg_revision, svn_log_entry_receiver_t receiver, svn_boolean_t discover_changed_paths, apr_array_header_t revprops, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1343 return _client.svn_client_mergeinfo_log_merged(*args) 1344 1345def svn_client_mergeinfo_log_eligible(*args) -> "svn_error_t *": 1346 """svn_client_mergeinfo_log_eligible(char const * path_or_url, svn_opt_revision_t peg_revision, char const * merge_source_path_or_url, svn_opt_revision_t src_peg_revision, svn_log_entry_receiver_t receiver, svn_boolean_t discover_changed_paths, apr_array_header_t revprops, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1347 return _client.svn_client_mergeinfo_log_eligible(*args) 1348 1349def svn_client_vacuum(*args) -> "svn_error_t *": 1350 """svn_client_vacuum(char const * dir_abspath, svn_boolean_t remove_unversioned_items, svn_boolean_t remove_ignored_items, svn_boolean_t fix_recorded_timestamps, svn_boolean_t vacuum_pristines, svn_boolean_t include_externals, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1351 return _client.svn_client_vacuum(*args) 1352 1353def svn_client_cleanup2(*args) -> "svn_error_t *": 1354 """svn_client_cleanup2(char const * dir_abspath, svn_boolean_t break_locks, svn_boolean_t fix_recorded_timestamps, svn_boolean_t clear_dav_cache, svn_boolean_t vacuum_pristines, svn_boolean_t include_externals, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1355 return _client.svn_client_cleanup2(*args) 1356 1357def svn_client_cleanup(*args) -> "svn_error_t *": 1358 """svn_client_cleanup(char const * dir, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1359 return _client.svn_client_cleanup(*args) 1360 1361def svn_client_upgrade(*args) -> "svn_error_t *": 1362 """svn_client_upgrade(char const * wcroot_dir, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1363 return _client.svn_client_upgrade(*args) 1364 1365def svn_client_relocate2(*args) -> "svn_error_t *": 1366 """svn_client_relocate2(char const * wcroot_dir, char const * from_prefix, char const * to_prefix, svn_boolean_t ignore_externals, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1367 return _client.svn_client_relocate2(*args) 1368 1369def svn_client_relocate(*args) -> "svn_error_t *": 1370 """svn_client_relocate(char const * dir, char const * from_prefix, char const * to_prefix, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1371 return _client.svn_client_relocate(*args) 1372 1373def svn_client_revert4(*args) -> "svn_error_t *": 1374 """svn_client_revert4(apr_array_header_t paths, svn_depth_t depth, apr_array_header_t changelists, svn_boolean_t clear_changelists, svn_boolean_t metadata_only, svn_boolean_t added_keep_local, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1375 return _client.svn_client_revert4(*args) 1376 1377def svn_client_revert3(*args) -> "svn_error_t *": 1378 """svn_client_revert3(apr_array_header_t paths, svn_depth_t depth, apr_array_header_t changelists, svn_boolean_t clear_changelists, svn_boolean_t metadata_only, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1379 return _client.svn_client_revert3(*args) 1380 1381def svn_client_revert2(*args) -> "svn_error_t *": 1382 """svn_client_revert2(apr_array_header_t paths, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1383 return _client.svn_client_revert2(*args) 1384 1385def svn_client_revert(*args) -> "svn_error_t *": 1386 """svn_client_revert(apr_array_header_t paths, svn_boolean_t recursive, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1387 return _client.svn_client_revert(*args) 1388svn_client_conflict_option_undefined = _client.svn_client_conflict_option_undefined 1389svn_client_conflict_option_postpone = _client.svn_client_conflict_option_postpone 1390svn_client_conflict_option_base_text = _client.svn_client_conflict_option_base_text 1391svn_client_conflict_option_incoming_text = _client.svn_client_conflict_option_incoming_text 1392svn_client_conflict_option_working_text = _client.svn_client_conflict_option_working_text 1393svn_client_conflict_option_incoming_text_where_conflicted = _client.svn_client_conflict_option_incoming_text_where_conflicted 1394svn_client_conflict_option_working_text_where_conflicted = _client.svn_client_conflict_option_working_text_where_conflicted 1395svn_client_conflict_option_merged_text = _client.svn_client_conflict_option_merged_text 1396svn_client_conflict_option_unspecified = _client.svn_client_conflict_option_unspecified 1397svn_client_conflict_option_accept_current_wc_state = _client.svn_client_conflict_option_accept_current_wc_state 1398svn_client_conflict_option_update_move_destination = _client.svn_client_conflict_option_update_move_destination 1399svn_client_conflict_option_update_any_moved_away_children = _client.svn_client_conflict_option_update_any_moved_away_children 1400svn_client_conflict_option_incoming_add_ignore = _client.svn_client_conflict_option_incoming_add_ignore 1401svn_client_conflict_option_incoming_added_file_text_merge = _client.svn_client_conflict_option_incoming_added_file_text_merge 1402svn_client_conflict_option_incoming_added_file_replace_and_merge = _client.svn_client_conflict_option_incoming_added_file_replace_and_merge 1403svn_client_conflict_option_incoming_added_dir_merge = _client.svn_client_conflict_option_incoming_added_dir_merge 1404svn_client_conflict_option_incoming_added_dir_replace = _client.svn_client_conflict_option_incoming_added_dir_replace 1405svn_client_conflict_option_incoming_added_dir_replace_and_merge = _client.svn_client_conflict_option_incoming_added_dir_replace_and_merge 1406svn_client_conflict_option_incoming_delete_ignore = _client.svn_client_conflict_option_incoming_delete_ignore 1407svn_client_conflict_option_incoming_delete_accept = _client.svn_client_conflict_option_incoming_delete_accept 1408svn_client_conflict_option_incoming_move_file_text_merge = _client.svn_client_conflict_option_incoming_move_file_text_merge 1409svn_client_conflict_option_incoming_move_dir_merge = _client.svn_client_conflict_option_incoming_move_dir_merge 1410svn_client_conflict_option_local_move_file_text_merge = _client.svn_client_conflict_option_local_move_file_text_merge 1411svn_client_conflict_option_local_move_dir_merge = _client.svn_client_conflict_option_local_move_dir_merge 1412svn_client_conflict_option_sibling_move_file_text_merge = _client.svn_client_conflict_option_sibling_move_file_text_merge 1413svn_client_conflict_option_sibling_move_dir_merge = _client.svn_client_conflict_option_sibling_move_dir_merge 1414svn_client_conflict_option_both_moved_file_merge = _client.svn_client_conflict_option_both_moved_file_merge 1415svn_client_conflict_option_both_moved_file_move_merge = _client.svn_client_conflict_option_both_moved_file_move_merge 1416svn_client_conflict_option_both_moved_dir_merge = _client.svn_client_conflict_option_both_moved_dir_merge 1417svn_client_conflict_option_both_moved_dir_move_merge = _client.svn_client_conflict_option_both_moved_dir_move_merge 1418 1419def svn_client_conflict_option_set_merged_propval(option: 'svn_client_conflict_option_t *', merged_propval: 'svn_string_t const *') -> "void": 1420 """svn_client_conflict_option_set_merged_propval(svn_client_conflict_option_t * option, svn_string_t const * merged_propval)""" 1421 return _client.svn_client_conflict_option_set_merged_propval(option, merged_propval) 1422 1423def svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(*args) -> "apr_array_header_t **": 1424 """svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(svn_client_conflict_option_t * option, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1425 return _client.svn_client_conflict_option_get_moved_to_repos_relpath_candidates2(*args) 1426 1427def svn_client_conflict_option_get_moved_to_repos_relpath_candidates(*args) -> "apr_array_header_t **": 1428 """svn_client_conflict_option_get_moved_to_repos_relpath_candidates(svn_client_conflict_option_t * option, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1429 return _client.svn_client_conflict_option_get_moved_to_repos_relpath_candidates(*args) 1430 1431def svn_client_conflict_option_set_moved_to_repos_relpath2(*args) -> "svn_error_t *": 1432 """svn_client_conflict_option_set_moved_to_repos_relpath2(svn_client_conflict_option_t * option, int preferred_move_target_idx, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1433 return _client.svn_client_conflict_option_set_moved_to_repos_relpath2(*args) 1434 1435def svn_client_conflict_option_set_moved_to_repos_relpath(*args) -> "svn_error_t *": 1436 """svn_client_conflict_option_set_moved_to_repos_relpath(svn_client_conflict_option_t * option, int preferred_move_target_idx, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1437 return _client.svn_client_conflict_option_set_moved_to_repos_relpath(*args) 1438 1439def svn_client_conflict_option_get_moved_to_abspath_candidates2(*args) -> "apr_array_header_t **": 1440 """svn_client_conflict_option_get_moved_to_abspath_candidates2(svn_client_conflict_option_t * option, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1441 return _client.svn_client_conflict_option_get_moved_to_abspath_candidates2(*args) 1442 1443def svn_client_conflict_option_get_moved_to_abspath_candidates(*args) -> "apr_array_header_t **": 1444 """svn_client_conflict_option_get_moved_to_abspath_candidates(svn_client_conflict_option_t * option, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1445 return _client.svn_client_conflict_option_get_moved_to_abspath_candidates(*args) 1446 1447def svn_client_conflict_option_set_moved_to_abspath2(*args) -> "svn_error_t *": 1448 """svn_client_conflict_option_set_moved_to_abspath2(svn_client_conflict_option_t * option, int preferred_move_target_idx, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1449 return _client.svn_client_conflict_option_set_moved_to_abspath2(*args) 1450 1451def svn_client_conflict_option_set_moved_to_abspath(*args) -> "svn_error_t *": 1452 """svn_client_conflict_option_set_moved_to_abspath(svn_client_conflict_option_t * option, int preferred_move_target_idx, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1453 return _client.svn_client_conflict_option_set_moved_to_abspath(*args) 1454 1455def svn_client_conflict_option_find_by_id(options: 'apr_array_header_t', option_id: 'svn_client_conflict_option_id_t') -> "svn_client_conflict_option_t *": 1456 """svn_client_conflict_option_find_by_id(apr_array_header_t options, svn_client_conflict_option_id_t option_id) -> svn_client_conflict_option_t *""" 1457 return _client.svn_client_conflict_option_find_by_id(options, option_id) 1458 1459def svn_client_conflict_get(*args) -> "svn_client_conflict_t **": 1460 """svn_client_conflict_get(char const * local_abspath, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1461 return _client.svn_client_conflict_get(*args) 1462 1463def svn_client_conflict_walk(*args) -> "svn_error_t *": 1464 """svn_client_conflict_walk(char const * local_abspath, svn_depth_t depth, svn_client_conflict_walk_func_t conflict_walk_func, void * conflict_walk_func_baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1465 return _client.svn_client_conflict_walk(*args) 1466 1467def svn_client_conflict_get_conflicted(*args) -> "svn_boolean_t *, apr_array_header_t **, svn_boolean_t *": 1468 """svn_client_conflict_get_conflicted(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1469 return _client.svn_client_conflict_get_conflicted(*args) 1470 1471def svn_client_conflict_prop_get_description(*args) -> "char const **": 1472 """svn_client_conflict_prop_get_description(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1473 return _client.svn_client_conflict_prop_get_description(*args) 1474 1475def svn_client_conflict_tree_get_description(*args) -> "char const **, char const **": 1476 """svn_client_conflict_tree_get_description(svn_client_conflict_t * conflict, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1477 return _client.svn_client_conflict_tree_get_description(*args) 1478 1479def svn_client_conflict_text_get_resolution_options(*args) -> "apr_array_header_t **": 1480 """svn_client_conflict_text_get_resolution_options(svn_client_conflict_t * conflict, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1481 return _client.svn_client_conflict_text_get_resolution_options(*args) 1482 1483def svn_client_conflict_prop_get_resolution_options(*args) -> "apr_array_header_t **": 1484 """svn_client_conflict_prop_get_resolution_options(svn_client_conflict_t * conflict, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1485 return _client.svn_client_conflict_prop_get_resolution_options(*args) 1486 1487def svn_client_conflict_tree_get_resolution_options(*args) -> "apr_array_header_t **": 1488 """svn_client_conflict_tree_get_resolution_options(svn_client_conflict_t * conflict, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1489 return _client.svn_client_conflict_tree_get_resolution_options(*args) 1490 1491def svn_client_conflict_tree_get_details(*args) -> "svn_error_t *": 1492 """svn_client_conflict_tree_get_details(svn_client_conflict_t * conflict, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1493 return _client.svn_client_conflict_tree_get_details(*args) 1494 1495def svn_client_conflict_option_get_id(option: 'svn_client_conflict_option_t *') -> "svn_client_conflict_option_id_t": 1496 """svn_client_conflict_option_get_id(svn_client_conflict_option_t * option) -> svn_client_conflict_option_id_t""" 1497 return _client.svn_client_conflict_option_get_id(option) 1498 1499def svn_client_conflict_option_get_label(*args) -> "char const *": 1500 """svn_client_conflict_option_get_label(svn_client_conflict_option_t * option, apr_pool_t result_pool) -> char const *""" 1501 return _client.svn_client_conflict_option_get_label(*args) 1502 1503def svn_client_conflict_option_get_description(*args) -> "char const *": 1504 """svn_client_conflict_option_get_description(svn_client_conflict_option_t * option, apr_pool_t result_pool) -> char const *""" 1505 return _client.svn_client_conflict_option_get_description(*args) 1506 1507def svn_client_conflict_get_recommended_option_id(conflict: 'svn_client_conflict_t *') -> "svn_client_conflict_option_id_t": 1508 """svn_client_conflict_get_recommended_option_id(svn_client_conflict_t * conflict) -> svn_client_conflict_option_id_t""" 1509 return _client.svn_client_conflict_get_recommended_option_id(conflict) 1510 1511def svn_client_conflict_get_local_abspath(conflict: 'svn_client_conflict_t *') -> "char const *": 1512 """svn_client_conflict_get_local_abspath(svn_client_conflict_t * conflict) -> char const *""" 1513 return _client.svn_client_conflict_get_local_abspath(conflict) 1514 1515def svn_client_conflict_get_operation(conflict: 'svn_client_conflict_t *') -> "svn_wc_operation_t": 1516 """svn_client_conflict_get_operation(svn_client_conflict_t * conflict) -> svn_wc_operation_t""" 1517 return _client.svn_client_conflict_get_operation(conflict) 1518 1519def svn_client_conflict_get_incoming_change(conflict: 'svn_client_conflict_t *') -> "svn_wc_conflict_action_t": 1520 """svn_client_conflict_get_incoming_change(svn_client_conflict_t * conflict) -> svn_wc_conflict_action_t""" 1521 return _client.svn_client_conflict_get_incoming_change(conflict) 1522 1523def svn_client_conflict_get_local_change(conflict: 'svn_client_conflict_t *') -> "svn_wc_conflict_reason_t": 1524 """svn_client_conflict_get_local_change(svn_client_conflict_t * conflict) -> svn_wc_conflict_reason_t""" 1525 return _client.svn_client_conflict_get_local_change(conflict) 1526 1527def svn_client_conflict_get_repos_info(*args) -> "char const **, char const **": 1528 """svn_client_conflict_get_repos_info(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1529 return _client.svn_client_conflict_get_repos_info(*args) 1530 1531def svn_client_conflict_get_incoming_old_repos_location(*args) -> "char const **, svn_revnum_t *, svn_node_kind_t *": 1532 """svn_client_conflict_get_incoming_old_repos_location(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1533 return _client.svn_client_conflict_get_incoming_old_repos_location(*args) 1534 1535def svn_client_conflict_get_incoming_new_repos_location(*args) -> "char const **, svn_revnum_t *, svn_node_kind_t *": 1536 """svn_client_conflict_get_incoming_new_repos_location(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1537 return _client.svn_client_conflict_get_incoming_new_repos_location(*args) 1538 1539def svn_client_conflict_tree_get_victim_node_kind(conflict: 'svn_client_conflict_t *') -> "svn_node_kind_t": 1540 """svn_client_conflict_tree_get_victim_node_kind(svn_client_conflict_t * conflict) -> svn_node_kind_t""" 1541 return _client.svn_client_conflict_tree_get_victim_node_kind(conflict) 1542 1543def svn_client_conflict_tree_resolve(*args) -> "svn_error_t *": 1544 """svn_client_conflict_tree_resolve(svn_client_conflict_t * conflict, svn_client_conflict_option_t * option, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1545 return _client.svn_client_conflict_tree_resolve(*args) 1546 1547def svn_client_conflict_tree_resolve_by_id(*args) -> "svn_error_t *": 1548 """svn_client_conflict_tree_resolve_by_id(svn_client_conflict_t * conflict, svn_client_conflict_option_id_t option_id, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1549 return _client.svn_client_conflict_tree_resolve_by_id(*args) 1550 1551def svn_client_conflict_tree_get_resolution(conflict: 'svn_client_conflict_t *') -> "svn_client_conflict_option_id_t": 1552 """svn_client_conflict_tree_get_resolution(svn_client_conflict_t * conflict) -> svn_client_conflict_option_id_t""" 1553 return _client.svn_client_conflict_tree_get_resolution(conflict) 1554 1555def svn_client_conflict_prop_get_reject_abspath(conflict: 'svn_client_conflict_t *') -> "char const *": 1556 """svn_client_conflict_prop_get_reject_abspath(svn_client_conflict_t * conflict) -> char const *""" 1557 return _client.svn_client_conflict_prop_get_reject_abspath(conflict) 1558 1559def svn_client_conflict_prop_get_propvals(*args) -> "svn_string_t **, svn_string_t **, svn_string_t **, svn_string_t **": 1560 """svn_client_conflict_prop_get_propvals(svn_client_conflict_t * conflict, char const * propname, apr_pool_t result_pool) -> svn_error_t""" 1561 return _client.svn_client_conflict_prop_get_propvals(*args) 1562 1563def svn_client_conflict_prop_resolve(*args) -> "svn_error_t *": 1564 """svn_client_conflict_prop_resolve(svn_client_conflict_t * conflict, char const * propname, svn_client_conflict_option_t * option, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1565 return _client.svn_client_conflict_prop_resolve(*args) 1566 1567def svn_client_conflict_prop_resolve_by_id(*args) -> "svn_error_t *": 1568 """svn_client_conflict_prop_resolve_by_id(svn_client_conflict_t * conflict, char const * propname, svn_client_conflict_option_id_t option_id, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1569 return _client.svn_client_conflict_prop_resolve_by_id(*args) 1570 1571def svn_client_conflict_prop_get_resolution(conflict: 'svn_client_conflict_t *', propname: 'char const *') -> "svn_client_conflict_option_id_t": 1572 """svn_client_conflict_prop_get_resolution(svn_client_conflict_t * conflict, char const * propname) -> svn_client_conflict_option_id_t""" 1573 return _client.svn_client_conflict_prop_get_resolution(conflict, propname) 1574 1575def svn_client_conflict_text_get_mime_type(conflict: 'svn_client_conflict_t *') -> "char const *": 1576 """svn_client_conflict_text_get_mime_type(svn_client_conflict_t * conflict) -> char const *""" 1577 return _client.svn_client_conflict_text_get_mime_type(conflict) 1578 1579def svn_client_conflict_text_get_contents(*args) -> "char const **, char const **, char const **, char const **": 1580 """svn_client_conflict_text_get_contents(svn_client_conflict_t * conflict, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1581 return _client.svn_client_conflict_text_get_contents(*args) 1582 1583def svn_client_conflict_text_resolve(*args) -> "svn_error_t *": 1584 """svn_client_conflict_text_resolve(svn_client_conflict_t * conflict, svn_client_conflict_option_t * option, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1585 return _client.svn_client_conflict_text_resolve(*args) 1586 1587def svn_client_conflict_text_resolve_by_id(*args) -> "svn_error_t *": 1588 """svn_client_conflict_text_resolve_by_id(svn_client_conflict_t * conflict, svn_client_conflict_option_id_t option_id, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1589 return _client.svn_client_conflict_text_resolve_by_id(*args) 1590 1591def svn_client_conflict_text_get_resolution(conflict: 'svn_client_conflict_t *') -> "svn_client_conflict_option_id_t": 1592 """svn_client_conflict_text_get_resolution(svn_client_conflict_t * conflict) -> svn_client_conflict_option_id_t""" 1593 return _client.svn_client_conflict_text_get_resolution(conflict) 1594 1595def svn_client_resolved(*args) -> "svn_error_t *": 1596 """svn_client_resolved(char const * path, svn_boolean_t recursive, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1597 return _client.svn_client_resolved(*args) 1598 1599def svn_client_resolve(*args) -> "svn_error_t *": 1600 """svn_client_resolve(char const * path, svn_depth_t depth, svn_wc_conflict_choice_t conflict_choice, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1601 return _client.svn_client_resolve(*args) 1602class svn_client_copy_source_t(object): 1603 """Proxy of C svn_client_copy_source_t struct.""" 1604 1605 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1606 __repr__ = _swig_repr 1607 path = _swig_property(_client.svn_client_copy_source_t_path_get, _client.svn_client_copy_source_t_path_set) 1608 revision = _swig_property(_client.svn_client_copy_source_t_revision_get, _client.svn_client_copy_source_t_revision_set) 1609 peg_revision = _swig_property(_client.svn_client_copy_source_t_peg_revision_get, _client.svn_client_copy_source_t_peg_revision_set) 1610 def set_parent_pool(self, parent_pool=None): 1611 """Create a new proxy object for TYPE""" 1612 import libsvn.core, weakref 1613 self.__dict__["_parent_pool"] = \ 1614 parent_pool or libsvn.core.application_pool; 1615 if self.__dict__["_parent_pool"]: 1616 self.__dict__["_is_valid"] = weakref.ref( 1617 self.__dict__["_parent_pool"]._is_valid) 1618 1619 def assert_valid(self): 1620 """Assert that this object is using valid pool memory""" 1621 if "_is_valid" in self.__dict__: 1622 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1623 1624 def _retrieve_swig_value(self, name, value): 1625 # If we got back a different object than we have cached, we need to copy 1626 # all our metadata into it, so that it looks identical to the one 1627 # originally set. 1628 members = self.__dict__.get('_members') 1629 if members is not None and name in members: 1630 _copy_metadata_deep(value, members[name]) 1631 1632 # Verify that the new object is good 1633 _assert_valid_deep(value) 1634 1635 return value 1636 1637 # Attribute access must be intercepted to ensure that objects coming from 1638 # read attribute access match those that are set with write attribute access. 1639 # Specifically the metadata, such as the associated apr_pool object, should 1640 # match the originally assigned object. 1641 # 1642 # For classic classes it is enough to use __getattr__ to intercept swig 1643 # derived attributes. However, with new style classes SWIG makes use of 1644 # descriptors which mean that __getattr__ is never called. Therefore, 1645 # __getattribute__ must be used for the interception. 1646 1647 if _newclass: 1648 def __getattribute__(self, name): 1649 """Manage access to all attributes of this object.""" 1650 1651 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1652 # items directly present in __dict__ 1653 mydict = object.__getattribute__(self, '__dict__') 1654 1655 if name == "__dict__": 1656 return mydict 1657 1658 if name in mydict: 1659 return mydict[name] 1660 1661 object.__getattribute__(self, 'assert_valid')() 1662 1663 value = _get_instance_attr(self, name) 1664 fn = object.__getattribute__(self, '_retrieve_swig_value') 1665 return fn(name, value) 1666 else: 1667 def __getattr__(self, name): 1668 """Get an attribute from this object""" 1669 self.assert_valid() 1670 1671 value = _swig_getattr(self, self.__class__, name) 1672 1673 return self._retrieve_swig_value(name, value) 1674 1675 def __setattr__(self, name, value): 1676 """Set an attribute on this object""" 1677 self.assert_valid() 1678 1679 # Save a copy of the object, so that the garbage 1680 # collector won't kill the object while it's in 1681 # SWIG-land 1682 self.__dict__.setdefault("_members",{})[name] = value 1683 1684 return _set_instance_attr(self, name, value) 1685 1686 1687 def __init__(self): 1688 """__init__(svn_client_copy_source_t self) -> svn_client_copy_source_t""" 1689 this = _client.new_svn_client_copy_source_t() 1690 try: 1691 self.this.append(this) 1692 except __builtin__.Exception: 1693 self.this = this 1694 __swig_destroy__ = _client.delete_svn_client_copy_source_t 1695 __del__ = lambda self: None 1696svn_client_copy_source_t_swigregister = _client.svn_client_copy_source_t_swigregister 1697svn_client_copy_source_t_swigregister(svn_client_copy_source_t) 1698 1699 1700def svn_client_copy7(*args) -> "svn_error_t *": 1701 """svn_client_copy7(apr_array_header_t sources, char const * dst_path, svn_boolean_t copy_as_child, svn_boolean_t make_parents, svn_boolean_t ignore_externals, svn_boolean_t metadata_only, svn_boolean_t pin_externals, apr_hash_t externals_to_pin, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1702 return _client.svn_client_copy7(*args) 1703 1704def svn_client_copy6(*args) -> "svn_error_t *": 1705 """svn_client_copy6(apr_array_header_t sources, char const * dst_path, svn_boolean_t copy_as_child, svn_boolean_t make_parents, svn_boolean_t ignore_externals, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1706 return _client.svn_client_copy6(*args) 1707 1708def svn_client_copy5(*args) -> "svn_commit_info_t **": 1709 """svn_client_copy5(apr_array_header_t sources, char const * dst_path, svn_boolean_t copy_as_child, svn_boolean_t make_parents, svn_boolean_t ignore_externals, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1710 return _client.svn_client_copy5(*args) 1711 1712def svn_client_copy4(*args) -> "svn_commit_info_t **": 1713 """svn_client_copy4(apr_array_header_t sources, char const * dst_path, svn_boolean_t copy_as_child, svn_boolean_t make_parents, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1714 return _client.svn_client_copy4(*args) 1715 1716def svn_client_copy3(*args) -> "svn_commit_info_t **": 1717 """svn_client_copy3(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1718 return _client.svn_client_copy3(*args) 1719 1720def svn_client_copy2(*args) -> "svn_commit_info_t **": 1721 """svn_client_copy2(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1722 return _client.svn_client_copy2(*args) 1723 1724def svn_client_copy(*args) -> "svn_client_commit_info_t **": 1725 """svn_client_copy(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1726 return _client.svn_client_copy(*args) 1727 1728def svn_client_move7(*args) -> "svn_error_t *": 1729 """svn_client_move7(apr_array_header_t src_paths, char const * dst_path, svn_boolean_t move_as_child, svn_boolean_t make_parents, svn_boolean_t allow_mixed_revisions, svn_boolean_t metadata_only, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1730 return _client.svn_client_move7(*args) 1731 1732def svn_client_move6(*args) -> "svn_error_t *": 1733 """svn_client_move6(apr_array_header_t src_paths, char const * dst_path, svn_boolean_t move_as_child, svn_boolean_t make_parents, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1734 return _client.svn_client_move6(*args) 1735 1736def svn_client_move5(*args) -> "svn_commit_info_t **": 1737 """svn_client_move5(apr_array_header_t src_paths, char const * dst_path, svn_boolean_t force, svn_boolean_t move_as_child, svn_boolean_t make_parents, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1738 return _client.svn_client_move5(*args) 1739 1740def svn_client_move4(*args) -> "svn_commit_info_t **": 1741 """svn_client_move4(char const * src_path, char const * dst_path, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1742 return _client.svn_client_move4(*args) 1743 1744def svn_client_move3(*args) -> "svn_commit_info_t **": 1745 """svn_client_move3(char const * src_path, char const * dst_path, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1746 return _client.svn_client_move3(*args) 1747 1748def svn_client_move2(*args) -> "svn_client_commit_info_t **": 1749 """svn_client_move2(char const * src_path, char const * dst_path, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1750 return _client.svn_client_move2(*args) 1751 1752def svn_client_move(*args) -> "svn_client_commit_info_t **": 1753 """svn_client_move(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1754 return _client.svn_client_move(*args) 1755 1756def svn_client_propset_remote(*args) -> "svn_error_t *": 1757 """svn_client_propset_remote(char const * propname, svn_string_t const * propval, char const * url, svn_boolean_t skip_checks, svn_revnum_t base_revision_for_url, apr_hash_t revprop_table, svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1758 return _client.svn_client_propset_remote(*args) 1759 1760def svn_client_propset_local(*args) -> "svn_error_t *": 1761 """svn_client_propset_local(char const * propname, svn_string_t const * propval, apr_array_header_t targets, svn_depth_t depth, svn_boolean_t skip_checks, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1762 return _client.svn_client_propset_local(*args) 1763 1764def svn_client_propset3(*args) -> "svn_commit_info_t **": 1765 """svn_client_propset3(char const * propname, svn_string_t const * propval, char const * target, svn_depth_t depth, svn_boolean_t skip_checks, svn_revnum_t base_revision_for_url, apr_array_header_t changelists, apr_hash_t revprop_table, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1766 return _client.svn_client_propset3(*args) 1767 1768def svn_client_propset2(*args) -> "svn_error_t *": 1769 """svn_client_propset2(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, svn_boolean_t skip_checks, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1770 return _client.svn_client_propset2(*args) 1771 1772def svn_client_propset(*args) -> "svn_error_t *": 1773 """svn_client_propset(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, apr_pool_t pool) -> svn_error_t""" 1774 return _client.svn_client_propset(*args) 1775 1776def svn_client_revprop_set2(*args) -> "svn_revnum_t *": 1777 """svn_client_revprop_set2(char const * propname, svn_string_t const * propval, svn_string_t const * original_propval, char const * URL, svn_opt_revision_t revision, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1778 return _client.svn_client_revprop_set2(*args) 1779 1780def svn_client_revprop_set(*args) -> "svn_revnum_t *": 1781 """svn_client_revprop_set(char const * propname, svn_string_t const * propval, char const * URL, svn_opt_revision_t revision, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1782 return _client.svn_client_revprop_set(*args) 1783 1784def svn_client_propget5(*args) -> "apr_hash_t **, apr_array_header_t **, svn_revnum_t *": 1785 """svn_client_propget5(char const * propname, char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1786 return _client.svn_client_propget5(*args) 1787 1788def svn_client_propget4(*args) -> "apr_hash_t **, svn_revnum_t *": 1789 """svn_client_propget4(char const * propname, char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1790 return _client.svn_client_propget4(*args) 1791 1792def svn_client_propget3(*args) -> "apr_hash_t **, svn_revnum_t *": 1793 """svn_client_propget3(char const * propname, char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1794 return _client.svn_client_propget3(*args) 1795 1796def svn_client_propget2(*args) -> "apr_hash_t **": 1797 """svn_client_propget2(char const * propname, char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1798 return _client.svn_client_propget2(*args) 1799 1800def svn_client_propget(*args) -> "apr_hash_t **": 1801 """svn_client_propget(char const * propname, char const * target, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1802 return _client.svn_client_propget(*args) 1803 1804def svn_client_revprop_get(*args) -> "svn_string_t **, svn_revnum_t *": 1805 """svn_client_revprop_get(char const * propname, char const * URL, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1806 return _client.svn_client_revprop_get(*args) 1807 1808def svn_client_proplist4(*args) -> "svn_error_t *": 1809 """svn_client_proplist4(char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_array_header_t changelists, svn_boolean_t get_target_inherited_props, svn_proplist_receiver2_t receiver, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1810 return _client.svn_client_proplist4(*args) 1811 1812def svn_client_proplist3(*args) -> "svn_error_t *": 1813 """svn_client_proplist3(char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_array_header_t changelists, svn_proplist_receiver_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1814 return _client.svn_client_proplist3(*args) 1815 1816def svn_client_proplist2(*args) -> "apr_array_header_t **": 1817 """svn_client_proplist2(char const * target, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1818 return _client.svn_client_proplist2(*args) 1819 1820def svn_client_proplist(*args) -> "apr_array_header_t **": 1821 """svn_client_proplist(char const * target, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1822 return _client.svn_client_proplist(*args) 1823 1824def svn_client_revprop_list(*args) -> "apr_hash_t **, svn_revnum_t *": 1825 """svn_client_revprop_list(char const * URL, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1826 return _client.svn_client_revprop_list(*args) 1827 1828def svn_client_export5(*args) -> "svn_revnum_t *": 1829 """svn_client_export5(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, svn_boolean_t ignore_keywords, svn_depth_t depth, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1830 return _client.svn_client_export5(*args) 1831 1832def svn_client_export4(*args) -> "svn_revnum_t *": 1833 """svn_client_export4(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, svn_depth_t depth, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1834 return _client.svn_client_export4(*args) 1835 1836def svn_client_export3(*args) -> "svn_revnum_t *": 1837 """svn_client_export3(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, svn_boolean_t recurse, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1838 return _client.svn_client_export3(*args) 1839 1840def svn_client_export2(*args) -> "svn_revnum_t *": 1841 """svn_client_export2(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision, svn_boolean_t force, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1842 return _client.svn_client_export2(*args) 1843 1844def svn_client_export(*args) -> "svn_revnum_t *": 1845 """svn_client_export(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision, svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1846 return _client.svn_client_export(*args) 1847 1848def svn_client_list4(*args) -> "svn_error_t *": 1849 """svn_client_list4(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, apr_array_header_t patterns, svn_depth_t depth, apr_uint32_t dirent_fields, svn_boolean_t fetch_locks, svn_boolean_t include_externals, svn_client_list_func2_t list_func, void * baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 1850 return _client.svn_client_list4(*args) 1851 1852def svn_client_list3(*args) -> "svn_error_t *": 1853 """svn_client_list3(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_uint32_t dirent_fields, svn_boolean_t fetch_locks, svn_boolean_t include_externals, svn_client_list_func2_t list_func, void * baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1854 return _client.svn_client_list3(*args) 1855 1856def svn_client_list2(*args) -> "svn_error_t *": 1857 """svn_client_list2(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, apr_uint32_t dirent_fields, svn_boolean_t fetch_locks, svn_client_list_func_t list_func, void * baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1858 return _client.svn_client_list2(*args) 1859 1860def svn_client_list(*args) -> "svn_error_t *": 1861 """svn_client_list(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, apr_uint32_t dirent_fields, svn_boolean_t fetch_locks, svn_client_list_func_t list_func, void * baton, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1862 return _client.svn_client_list(*args) 1863 1864def svn_client_ls3(*args) -> "apr_hash_t **, apr_hash_t **": 1865 """svn_client_ls3(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1866 return _client.svn_client_ls3(*args) 1867 1868def svn_client_ls2(*args) -> "apr_hash_t **": 1869 """svn_client_ls2(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1870 return _client.svn_client_ls2(*args) 1871 1872def svn_client_ls(*args) -> "apr_hash_t **": 1873 """svn_client_ls(char const * path_or_url, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1874 return _client.svn_client_ls(*args) 1875 1876def svn_client_cat3(*args) -> "apr_hash_t **": 1877 """svn_client_cat3(svn_stream_t * out, char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_boolean_t expand_keywords, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 1878 return _client.svn_client_cat3(*args) 1879 1880def svn_client_cat2(*args) -> "svn_error_t *": 1881 """svn_client_cat2(svn_stream_t * out, char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1882 return _client.svn_client_cat2(*args) 1883 1884def svn_client_cat(*args) -> "svn_error_t *": 1885 """svn_client_cat(svn_stream_t * out, char const * path_or_url, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1886 return _client.svn_client_cat(*args) 1887 1888def svn_client_add_to_changelist(*args) -> "svn_error_t *": 1889 """svn_client_add_to_changelist(apr_array_header_t paths, char const * changelist, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1890 return _client.svn_client_add_to_changelist(*args) 1891 1892def svn_client_remove_from_changelists(*args) -> "svn_error_t *": 1893 """svn_client_remove_from_changelists(apr_array_header_t paths, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1894 return _client.svn_client_remove_from_changelists(*args) 1895 1896def svn_client_get_changelists(*args) -> "svn_error_t *": 1897 """svn_client_get_changelists(char const * path, apr_array_header_t changelists, svn_depth_t depth, svn_changelist_receiver_t callback_func, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1898 return _client.svn_client_get_changelists(*args) 1899 1900def svn_client_lock(*args) -> "svn_error_t *": 1901 """svn_client_lock(apr_array_header_t targets, char const * comment, svn_boolean_t steal_lock, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1902 return _client.svn_client_lock(*args) 1903 1904def svn_client_unlock(*args) -> "svn_error_t *": 1905 """svn_client_unlock(apr_array_header_t targets, svn_boolean_t break_lock, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 1906 return _client.svn_client_unlock(*args) 1907class svn_info_t(object): 1908 """Proxy of C svn_info_t struct.""" 1909 1910 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1911 __repr__ = _swig_repr 1912 URL = _swig_property(_client.svn_info_t_URL_get, _client.svn_info_t_URL_set) 1913 rev = _swig_property(_client.svn_info_t_rev_get, _client.svn_info_t_rev_set) 1914 kind = _swig_property(_client.svn_info_t_kind_get, _client.svn_info_t_kind_set) 1915 repos_root_URL = _swig_property(_client.svn_info_t_repos_root_URL_get, _client.svn_info_t_repos_root_URL_set) 1916 repos_UUID = _swig_property(_client.svn_info_t_repos_UUID_get, _client.svn_info_t_repos_UUID_set) 1917 last_changed_rev = _swig_property(_client.svn_info_t_last_changed_rev_get, _client.svn_info_t_last_changed_rev_set) 1918 last_changed_date = _swig_property(_client.svn_info_t_last_changed_date_get, _client.svn_info_t_last_changed_date_set) 1919 last_changed_author = _swig_property(_client.svn_info_t_last_changed_author_get, _client.svn_info_t_last_changed_author_set) 1920 lock = _swig_property(_client.svn_info_t_lock_get, _client.svn_info_t_lock_set) 1921 has_wc_info = _swig_property(_client.svn_info_t_has_wc_info_get, _client.svn_info_t_has_wc_info_set) 1922 schedule = _swig_property(_client.svn_info_t_schedule_get, _client.svn_info_t_schedule_set) 1923 copyfrom_url = _swig_property(_client.svn_info_t_copyfrom_url_get, _client.svn_info_t_copyfrom_url_set) 1924 copyfrom_rev = _swig_property(_client.svn_info_t_copyfrom_rev_get, _client.svn_info_t_copyfrom_rev_set) 1925 text_time = _swig_property(_client.svn_info_t_text_time_get, _client.svn_info_t_text_time_set) 1926 prop_time = _swig_property(_client.svn_info_t_prop_time_get, _client.svn_info_t_prop_time_set) 1927 checksum = _swig_property(_client.svn_info_t_checksum_get, _client.svn_info_t_checksum_set) 1928 conflict_old = _swig_property(_client.svn_info_t_conflict_old_get, _client.svn_info_t_conflict_old_set) 1929 conflict_new = _swig_property(_client.svn_info_t_conflict_new_get, _client.svn_info_t_conflict_new_set) 1930 conflict_wrk = _swig_property(_client.svn_info_t_conflict_wrk_get, _client.svn_info_t_conflict_wrk_set) 1931 prejfile = _swig_property(_client.svn_info_t_prejfile_get, _client.svn_info_t_prejfile_set) 1932 changelist = _swig_property(_client.svn_info_t_changelist_get, _client.svn_info_t_changelist_set) 1933 depth = _swig_property(_client.svn_info_t_depth_get, _client.svn_info_t_depth_set) 1934 working_size = _swig_property(_client.svn_info_t_working_size_get, _client.svn_info_t_working_size_set) 1935 size = _swig_property(_client.svn_info_t_size_get, _client.svn_info_t_size_set) 1936 size64 = _swig_property(_client.svn_info_t_size64_get, _client.svn_info_t_size64_set) 1937 working_size64 = _swig_property(_client.svn_info_t_working_size64_get, _client.svn_info_t_working_size64_set) 1938 tree_conflict = _swig_property(_client.svn_info_t_tree_conflict_get, _client.svn_info_t_tree_conflict_set) 1939 def set_parent_pool(self, parent_pool=None): 1940 """Create a new proxy object for TYPE""" 1941 import libsvn.core, weakref 1942 self.__dict__["_parent_pool"] = \ 1943 parent_pool or libsvn.core.application_pool; 1944 if self.__dict__["_parent_pool"]: 1945 self.__dict__["_is_valid"] = weakref.ref( 1946 self.__dict__["_parent_pool"]._is_valid) 1947 1948 def assert_valid(self): 1949 """Assert that this object is using valid pool memory""" 1950 if "_is_valid" in self.__dict__: 1951 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1952 1953 def _retrieve_swig_value(self, name, value): 1954 # If we got back a different object than we have cached, we need to copy 1955 # all our metadata into it, so that it looks identical to the one 1956 # originally set. 1957 members = self.__dict__.get('_members') 1958 if members is not None and name in members: 1959 _copy_metadata_deep(value, members[name]) 1960 1961 # Verify that the new object is good 1962 _assert_valid_deep(value) 1963 1964 return value 1965 1966 # Attribute access must be intercepted to ensure that objects coming from 1967 # read attribute access match those that are set with write attribute access. 1968 # Specifically the metadata, such as the associated apr_pool object, should 1969 # match the originally assigned object. 1970 # 1971 # For classic classes it is enough to use __getattr__ to intercept swig 1972 # derived attributes. However, with new style classes SWIG makes use of 1973 # descriptors which mean that __getattr__ is never called. Therefore, 1974 # __getattribute__ must be used for the interception. 1975 1976 if _newclass: 1977 def __getattribute__(self, name): 1978 """Manage access to all attributes of this object.""" 1979 1980 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1981 # items directly present in __dict__ 1982 mydict = object.__getattribute__(self, '__dict__') 1983 1984 if name == "__dict__": 1985 return mydict 1986 1987 if name in mydict: 1988 return mydict[name] 1989 1990 object.__getattribute__(self, 'assert_valid')() 1991 1992 value = _get_instance_attr(self, name) 1993 fn = object.__getattribute__(self, '_retrieve_swig_value') 1994 return fn(name, value) 1995 else: 1996 def __getattr__(self, name): 1997 """Get an attribute from this object""" 1998 self.assert_valid() 1999 2000 value = _swig_getattr(self, self.__class__, name) 2001 2002 return self._retrieve_swig_value(name, value) 2003 2004 def __setattr__(self, name, value): 2005 """Set an attribute on this object""" 2006 self.assert_valid() 2007 2008 # Save a copy of the object, so that the garbage 2009 # collector won't kill the object while it's in 2010 # SWIG-land 2011 self.__dict__.setdefault("_members",{})[name] = value 2012 2013 return _set_instance_attr(self, name, value) 2014 2015 2016 def __init__(self): 2017 """__init__(svn_info_t self) -> svn_info_t""" 2018 this = _client.new_svn_info_t() 2019 try: 2020 self.this.append(this) 2021 except __builtin__.Exception: 2022 self.this = this 2023 __swig_destroy__ = _client.delete_svn_info_t 2024 __del__ = lambda self: None 2025svn_info_t_swigregister = _client.svn_info_t_swigregister 2026svn_info_t_swigregister(svn_info_t) 2027 2028 2029def svn_info_dup(*args) -> "svn_info_t *": 2030 """svn_info_dup(svn_info_t info, apr_pool_t pool) -> svn_info_t""" 2031 return _client.svn_info_dup(*args) 2032class svn_client_info2_t(object): 2033 """Proxy of C svn_client_info2_t struct.""" 2034 2035 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2036 __repr__ = _swig_repr 2037 URL = _swig_property(_client.svn_client_info2_t_URL_get, _client.svn_client_info2_t_URL_set) 2038 rev = _swig_property(_client.svn_client_info2_t_rev_get, _client.svn_client_info2_t_rev_set) 2039 repos_root_URL = _swig_property(_client.svn_client_info2_t_repos_root_URL_get, _client.svn_client_info2_t_repos_root_URL_set) 2040 repos_UUID = _swig_property(_client.svn_client_info2_t_repos_UUID_get, _client.svn_client_info2_t_repos_UUID_set) 2041 kind = _swig_property(_client.svn_client_info2_t_kind_get, _client.svn_client_info2_t_kind_set) 2042 size = _swig_property(_client.svn_client_info2_t_size_get, _client.svn_client_info2_t_size_set) 2043 last_changed_rev = _swig_property(_client.svn_client_info2_t_last_changed_rev_get, _client.svn_client_info2_t_last_changed_rev_set) 2044 last_changed_date = _swig_property(_client.svn_client_info2_t_last_changed_date_get, _client.svn_client_info2_t_last_changed_date_set) 2045 last_changed_author = _swig_property(_client.svn_client_info2_t_last_changed_author_get, _client.svn_client_info2_t_last_changed_author_set) 2046 lock = _swig_property(_client.svn_client_info2_t_lock_get, _client.svn_client_info2_t_lock_set) 2047 wc_info = _swig_property(_client.svn_client_info2_t_wc_info_get, _client.svn_client_info2_t_wc_info_set) 2048 def set_parent_pool(self, parent_pool=None): 2049 """Create a new proxy object for TYPE""" 2050 import libsvn.core, weakref 2051 self.__dict__["_parent_pool"] = \ 2052 parent_pool or libsvn.core.application_pool; 2053 if self.__dict__["_parent_pool"]: 2054 self.__dict__["_is_valid"] = weakref.ref( 2055 self.__dict__["_parent_pool"]._is_valid) 2056 2057 def assert_valid(self): 2058 """Assert that this object is using valid pool memory""" 2059 if "_is_valid" in self.__dict__: 2060 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2061 2062 def _retrieve_swig_value(self, name, value): 2063 # If we got back a different object than we have cached, we need to copy 2064 # all our metadata into it, so that it looks identical to the one 2065 # originally set. 2066 members = self.__dict__.get('_members') 2067 if members is not None and name in members: 2068 _copy_metadata_deep(value, members[name]) 2069 2070 # Verify that the new object is good 2071 _assert_valid_deep(value) 2072 2073 return value 2074 2075 # Attribute access must be intercepted to ensure that objects coming from 2076 # read attribute access match those that are set with write attribute access. 2077 # Specifically the metadata, such as the associated apr_pool object, should 2078 # match the originally assigned object. 2079 # 2080 # For classic classes it is enough to use __getattr__ to intercept swig 2081 # derived attributes. However, with new style classes SWIG makes use of 2082 # descriptors which mean that __getattr__ is never called. Therefore, 2083 # __getattribute__ must be used for the interception. 2084 2085 if _newclass: 2086 def __getattribute__(self, name): 2087 """Manage access to all attributes of this object.""" 2088 2089 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2090 # items directly present in __dict__ 2091 mydict = object.__getattribute__(self, '__dict__') 2092 2093 if name == "__dict__": 2094 return mydict 2095 2096 if name in mydict: 2097 return mydict[name] 2098 2099 object.__getattribute__(self, 'assert_valid')() 2100 2101 value = _get_instance_attr(self, name) 2102 fn = object.__getattribute__(self, '_retrieve_swig_value') 2103 return fn(name, value) 2104 else: 2105 def __getattr__(self, name): 2106 """Get an attribute from this object""" 2107 self.assert_valid() 2108 2109 value = _swig_getattr(self, self.__class__, name) 2110 2111 return self._retrieve_swig_value(name, value) 2112 2113 def __setattr__(self, name, value): 2114 """Set an attribute on this object""" 2115 self.assert_valid() 2116 2117 # Save a copy of the object, so that the garbage 2118 # collector won't kill the object while it's in 2119 # SWIG-land 2120 self.__dict__.setdefault("_members",{})[name] = value 2121 2122 return _set_instance_attr(self, name, value) 2123 2124 2125 def __init__(self): 2126 """__init__(svn_client_info2_t self) -> svn_client_info2_t""" 2127 this = _client.new_svn_client_info2_t() 2128 try: 2129 self.this.append(this) 2130 except __builtin__.Exception: 2131 self.this = this 2132 __swig_destroy__ = _client.delete_svn_client_info2_t 2133 __del__ = lambda self: None 2134svn_client_info2_t_swigregister = _client.svn_client_info2_t_swigregister 2135svn_client_info2_t_swigregister(svn_client_info2_t) 2136 2137 2138def svn_client_info2_dup(*args) -> "svn_client_info2_t *": 2139 """svn_client_info2_dup(svn_client_info2_t info, apr_pool_t pool) -> svn_client_info2_t""" 2140 return _client.svn_client_info2_dup(*args) 2141 2142def svn_client_info4(*args) -> "svn_error_t *": 2143 """svn_client_info4(char const * abspath_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t fetch_excluded, svn_boolean_t fetch_actual_only, svn_boolean_t include_externals, apr_array_header_t changelists, svn_client_info_receiver2_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 2144 return _client.svn_client_info4(*args) 2145 2146def svn_client_info3(*args) -> "svn_error_t *": 2147 """svn_client_info3(char const * abspath_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_depth_t depth, svn_boolean_t fetch_excluded, svn_boolean_t fetch_actual_only, apr_array_header_t changelists, svn_client_info_receiver2_t receiver, void * receiver_baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 2148 return _client.svn_client_info3(*args) 2149 2150def svn_client_info2(*args) -> "svn_error_t *": 2151 """svn_client_info2(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_info_receiver_t receiver, svn_depth_t depth, apr_array_header_t changelists, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2152 return _client.svn_client_info2(*args) 2153 2154def svn_client_info(*args) -> "svn_error_t *": 2155 """svn_client_info(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, svn_info_receiver_t receiver, svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2156 return _client.svn_client_info(*args) 2157 2158def svn_client_get_wc_root(*args) -> "char const **": 2159 """svn_client_get_wc_root(char const * local_abspath, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 2160 return _client.svn_client_get_wc_root(*args) 2161 2162def svn_client_min_max_revisions(*args) -> "svn_revnum_t *, svn_revnum_t *": 2163 """svn_client_min_max_revisions(char const * local_abspath, svn_boolean_t committed, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 2164 return _client.svn_client_min_max_revisions(*args) 2165 2166def svn_client_patch(*args) -> "svn_error_t *": 2167 """svn_client_patch(char const * patch_abspath, char const * wc_dir_abspath, svn_boolean_t dry_run, int strip_count, svn_boolean_t reverse, svn_boolean_t ignore_whitespace, svn_boolean_t remove_tempfiles, svn_client_patch_func_t patch_func, void * patch_baton, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t""" 2168 return _client.svn_client_patch(*args) 2169 2170def svn_client_url_from_path2(*args) -> "char const **": 2171 """svn_client_url_from_path2(char const * path_or_url, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 2172 return _client.svn_client_url_from_path2(*args) 2173 2174def svn_client_url_from_path(*args) -> "char const **": 2175 """svn_client_url_from_path(char const * path_or_url, apr_pool_t pool) -> svn_error_t""" 2176 return _client.svn_client_url_from_path(*args) 2177 2178def svn_client_get_repos_root(*args) -> "char const **, char const **": 2179 """svn_client_get_repos_root(char const * abspath_or_url, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 2180 return _client.svn_client_get_repos_root(*args) 2181 2182def svn_client_root_url_from_path(*args) -> "char const **": 2183 """svn_client_root_url_from_path(char const * path_or_url, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2184 return _client.svn_client_root_url_from_path(*args) 2185 2186def svn_client_uuid_from_url(*args) -> "char const **": 2187 """svn_client_uuid_from_url(char const * url, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2188 return _client.svn_client_uuid_from_url(*args) 2189 2190def svn_client_uuid_from_path2(*args) -> "char const **": 2191 """svn_client_uuid_from_path2(char const * local_abspath, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 2192 return _client.svn_client_uuid_from_path2(*args) 2193 2194def svn_client_uuid_from_path(*args) -> "char const **": 2195 """svn_client_uuid_from_path(char const * path, svn_wc_adm_access_t * adm_access, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2196 return _client.svn_client_uuid_from_path(*args) 2197 2198def svn_client_open_ra_session2(*args) -> "svn_ra_session_t **": 2199 """svn_client_open_ra_session2(char const * url, char const * wri_abspath, svn_client_ctx_t ctx, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 2200 return _client.svn_client_open_ra_session2(*args) 2201 2202def svn_client_open_ra_session(*args) -> "svn_ra_session_t **": 2203 """svn_client_open_ra_session(char const * url, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t""" 2204 return _client.svn_client_open_ra_session(*args) 2205class svn_client_conflict_t(object): 2206 """Proxy of C svn_client_conflict_t struct.""" 2207 2208 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2209 2210 def __init__(self, *args, **kwargs): 2211 raise AttributeError("No constructor defined") 2212 __repr__ = _swig_repr 2213 def set_parent_pool(self, parent_pool=None): 2214 """Create a new proxy object for TYPE""" 2215 import libsvn.core, weakref 2216 self.__dict__["_parent_pool"] = \ 2217 parent_pool or libsvn.core.application_pool; 2218 if self.__dict__["_parent_pool"]: 2219 self.__dict__["_is_valid"] = weakref.ref( 2220 self.__dict__["_parent_pool"]._is_valid) 2221 2222 def assert_valid(self): 2223 """Assert that this object is using valid pool memory""" 2224 if "_is_valid" in self.__dict__: 2225 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2226 2227 def _retrieve_swig_value(self, name, value): 2228 # If we got back a different object than we have cached, we need to copy 2229 # all our metadata into it, so that it looks identical to the one 2230 # originally set. 2231 members = self.__dict__.get('_members') 2232 if members is not None and name in members: 2233 _copy_metadata_deep(value, members[name]) 2234 2235 # Verify that the new object is good 2236 _assert_valid_deep(value) 2237 2238 return value 2239 2240 # Attribute access must be intercepted to ensure that objects coming from 2241 # read attribute access match those that are set with write attribute access. 2242 # Specifically the metadata, such as the associated apr_pool object, should 2243 # match the originally assigned object. 2244 # 2245 # For classic classes it is enough to use __getattr__ to intercept swig 2246 # derived attributes. However, with new style classes SWIG makes use of 2247 # descriptors which mean that __getattr__ is never called. Therefore, 2248 # __getattribute__ must be used for the interception. 2249 2250 if _newclass: 2251 def __getattribute__(self, name): 2252 """Manage access to all attributes of this object.""" 2253 2254 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2255 # items directly present in __dict__ 2256 mydict = object.__getattribute__(self, '__dict__') 2257 2258 if name == "__dict__": 2259 return mydict 2260 2261 if name in mydict: 2262 return mydict[name] 2263 2264 object.__getattribute__(self, 'assert_valid')() 2265 2266 value = _get_instance_attr(self, name) 2267 fn = object.__getattribute__(self, '_retrieve_swig_value') 2268 return fn(name, value) 2269 else: 2270 def __getattr__(self, name): 2271 """Get an attribute from this object""" 2272 self.assert_valid() 2273 2274 value = _swig_getattr(self, self.__class__, name) 2275 2276 return self._retrieve_swig_value(name, value) 2277 2278 def __setattr__(self, name, value): 2279 """Set an attribute on this object""" 2280 self.assert_valid() 2281 2282 # Save a copy of the object, so that the garbage 2283 # collector won't kill the object while it's in 2284 # SWIG-land 2285 self.__dict__.setdefault("_members",{})[name] = value 2286 2287 return _set_instance_attr(self, name, value) 2288 2289svn_client_conflict_t_swigregister = _client.svn_client_conflict_t_swigregister 2290svn_client_conflict_t_swigregister(svn_client_conflict_t) 2291 2292class svn_client_conflict_option_t(object): 2293 """Proxy of C svn_client_conflict_option_t struct.""" 2294 2295 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2296 2297 def __init__(self, *args, **kwargs): 2298 raise AttributeError("No constructor defined") 2299 __repr__ = _swig_repr 2300 def set_parent_pool(self, parent_pool=None): 2301 """Create a new proxy object for TYPE""" 2302 import libsvn.core, weakref 2303 self.__dict__["_parent_pool"] = \ 2304 parent_pool or libsvn.core.application_pool; 2305 if self.__dict__["_parent_pool"]: 2306 self.__dict__["_is_valid"] = weakref.ref( 2307 self.__dict__["_parent_pool"]._is_valid) 2308 2309 def assert_valid(self): 2310 """Assert that this object is using valid pool memory""" 2311 if "_is_valid" in self.__dict__: 2312 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2313 2314 def _retrieve_swig_value(self, name, value): 2315 # If we got back a different object than we have cached, we need to copy 2316 # all our metadata into it, so that it looks identical to the one 2317 # originally set. 2318 members = self.__dict__.get('_members') 2319 if members is not None and name in members: 2320 _copy_metadata_deep(value, members[name]) 2321 2322 # Verify that the new object is good 2323 _assert_valid_deep(value) 2324 2325 return value 2326 2327 # Attribute access must be intercepted to ensure that objects coming from 2328 # read attribute access match those that are set with write attribute access. 2329 # Specifically the metadata, such as the associated apr_pool object, should 2330 # match the originally assigned object. 2331 # 2332 # For classic classes it is enough to use __getattr__ to intercept swig 2333 # derived attributes. However, with new style classes SWIG makes use of 2334 # descriptors which mean that __getattr__ is never called. Therefore, 2335 # __getattribute__ must be used for the interception. 2336 2337 if _newclass: 2338 def __getattribute__(self, name): 2339 """Manage access to all attributes of this object.""" 2340 2341 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2342 # items directly present in __dict__ 2343 mydict = object.__getattribute__(self, '__dict__') 2344 2345 if name == "__dict__": 2346 return mydict 2347 2348 if name in mydict: 2349 return mydict[name] 2350 2351 object.__getattribute__(self, 'assert_valid')() 2352 2353 value = _get_instance_attr(self, name) 2354 fn = object.__getattribute__(self, '_retrieve_swig_value') 2355 return fn(name, value) 2356 else: 2357 def __getattr__(self, name): 2358 """Get an attribute from this object""" 2359 self.assert_valid() 2360 2361 value = _swig_getattr(self, self.__class__, name) 2362 2363 return self._retrieve_swig_value(name, value) 2364 2365 def __setattr__(self, name, value): 2366 """Set an attribute on this object""" 2367 self.assert_valid() 2368 2369 # Save a copy of the object, so that the garbage 2370 # collector won't kill the object while it's in 2371 # SWIG-land 2372 self.__dict__.setdefault("_members",{})[name] = value 2373 2374 return _set_instance_attr(self, name, value) 2375 2376svn_client_conflict_option_t_swigregister = _client.svn_client_conflict_option_t_swigregister 2377svn_client_conflict_option_t_swigregister(svn_client_conflict_option_t) 2378 2379 2380def svn_proplist_invoke_receiver2(*args) -> "svn_error_t *": 2381 """svn_proplist_invoke_receiver2(svn_proplist_receiver2_t _obj, void * baton, char const * path, apr_hash_t prop_hash, apr_array_header_t inherited_props, apr_pool_t scratch_pool) -> svn_error_t""" 2382 return _client.svn_proplist_invoke_receiver2(*args) 2383 2384def svn_proplist_invoke_receiver(*args) -> "svn_error_t *": 2385 """svn_proplist_invoke_receiver(svn_proplist_receiver_t _obj, void * baton, char const * path, apr_hash_t prop_hash, apr_pool_t pool) -> svn_error_t""" 2386 return _client.svn_proplist_invoke_receiver(*args) 2387 2388def svn_client_invoke_get_commit_log3(*args) -> "char const **, char const **": 2389 """svn_client_invoke_get_commit_log3(svn_client_get_commit_log3_t _obj, apr_array_header_t commit_items, void * baton, apr_pool_t pool) -> svn_error_t""" 2390 return _client.svn_client_invoke_get_commit_log3(*args) 2391 2392def svn_client_invoke_get_commit_log2(*args) -> "char const **, char const **": 2393 """svn_client_invoke_get_commit_log2(svn_client_get_commit_log2_t _obj, apr_array_header_t commit_items, void * baton, apr_pool_t pool) -> svn_error_t""" 2394 return _client.svn_client_invoke_get_commit_log2(*args) 2395 2396def svn_client_invoke_get_commit_log(*args) -> "char const **, char const **": 2397 """svn_client_invoke_get_commit_log(svn_client_get_commit_log_t _obj, apr_array_header_t commit_items, void * baton, apr_pool_t pool) -> svn_error_t""" 2398 return _client.svn_client_invoke_get_commit_log(*args) 2399 2400def svn_client_invoke_blame_receiver4(*args) -> "svn_error_t *": 2401 """svn_client_invoke_blame_receiver4(svn_client_blame_receiver4_t _obj, void * baton, apr_int64_t line_no, svn_revnum_t revision, apr_hash_t rev_props, svn_revnum_t merged_revision, apr_hash_t merged_rev_props, char const * merged_path, svn_string_t const * line, svn_boolean_t local_change, apr_pool_t pool) -> svn_error_t""" 2402 return _client.svn_client_invoke_blame_receiver4(*args) 2403 2404def svn_client_invoke_blame_receiver3(*args) -> "svn_error_t *": 2405 """svn_client_invoke_blame_receiver3(svn_client_blame_receiver3_t _obj, void * baton, svn_revnum_t start_revnum, svn_revnum_t end_revnum, apr_int64_t line_no, svn_revnum_t revision, apr_hash_t rev_props, svn_revnum_t merged_revision, apr_hash_t merged_rev_props, char const * merged_path, char const * line, svn_boolean_t local_change, apr_pool_t pool) -> svn_error_t""" 2406 return _client.svn_client_invoke_blame_receiver3(*args) 2407 2408def svn_client_invoke_blame_receiver2(*args) -> "svn_error_t *": 2409 """svn_client_invoke_blame_receiver2(svn_client_blame_receiver2_t _obj, void * baton, apr_int64_t line_no, svn_revnum_t revision, char const * author, char const * date, svn_revnum_t merged_revision, char const * merged_author, char const * merged_date, char const * merged_path, char const * line, apr_pool_t pool) -> svn_error_t""" 2410 return _client.svn_client_invoke_blame_receiver2(*args) 2411 2412def svn_client_invoke_blame_receiver(*args) -> "svn_error_t *": 2413 """svn_client_invoke_blame_receiver(svn_client_blame_receiver_t _obj, void * baton, apr_int64_t line_no, svn_revnum_t revision, char const * author, char const * date, char const * line, apr_pool_t pool) -> svn_error_t""" 2414 return _client.svn_client_invoke_blame_receiver(*args) 2415 2416def svn_client_invoke_diff_summarize_func(*args) -> "svn_error_t *": 2417 """svn_client_invoke_diff_summarize_func(svn_client_diff_summarize_func_t _obj, svn_client_diff_summarize_t diff, void * baton, apr_pool_t pool) -> svn_error_t""" 2418 return _client.svn_client_invoke_diff_summarize_func(*args) 2419 2420def svn_client_invoke__layout_func(*args) -> "svn_error_t *": 2421 """svn_client_invoke__layout_func(svn_client__layout_func_t _obj, void * layout_baton, char const * local_abspath, char const * repos_root_url, svn_boolean_t not_present, svn_boolean_t url_changed, char const * url, svn_boolean_t revision_changed, svn_revnum_t revision, svn_boolean_t depth_changed, svn_depth_t depth, apr_pool_t scratch_pool) -> svn_error_t""" 2422 return _client.svn_client_invoke__layout_func(*args) 2423 2424def svn_client_invoke_import_filter_func(*args) -> "svn_boolean_t *": 2425 """svn_client_invoke_import_filter_func(svn_client_import_filter_func_t _obj, void * baton, char const * local_abspath, svn_io_dirent2_t dirent, apr_pool_t scratch_pool) -> svn_error_t""" 2426 return _client.svn_client_invoke_import_filter_func(*args) 2427 2428def svn_client_invoke_status_func(*args) -> "svn_error_t *": 2429 """svn_client_invoke_status_func(svn_client_status_func_t _obj, void * baton, char const * path, svn_client_status_t status, apr_pool_t scratch_pool) -> svn_error_t""" 2430 return _client.svn_client_invoke_status_func(*args) 2431 2432def svn_client_invoke_conflict_walk_func(*args) -> "svn_error_t *": 2433 """svn_client_invoke_conflict_walk_func(svn_client_conflict_walk_func_t _obj, void * baton, svn_client_conflict_t * conflict, apr_pool_t scratch_pool) -> svn_error_t""" 2434 return _client.svn_client_invoke_conflict_walk_func(*args) 2435 2436def svn_client_invoke_list_func2(*args) -> "svn_error_t *": 2437 """svn_client_invoke_list_func2(svn_client_list_func2_t _obj, void * baton, char const * path, svn_dirent_t dirent, svn_lock_t lock, char const * abs_path, char const * external_parent_url, char const * external_target, apr_pool_t scratch_pool) -> svn_error_t""" 2438 return _client.svn_client_invoke_list_func2(*args) 2439 2440def svn_client_invoke_list_func(*args) -> "svn_error_t *": 2441 """svn_client_invoke_list_func(svn_client_list_func_t _obj, void * baton, char const * path, svn_dirent_t dirent, svn_lock_t lock, char const * abs_path, apr_pool_t pool) -> svn_error_t""" 2442 return _client.svn_client_invoke_list_func(*args) 2443 2444def svn_info_invoke_receiver(*args) -> "svn_error_t *": 2445 """svn_info_invoke_receiver(svn_info_receiver_t _obj, void * baton, char const * path, svn_info_t info, apr_pool_t pool) -> svn_error_t""" 2446 return _client.svn_info_invoke_receiver(*args) 2447 2448def svn_client_invoke_info_receiver2(*args) -> "svn_error_t *": 2449 """svn_client_invoke_info_receiver2(svn_client_info_receiver2_t _obj, void * baton, char const * abspath_or_url, svn_client_info2_t info, apr_pool_t scratch_pool) -> svn_error_t""" 2450 return _client.svn_client_invoke_info_receiver2(*args) 2451 2452def svn_client_invoke_patch_func(*args) -> "svn_boolean_t *": 2453 """svn_client_invoke_patch_func(svn_client_patch_func_t _obj, void * baton, char const * canon_path_from_patchfile, char const * patch_abspath, char const * reject_abspath, apr_pool_t scratch_pool) -> svn_error_t""" 2454 return _client.svn_client_invoke_patch_func(*args) 2455class svn_proplist_receiver2_t(object): 2456 """Proxy of C svn_proplist_receiver2_t struct.""" 2457 2458 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2459 2460 def __init__(self, *args, **kwargs): 2461 raise AttributeError("No constructor defined") 2462 __repr__ = _swig_repr 2463 def set_parent_pool(self, parent_pool=None): 2464 """Create a new proxy object for TYPE""" 2465 import libsvn.core, weakref 2466 self.__dict__["_parent_pool"] = \ 2467 parent_pool or libsvn.core.application_pool; 2468 if self.__dict__["_parent_pool"]: 2469 self.__dict__["_is_valid"] = weakref.ref( 2470 self.__dict__["_parent_pool"]._is_valid) 2471 2472 def assert_valid(self): 2473 """Assert that this object is using valid pool memory""" 2474 if "_is_valid" in self.__dict__: 2475 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2476 2477 def _retrieve_swig_value(self, name, value): 2478 # If we got back a different object than we have cached, we need to copy 2479 # all our metadata into it, so that it looks identical to the one 2480 # originally set. 2481 members = self.__dict__.get('_members') 2482 if members is not None and name in members: 2483 _copy_metadata_deep(value, members[name]) 2484 2485 # Verify that the new object is good 2486 _assert_valid_deep(value) 2487 2488 return value 2489 2490 # Attribute access must be intercepted to ensure that objects coming from 2491 # read attribute access match those that are set with write attribute access. 2492 # Specifically the metadata, such as the associated apr_pool object, should 2493 # match the originally assigned object. 2494 # 2495 # For classic classes it is enough to use __getattr__ to intercept swig 2496 # derived attributes. However, with new style classes SWIG makes use of 2497 # descriptors which mean that __getattr__ is never called. Therefore, 2498 # __getattribute__ must be used for the interception. 2499 2500 if _newclass: 2501 def __getattribute__(self, name): 2502 """Manage access to all attributes of this object.""" 2503 2504 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2505 # items directly present in __dict__ 2506 mydict = object.__getattribute__(self, '__dict__') 2507 2508 if name == "__dict__": 2509 return mydict 2510 2511 if name in mydict: 2512 return mydict[name] 2513 2514 object.__getattribute__(self, 'assert_valid')() 2515 2516 value = _get_instance_attr(self, name) 2517 fn = object.__getattribute__(self, '_retrieve_swig_value') 2518 return fn(name, value) 2519 else: 2520 def __getattr__(self, name): 2521 """Get an attribute from this object""" 2522 self.assert_valid() 2523 2524 value = _swig_getattr(self, self.__class__, name) 2525 2526 return self._retrieve_swig_value(name, value) 2527 2528 def __setattr__(self, name, value): 2529 """Set an attribute on this object""" 2530 self.assert_valid() 2531 2532 # Save a copy of the object, so that the garbage 2533 # collector won't kill the object while it's in 2534 # SWIG-land 2535 self.__dict__.setdefault("_members",{})[name] = value 2536 2537 return _set_instance_attr(self, name, value) 2538 2539 2540 def __call__(self, *args): 2541 return svn_proplist_invoke_receiver2(self, *args) 2542 2543svn_proplist_receiver2_t_swigregister = _client.svn_proplist_receiver2_t_swigregister 2544svn_proplist_receiver2_t_swigregister(svn_proplist_receiver2_t) 2545 2546class svn_proplist_receiver_t(object): 2547 """Proxy of C svn_proplist_receiver_t struct.""" 2548 2549 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2550 2551 def __init__(self, *args, **kwargs): 2552 raise AttributeError("No constructor defined") 2553 __repr__ = _swig_repr 2554 def set_parent_pool(self, parent_pool=None): 2555 """Create a new proxy object for TYPE""" 2556 import libsvn.core, weakref 2557 self.__dict__["_parent_pool"] = \ 2558 parent_pool or libsvn.core.application_pool; 2559 if self.__dict__["_parent_pool"]: 2560 self.__dict__["_is_valid"] = weakref.ref( 2561 self.__dict__["_parent_pool"]._is_valid) 2562 2563 def assert_valid(self): 2564 """Assert that this object is using valid pool memory""" 2565 if "_is_valid" in self.__dict__: 2566 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2567 2568 def _retrieve_swig_value(self, name, value): 2569 # If we got back a different object than we have cached, we need to copy 2570 # all our metadata into it, so that it looks identical to the one 2571 # originally set. 2572 members = self.__dict__.get('_members') 2573 if members is not None and name in members: 2574 _copy_metadata_deep(value, members[name]) 2575 2576 # Verify that the new object is good 2577 _assert_valid_deep(value) 2578 2579 return value 2580 2581 # Attribute access must be intercepted to ensure that objects coming from 2582 # read attribute access match those that are set with write attribute access. 2583 # Specifically the metadata, such as the associated apr_pool object, should 2584 # match the originally assigned object. 2585 # 2586 # For classic classes it is enough to use __getattr__ to intercept swig 2587 # derived attributes. However, with new style classes SWIG makes use of 2588 # descriptors which mean that __getattr__ is never called. Therefore, 2589 # __getattribute__ must be used for the interception. 2590 2591 if _newclass: 2592 def __getattribute__(self, name): 2593 """Manage access to all attributes of this object.""" 2594 2595 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2596 # items directly present in __dict__ 2597 mydict = object.__getattribute__(self, '__dict__') 2598 2599 if name == "__dict__": 2600 return mydict 2601 2602 if name in mydict: 2603 return mydict[name] 2604 2605 object.__getattribute__(self, 'assert_valid')() 2606 2607 value = _get_instance_attr(self, name) 2608 fn = object.__getattribute__(self, '_retrieve_swig_value') 2609 return fn(name, value) 2610 else: 2611 def __getattr__(self, name): 2612 """Get an attribute from this object""" 2613 self.assert_valid() 2614 2615 value = _swig_getattr(self, self.__class__, name) 2616 2617 return self._retrieve_swig_value(name, value) 2618 2619 def __setattr__(self, name, value): 2620 """Set an attribute on this object""" 2621 self.assert_valid() 2622 2623 # Save a copy of the object, so that the garbage 2624 # collector won't kill the object while it's in 2625 # SWIG-land 2626 self.__dict__.setdefault("_members",{})[name] = value 2627 2628 return _set_instance_attr(self, name, value) 2629 2630 2631 def __call__(self, *args): 2632 return svn_proplist_invoke_receiver(self, *args) 2633 2634svn_proplist_receiver_t_swigregister = _client.svn_proplist_receiver_t_swigregister 2635svn_proplist_receiver_t_swigregister(svn_proplist_receiver_t) 2636 2637class svn_client_get_commit_log3_t(object): 2638 """Proxy of C svn_client_get_commit_log3_t struct.""" 2639 2640 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2641 2642 def __init__(self, *args, **kwargs): 2643 raise AttributeError("No constructor defined") 2644 __repr__ = _swig_repr 2645 def set_parent_pool(self, parent_pool=None): 2646 """Create a new proxy object for TYPE""" 2647 import libsvn.core, weakref 2648 self.__dict__["_parent_pool"] = \ 2649 parent_pool or libsvn.core.application_pool; 2650 if self.__dict__["_parent_pool"]: 2651 self.__dict__["_is_valid"] = weakref.ref( 2652 self.__dict__["_parent_pool"]._is_valid) 2653 2654 def assert_valid(self): 2655 """Assert that this object is using valid pool memory""" 2656 if "_is_valid" in self.__dict__: 2657 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2658 2659 def _retrieve_swig_value(self, name, value): 2660 # If we got back a different object than we have cached, we need to copy 2661 # all our metadata into it, so that it looks identical to the one 2662 # originally set. 2663 members = self.__dict__.get('_members') 2664 if members is not None and name in members: 2665 _copy_metadata_deep(value, members[name]) 2666 2667 # Verify that the new object is good 2668 _assert_valid_deep(value) 2669 2670 return value 2671 2672 # Attribute access must be intercepted to ensure that objects coming from 2673 # read attribute access match those that are set with write attribute access. 2674 # Specifically the metadata, such as the associated apr_pool object, should 2675 # match the originally assigned object. 2676 # 2677 # For classic classes it is enough to use __getattr__ to intercept swig 2678 # derived attributes. However, with new style classes SWIG makes use of 2679 # descriptors which mean that __getattr__ is never called. Therefore, 2680 # __getattribute__ must be used for the interception. 2681 2682 if _newclass: 2683 def __getattribute__(self, name): 2684 """Manage access to all attributes of this object.""" 2685 2686 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2687 # items directly present in __dict__ 2688 mydict = object.__getattribute__(self, '__dict__') 2689 2690 if name == "__dict__": 2691 return mydict 2692 2693 if name in mydict: 2694 return mydict[name] 2695 2696 object.__getattribute__(self, 'assert_valid')() 2697 2698 value = _get_instance_attr(self, name) 2699 fn = object.__getattribute__(self, '_retrieve_swig_value') 2700 return fn(name, value) 2701 else: 2702 def __getattr__(self, name): 2703 """Get an attribute from this object""" 2704 self.assert_valid() 2705 2706 value = _swig_getattr(self, self.__class__, name) 2707 2708 return self._retrieve_swig_value(name, value) 2709 2710 def __setattr__(self, name, value): 2711 """Set an attribute on this object""" 2712 self.assert_valid() 2713 2714 # Save a copy of the object, so that the garbage 2715 # collector won't kill the object while it's in 2716 # SWIG-land 2717 self.__dict__.setdefault("_members",{})[name] = value 2718 2719 return _set_instance_attr(self, name, value) 2720 2721 2722 def __call__(self, *args): 2723 return svn_client_invoke_get_commit_log3(self, *args) 2724 2725svn_client_get_commit_log3_t_swigregister = _client.svn_client_get_commit_log3_t_swigregister 2726svn_client_get_commit_log3_t_swigregister(svn_client_get_commit_log3_t) 2727 2728class svn_client_get_commit_log2_t(object): 2729 """Proxy of C svn_client_get_commit_log2_t struct.""" 2730 2731 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2732 2733 def __init__(self, *args, **kwargs): 2734 raise AttributeError("No constructor defined") 2735 __repr__ = _swig_repr 2736 def set_parent_pool(self, parent_pool=None): 2737 """Create a new proxy object for TYPE""" 2738 import libsvn.core, weakref 2739 self.__dict__["_parent_pool"] = \ 2740 parent_pool or libsvn.core.application_pool; 2741 if self.__dict__["_parent_pool"]: 2742 self.__dict__["_is_valid"] = weakref.ref( 2743 self.__dict__["_parent_pool"]._is_valid) 2744 2745 def assert_valid(self): 2746 """Assert that this object is using valid pool memory""" 2747 if "_is_valid" in self.__dict__: 2748 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2749 2750 def _retrieve_swig_value(self, name, value): 2751 # If we got back a different object than we have cached, we need to copy 2752 # all our metadata into it, so that it looks identical to the one 2753 # originally set. 2754 members = self.__dict__.get('_members') 2755 if members is not None and name in members: 2756 _copy_metadata_deep(value, members[name]) 2757 2758 # Verify that the new object is good 2759 _assert_valid_deep(value) 2760 2761 return value 2762 2763 # Attribute access must be intercepted to ensure that objects coming from 2764 # read attribute access match those that are set with write attribute access. 2765 # Specifically the metadata, such as the associated apr_pool object, should 2766 # match the originally assigned object. 2767 # 2768 # For classic classes it is enough to use __getattr__ to intercept swig 2769 # derived attributes. However, with new style classes SWIG makes use of 2770 # descriptors which mean that __getattr__ is never called. Therefore, 2771 # __getattribute__ must be used for the interception. 2772 2773 if _newclass: 2774 def __getattribute__(self, name): 2775 """Manage access to all attributes of this object.""" 2776 2777 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2778 # items directly present in __dict__ 2779 mydict = object.__getattribute__(self, '__dict__') 2780 2781 if name == "__dict__": 2782 return mydict 2783 2784 if name in mydict: 2785 return mydict[name] 2786 2787 object.__getattribute__(self, 'assert_valid')() 2788 2789 value = _get_instance_attr(self, name) 2790 fn = object.__getattribute__(self, '_retrieve_swig_value') 2791 return fn(name, value) 2792 else: 2793 def __getattr__(self, name): 2794 """Get an attribute from this object""" 2795 self.assert_valid() 2796 2797 value = _swig_getattr(self, self.__class__, name) 2798 2799 return self._retrieve_swig_value(name, value) 2800 2801 def __setattr__(self, name, value): 2802 """Set an attribute on this object""" 2803 self.assert_valid() 2804 2805 # Save a copy of the object, so that the garbage 2806 # collector won't kill the object while it's in 2807 # SWIG-land 2808 self.__dict__.setdefault("_members",{})[name] = value 2809 2810 return _set_instance_attr(self, name, value) 2811 2812 2813 def __call__(self, *args): 2814 return svn_client_invoke_get_commit_log2(self, *args) 2815 2816svn_client_get_commit_log2_t_swigregister = _client.svn_client_get_commit_log2_t_swigregister 2817svn_client_get_commit_log2_t_swigregister(svn_client_get_commit_log2_t) 2818 2819class svn_client_get_commit_log_t(object): 2820 """Proxy of C svn_client_get_commit_log_t struct.""" 2821 2822 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2823 2824 def __init__(self, *args, **kwargs): 2825 raise AttributeError("No constructor defined") 2826 __repr__ = _swig_repr 2827 def set_parent_pool(self, parent_pool=None): 2828 """Create a new proxy object for TYPE""" 2829 import libsvn.core, weakref 2830 self.__dict__["_parent_pool"] = \ 2831 parent_pool or libsvn.core.application_pool; 2832 if self.__dict__["_parent_pool"]: 2833 self.__dict__["_is_valid"] = weakref.ref( 2834 self.__dict__["_parent_pool"]._is_valid) 2835 2836 def assert_valid(self): 2837 """Assert that this object is using valid pool memory""" 2838 if "_is_valid" in self.__dict__: 2839 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2840 2841 def _retrieve_swig_value(self, name, value): 2842 # If we got back a different object than we have cached, we need to copy 2843 # all our metadata into it, so that it looks identical to the one 2844 # originally set. 2845 members = self.__dict__.get('_members') 2846 if members is not None and name in members: 2847 _copy_metadata_deep(value, members[name]) 2848 2849 # Verify that the new object is good 2850 _assert_valid_deep(value) 2851 2852 return value 2853 2854 # Attribute access must be intercepted to ensure that objects coming from 2855 # read attribute access match those that are set with write attribute access. 2856 # Specifically the metadata, such as the associated apr_pool object, should 2857 # match the originally assigned object. 2858 # 2859 # For classic classes it is enough to use __getattr__ to intercept swig 2860 # derived attributes. However, with new style classes SWIG makes use of 2861 # descriptors which mean that __getattr__ is never called. Therefore, 2862 # __getattribute__ must be used for the interception. 2863 2864 if _newclass: 2865 def __getattribute__(self, name): 2866 """Manage access to all attributes of this object.""" 2867 2868 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2869 # items directly present in __dict__ 2870 mydict = object.__getattribute__(self, '__dict__') 2871 2872 if name == "__dict__": 2873 return mydict 2874 2875 if name in mydict: 2876 return mydict[name] 2877 2878 object.__getattribute__(self, 'assert_valid')() 2879 2880 value = _get_instance_attr(self, name) 2881 fn = object.__getattribute__(self, '_retrieve_swig_value') 2882 return fn(name, value) 2883 else: 2884 def __getattr__(self, name): 2885 """Get an attribute from this object""" 2886 self.assert_valid() 2887 2888 value = _swig_getattr(self, self.__class__, name) 2889 2890 return self._retrieve_swig_value(name, value) 2891 2892 def __setattr__(self, name, value): 2893 """Set an attribute on this object""" 2894 self.assert_valid() 2895 2896 # Save a copy of the object, so that the garbage 2897 # collector won't kill the object while it's in 2898 # SWIG-land 2899 self.__dict__.setdefault("_members",{})[name] = value 2900 2901 return _set_instance_attr(self, name, value) 2902 2903 2904 def __call__(self, *args): 2905 return svn_client_invoke_get_commit_log(self, *args) 2906 2907svn_client_get_commit_log_t_swigregister = _client.svn_client_get_commit_log_t_swigregister 2908svn_client_get_commit_log_t_swigregister(svn_client_get_commit_log_t) 2909 2910class svn_client_blame_receiver4_t(object): 2911 """Proxy of C svn_client_blame_receiver4_t struct.""" 2912 2913 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2914 2915 def __init__(self, *args, **kwargs): 2916 raise AttributeError("No constructor defined") 2917 __repr__ = _swig_repr 2918 def set_parent_pool(self, parent_pool=None): 2919 """Create a new proxy object for TYPE""" 2920 import libsvn.core, weakref 2921 self.__dict__["_parent_pool"] = \ 2922 parent_pool or libsvn.core.application_pool; 2923 if self.__dict__["_parent_pool"]: 2924 self.__dict__["_is_valid"] = weakref.ref( 2925 self.__dict__["_parent_pool"]._is_valid) 2926 2927 def assert_valid(self): 2928 """Assert that this object is using valid pool memory""" 2929 if "_is_valid" in self.__dict__: 2930 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2931 2932 def _retrieve_swig_value(self, name, value): 2933 # If we got back a different object than we have cached, we need to copy 2934 # all our metadata into it, so that it looks identical to the one 2935 # originally set. 2936 members = self.__dict__.get('_members') 2937 if members is not None and name in members: 2938 _copy_metadata_deep(value, members[name]) 2939 2940 # Verify that the new object is good 2941 _assert_valid_deep(value) 2942 2943 return value 2944 2945 # Attribute access must be intercepted to ensure that objects coming from 2946 # read attribute access match those that are set with write attribute access. 2947 # Specifically the metadata, such as the associated apr_pool object, should 2948 # match the originally assigned object. 2949 # 2950 # For classic classes it is enough to use __getattr__ to intercept swig 2951 # derived attributes. However, with new style classes SWIG makes use of 2952 # descriptors which mean that __getattr__ is never called. Therefore, 2953 # __getattribute__ must be used for the interception. 2954 2955 if _newclass: 2956 def __getattribute__(self, name): 2957 """Manage access to all attributes of this object.""" 2958 2959 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2960 # items directly present in __dict__ 2961 mydict = object.__getattribute__(self, '__dict__') 2962 2963 if name == "__dict__": 2964 return mydict 2965 2966 if name in mydict: 2967 return mydict[name] 2968 2969 object.__getattribute__(self, 'assert_valid')() 2970 2971 value = _get_instance_attr(self, name) 2972 fn = object.__getattribute__(self, '_retrieve_swig_value') 2973 return fn(name, value) 2974 else: 2975 def __getattr__(self, name): 2976 """Get an attribute from this object""" 2977 self.assert_valid() 2978 2979 value = _swig_getattr(self, self.__class__, name) 2980 2981 return self._retrieve_swig_value(name, value) 2982 2983 def __setattr__(self, name, value): 2984 """Set an attribute on this object""" 2985 self.assert_valid() 2986 2987 # Save a copy of the object, so that the garbage 2988 # collector won't kill the object while it's in 2989 # SWIG-land 2990 self.__dict__.setdefault("_members",{})[name] = value 2991 2992 return _set_instance_attr(self, name, value) 2993 2994 2995 def __call__(self, *args): 2996 return svn_client_invoke_blame_receiver4(self, *args) 2997 2998svn_client_blame_receiver4_t_swigregister = _client.svn_client_blame_receiver4_t_swigregister 2999svn_client_blame_receiver4_t_swigregister(svn_client_blame_receiver4_t) 3000 3001class svn_client_blame_receiver3_t(object): 3002 """Proxy of C svn_client_blame_receiver3_t struct.""" 3003 3004 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3005 3006 def __init__(self, *args, **kwargs): 3007 raise AttributeError("No constructor defined") 3008 __repr__ = _swig_repr 3009 def set_parent_pool(self, parent_pool=None): 3010 """Create a new proxy object for TYPE""" 3011 import libsvn.core, weakref 3012 self.__dict__["_parent_pool"] = \ 3013 parent_pool or libsvn.core.application_pool; 3014 if self.__dict__["_parent_pool"]: 3015 self.__dict__["_is_valid"] = weakref.ref( 3016 self.__dict__["_parent_pool"]._is_valid) 3017 3018 def assert_valid(self): 3019 """Assert that this object is using valid pool memory""" 3020 if "_is_valid" in self.__dict__: 3021 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3022 3023 def _retrieve_swig_value(self, name, value): 3024 # If we got back a different object than we have cached, we need to copy 3025 # all our metadata into it, so that it looks identical to the one 3026 # originally set. 3027 members = self.__dict__.get('_members') 3028 if members is not None and name in members: 3029 _copy_metadata_deep(value, members[name]) 3030 3031 # Verify that the new object is good 3032 _assert_valid_deep(value) 3033 3034 return value 3035 3036 # Attribute access must be intercepted to ensure that objects coming from 3037 # read attribute access match those that are set with write attribute access. 3038 # Specifically the metadata, such as the associated apr_pool object, should 3039 # match the originally assigned object. 3040 # 3041 # For classic classes it is enough to use __getattr__ to intercept swig 3042 # derived attributes. However, with new style classes SWIG makes use of 3043 # descriptors which mean that __getattr__ is never called. Therefore, 3044 # __getattribute__ must be used for the interception. 3045 3046 if _newclass: 3047 def __getattribute__(self, name): 3048 """Manage access to all attributes of this object.""" 3049 3050 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3051 # items directly present in __dict__ 3052 mydict = object.__getattribute__(self, '__dict__') 3053 3054 if name == "__dict__": 3055 return mydict 3056 3057 if name in mydict: 3058 return mydict[name] 3059 3060 object.__getattribute__(self, 'assert_valid')() 3061 3062 value = _get_instance_attr(self, name) 3063 fn = object.__getattribute__(self, '_retrieve_swig_value') 3064 return fn(name, value) 3065 else: 3066 def __getattr__(self, name): 3067 """Get an attribute from this object""" 3068 self.assert_valid() 3069 3070 value = _swig_getattr(self, self.__class__, name) 3071 3072 return self._retrieve_swig_value(name, value) 3073 3074 def __setattr__(self, name, value): 3075 """Set an attribute on this object""" 3076 self.assert_valid() 3077 3078 # Save a copy of the object, so that the garbage 3079 # collector won't kill the object while it's in 3080 # SWIG-land 3081 self.__dict__.setdefault("_members",{})[name] = value 3082 3083 return _set_instance_attr(self, name, value) 3084 3085 3086 def __call__(self, *args): 3087 return svn_client_invoke_blame_receiver3(self, *args) 3088 3089svn_client_blame_receiver3_t_swigregister = _client.svn_client_blame_receiver3_t_swigregister 3090svn_client_blame_receiver3_t_swigregister(svn_client_blame_receiver3_t) 3091 3092class svn_client_blame_receiver2_t(object): 3093 """Proxy of C svn_client_blame_receiver2_t struct.""" 3094 3095 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3096 3097 def __init__(self, *args, **kwargs): 3098 raise AttributeError("No constructor defined") 3099 __repr__ = _swig_repr 3100 def set_parent_pool(self, parent_pool=None): 3101 """Create a new proxy object for TYPE""" 3102 import libsvn.core, weakref 3103 self.__dict__["_parent_pool"] = \ 3104 parent_pool or libsvn.core.application_pool; 3105 if self.__dict__["_parent_pool"]: 3106 self.__dict__["_is_valid"] = weakref.ref( 3107 self.__dict__["_parent_pool"]._is_valid) 3108 3109 def assert_valid(self): 3110 """Assert that this object is using valid pool memory""" 3111 if "_is_valid" in self.__dict__: 3112 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3113 3114 def _retrieve_swig_value(self, name, value): 3115 # If we got back a different object than we have cached, we need to copy 3116 # all our metadata into it, so that it looks identical to the one 3117 # originally set. 3118 members = self.__dict__.get('_members') 3119 if members is not None and name in members: 3120 _copy_metadata_deep(value, members[name]) 3121 3122 # Verify that the new object is good 3123 _assert_valid_deep(value) 3124 3125 return value 3126 3127 # Attribute access must be intercepted to ensure that objects coming from 3128 # read attribute access match those that are set with write attribute access. 3129 # Specifically the metadata, such as the associated apr_pool object, should 3130 # match the originally assigned object. 3131 # 3132 # For classic classes it is enough to use __getattr__ to intercept swig 3133 # derived attributes. However, with new style classes SWIG makes use of 3134 # descriptors which mean that __getattr__ is never called. Therefore, 3135 # __getattribute__ must be used for the interception. 3136 3137 if _newclass: 3138 def __getattribute__(self, name): 3139 """Manage access to all attributes of this object.""" 3140 3141 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3142 # items directly present in __dict__ 3143 mydict = object.__getattribute__(self, '__dict__') 3144 3145 if name == "__dict__": 3146 return mydict 3147 3148 if name in mydict: 3149 return mydict[name] 3150 3151 object.__getattribute__(self, 'assert_valid')() 3152 3153 value = _get_instance_attr(self, name) 3154 fn = object.__getattribute__(self, '_retrieve_swig_value') 3155 return fn(name, value) 3156 else: 3157 def __getattr__(self, name): 3158 """Get an attribute from this object""" 3159 self.assert_valid() 3160 3161 value = _swig_getattr(self, self.__class__, name) 3162 3163 return self._retrieve_swig_value(name, value) 3164 3165 def __setattr__(self, name, value): 3166 """Set an attribute on this object""" 3167 self.assert_valid() 3168 3169 # Save a copy of the object, so that the garbage 3170 # collector won't kill the object while it's in 3171 # SWIG-land 3172 self.__dict__.setdefault("_members",{})[name] = value 3173 3174 return _set_instance_attr(self, name, value) 3175 3176 3177 def __call__(self, *args): 3178 return svn_client_invoke_blame_receiver2(self, *args) 3179 3180svn_client_blame_receiver2_t_swigregister = _client.svn_client_blame_receiver2_t_swigregister 3181svn_client_blame_receiver2_t_swigregister(svn_client_blame_receiver2_t) 3182 3183class svn_client_blame_receiver_t(object): 3184 """Proxy of C svn_client_blame_receiver_t struct.""" 3185 3186 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3187 3188 def __init__(self, *args, **kwargs): 3189 raise AttributeError("No constructor defined") 3190 __repr__ = _swig_repr 3191 def set_parent_pool(self, parent_pool=None): 3192 """Create a new proxy object for TYPE""" 3193 import libsvn.core, weakref 3194 self.__dict__["_parent_pool"] = \ 3195 parent_pool or libsvn.core.application_pool; 3196 if self.__dict__["_parent_pool"]: 3197 self.__dict__["_is_valid"] = weakref.ref( 3198 self.__dict__["_parent_pool"]._is_valid) 3199 3200 def assert_valid(self): 3201 """Assert that this object is using valid pool memory""" 3202 if "_is_valid" in self.__dict__: 3203 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3204 3205 def _retrieve_swig_value(self, name, value): 3206 # If we got back a different object than we have cached, we need to copy 3207 # all our metadata into it, so that it looks identical to the one 3208 # originally set. 3209 members = self.__dict__.get('_members') 3210 if members is not None and name in members: 3211 _copy_metadata_deep(value, members[name]) 3212 3213 # Verify that the new object is good 3214 _assert_valid_deep(value) 3215 3216 return value 3217 3218 # Attribute access must be intercepted to ensure that objects coming from 3219 # read attribute access match those that are set with write attribute access. 3220 # Specifically the metadata, such as the associated apr_pool object, should 3221 # match the originally assigned object. 3222 # 3223 # For classic classes it is enough to use __getattr__ to intercept swig 3224 # derived attributes. However, with new style classes SWIG makes use of 3225 # descriptors which mean that __getattr__ is never called. Therefore, 3226 # __getattribute__ must be used for the interception. 3227 3228 if _newclass: 3229 def __getattribute__(self, name): 3230 """Manage access to all attributes of this object.""" 3231 3232 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3233 # items directly present in __dict__ 3234 mydict = object.__getattribute__(self, '__dict__') 3235 3236 if name == "__dict__": 3237 return mydict 3238 3239 if name in mydict: 3240 return mydict[name] 3241 3242 object.__getattribute__(self, 'assert_valid')() 3243 3244 value = _get_instance_attr(self, name) 3245 fn = object.__getattribute__(self, '_retrieve_swig_value') 3246 return fn(name, value) 3247 else: 3248 def __getattr__(self, name): 3249 """Get an attribute from this object""" 3250 self.assert_valid() 3251 3252 value = _swig_getattr(self, self.__class__, name) 3253 3254 return self._retrieve_swig_value(name, value) 3255 3256 def __setattr__(self, name, value): 3257 """Set an attribute on this object""" 3258 self.assert_valid() 3259 3260 # Save a copy of the object, so that the garbage 3261 # collector won't kill the object while it's in 3262 # SWIG-land 3263 self.__dict__.setdefault("_members",{})[name] = value 3264 3265 return _set_instance_attr(self, name, value) 3266 3267 3268 def __call__(self, *args): 3269 return svn_client_invoke_blame_receiver(self, *args) 3270 3271svn_client_blame_receiver_t_swigregister = _client.svn_client_blame_receiver_t_swigregister 3272svn_client_blame_receiver_t_swigregister(svn_client_blame_receiver_t) 3273 3274class svn_client_diff_summarize_func_t(object): 3275 """Proxy of C svn_client_diff_summarize_func_t struct.""" 3276 3277 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3278 3279 def __init__(self, *args, **kwargs): 3280 raise AttributeError("No constructor defined") 3281 __repr__ = _swig_repr 3282 def set_parent_pool(self, parent_pool=None): 3283 """Create a new proxy object for TYPE""" 3284 import libsvn.core, weakref 3285 self.__dict__["_parent_pool"] = \ 3286 parent_pool or libsvn.core.application_pool; 3287 if self.__dict__["_parent_pool"]: 3288 self.__dict__["_is_valid"] = weakref.ref( 3289 self.__dict__["_parent_pool"]._is_valid) 3290 3291 def assert_valid(self): 3292 """Assert that this object is using valid pool memory""" 3293 if "_is_valid" in self.__dict__: 3294 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3295 3296 def _retrieve_swig_value(self, name, value): 3297 # If we got back a different object than we have cached, we need to copy 3298 # all our metadata into it, so that it looks identical to the one 3299 # originally set. 3300 members = self.__dict__.get('_members') 3301 if members is not None and name in members: 3302 _copy_metadata_deep(value, members[name]) 3303 3304 # Verify that the new object is good 3305 _assert_valid_deep(value) 3306 3307 return value 3308 3309 # Attribute access must be intercepted to ensure that objects coming from 3310 # read attribute access match those that are set with write attribute access. 3311 # Specifically the metadata, such as the associated apr_pool object, should 3312 # match the originally assigned object. 3313 # 3314 # For classic classes it is enough to use __getattr__ to intercept swig 3315 # derived attributes. However, with new style classes SWIG makes use of 3316 # descriptors which mean that __getattr__ is never called. Therefore, 3317 # __getattribute__ must be used for the interception. 3318 3319 if _newclass: 3320 def __getattribute__(self, name): 3321 """Manage access to all attributes of this object.""" 3322 3323 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3324 # items directly present in __dict__ 3325 mydict = object.__getattribute__(self, '__dict__') 3326 3327 if name == "__dict__": 3328 return mydict 3329 3330 if name in mydict: 3331 return mydict[name] 3332 3333 object.__getattribute__(self, 'assert_valid')() 3334 3335 value = _get_instance_attr(self, name) 3336 fn = object.__getattribute__(self, '_retrieve_swig_value') 3337 return fn(name, value) 3338 else: 3339 def __getattr__(self, name): 3340 """Get an attribute from this object""" 3341 self.assert_valid() 3342 3343 value = _swig_getattr(self, self.__class__, name) 3344 3345 return self._retrieve_swig_value(name, value) 3346 3347 def __setattr__(self, name, value): 3348 """Set an attribute on this object""" 3349 self.assert_valid() 3350 3351 # Save a copy of the object, so that the garbage 3352 # collector won't kill the object while it's in 3353 # SWIG-land 3354 self.__dict__.setdefault("_members",{})[name] = value 3355 3356 return _set_instance_attr(self, name, value) 3357 3358 3359 def __call__(self, *args): 3360 return svn_client_invoke_diff_summarize_func(self, *args) 3361 3362svn_client_diff_summarize_func_t_swigregister = _client.svn_client_diff_summarize_func_t_swigregister 3363svn_client_diff_summarize_func_t_swigregister(svn_client_diff_summarize_func_t) 3364 3365class svn_client__layout_func_t(object): 3366 """Proxy of C svn_client__layout_func_t struct.""" 3367 3368 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3369 3370 def __init__(self, *args, **kwargs): 3371 raise AttributeError("No constructor defined") 3372 __repr__ = _swig_repr 3373 def set_parent_pool(self, parent_pool=None): 3374 """Create a new proxy object for TYPE""" 3375 import libsvn.core, weakref 3376 self.__dict__["_parent_pool"] = \ 3377 parent_pool or libsvn.core.application_pool; 3378 if self.__dict__["_parent_pool"]: 3379 self.__dict__["_is_valid"] = weakref.ref( 3380 self.__dict__["_parent_pool"]._is_valid) 3381 3382 def assert_valid(self): 3383 """Assert that this object is using valid pool memory""" 3384 if "_is_valid" in self.__dict__: 3385 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3386 3387 def _retrieve_swig_value(self, name, value): 3388 # If we got back a different object than we have cached, we need to copy 3389 # all our metadata into it, so that it looks identical to the one 3390 # originally set. 3391 members = self.__dict__.get('_members') 3392 if members is not None and name in members: 3393 _copy_metadata_deep(value, members[name]) 3394 3395 # Verify that the new object is good 3396 _assert_valid_deep(value) 3397 3398 return value 3399 3400 # Attribute access must be intercepted to ensure that objects coming from 3401 # read attribute access match those that are set with write attribute access. 3402 # Specifically the metadata, such as the associated apr_pool object, should 3403 # match the originally assigned object. 3404 # 3405 # For classic classes it is enough to use __getattr__ to intercept swig 3406 # derived attributes. However, with new style classes SWIG makes use of 3407 # descriptors which mean that __getattr__ is never called. Therefore, 3408 # __getattribute__ must be used for the interception. 3409 3410 if _newclass: 3411 def __getattribute__(self, name): 3412 """Manage access to all attributes of this object.""" 3413 3414 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3415 # items directly present in __dict__ 3416 mydict = object.__getattribute__(self, '__dict__') 3417 3418 if name == "__dict__": 3419 return mydict 3420 3421 if name in mydict: 3422 return mydict[name] 3423 3424 object.__getattribute__(self, 'assert_valid')() 3425 3426 value = _get_instance_attr(self, name) 3427 fn = object.__getattribute__(self, '_retrieve_swig_value') 3428 return fn(name, value) 3429 else: 3430 def __getattr__(self, name): 3431 """Get an attribute from this object""" 3432 self.assert_valid() 3433 3434 value = _swig_getattr(self, self.__class__, name) 3435 3436 return self._retrieve_swig_value(name, value) 3437 3438 def __setattr__(self, name, value): 3439 """Set an attribute on this object""" 3440 self.assert_valid() 3441 3442 # Save a copy of the object, so that the garbage 3443 # collector won't kill the object while it's in 3444 # SWIG-land 3445 self.__dict__.setdefault("_members",{})[name] = value 3446 3447 return _set_instance_attr(self, name, value) 3448 3449 3450 def __call__(self, *args): 3451 return svn_client_invoke__layout_func(self, *args) 3452 3453svn_client__layout_func_t_swigregister = _client.svn_client__layout_func_t_swigregister 3454svn_client__layout_func_t_swigregister(svn_client__layout_func_t) 3455 3456class svn_client_import_filter_func_t(object): 3457 """Proxy of C svn_client_import_filter_func_t struct.""" 3458 3459 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3460 3461 def __init__(self, *args, **kwargs): 3462 raise AttributeError("No constructor defined") 3463 __repr__ = _swig_repr 3464 def set_parent_pool(self, parent_pool=None): 3465 """Create a new proxy object for TYPE""" 3466 import libsvn.core, weakref 3467 self.__dict__["_parent_pool"] = \ 3468 parent_pool or libsvn.core.application_pool; 3469 if self.__dict__["_parent_pool"]: 3470 self.__dict__["_is_valid"] = weakref.ref( 3471 self.__dict__["_parent_pool"]._is_valid) 3472 3473 def assert_valid(self): 3474 """Assert that this object is using valid pool memory""" 3475 if "_is_valid" in self.__dict__: 3476 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3477 3478 def _retrieve_swig_value(self, name, value): 3479 # If we got back a different object than we have cached, we need to copy 3480 # all our metadata into it, so that it looks identical to the one 3481 # originally set. 3482 members = self.__dict__.get('_members') 3483 if members is not None and name in members: 3484 _copy_metadata_deep(value, members[name]) 3485 3486 # Verify that the new object is good 3487 _assert_valid_deep(value) 3488 3489 return value 3490 3491 # Attribute access must be intercepted to ensure that objects coming from 3492 # read attribute access match those that are set with write attribute access. 3493 # Specifically the metadata, such as the associated apr_pool object, should 3494 # match the originally assigned object. 3495 # 3496 # For classic classes it is enough to use __getattr__ to intercept swig 3497 # derived attributes. However, with new style classes SWIG makes use of 3498 # descriptors which mean that __getattr__ is never called. Therefore, 3499 # __getattribute__ must be used for the interception. 3500 3501 if _newclass: 3502 def __getattribute__(self, name): 3503 """Manage access to all attributes of this object.""" 3504 3505 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3506 # items directly present in __dict__ 3507 mydict = object.__getattribute__(self, '__dict__') 3508 3509 if name == "__dict__": 3510 return mydict 3511 3512 if name in mydict: 3513 return mydict[name] 3514 3515 object.__getattribute__(self, 'assert_valid')() 3516 3517 value = _get_instance_attr(self, name) 3518 fn = object.__getattribute__(self, '_retrieve_swig_value') 3519 return fn(name, value) 3520 else: 3521 def __getattr__(self, name): 3522 """Get an attribute from this object""" 3523 self.assert_valid() 3524 3525 value = _swig_getattr(self, self.__class__, name) 3526 3527 return self._retrieve_swig_value(name, value) 3528 3529 def __setattr__(self, name, value): 3530 """Set an attribute on this object""" 3531 self.assert_valid() 3532 3533 # Save a copy of the object, so that the garbage 3534 # collector won't kill the object while it's in 3535 # SWIG-land 3536 self.__dict__.setdefault("_members",{})[name] = value 3537 3538 return _set_instance_attr(self, name, value) 3539 3540 3541 def __call__(self, *args): 3542 return svn_client_invoke_import_filter_func(self, *args) 3543 3544svn_client_import_filter_func_t_swigregister = _client.svn_client_import_filter_func_t_swigregister 3545svn_client_import_filter_func_t_swigregister(svn_client_import_filter_func_t) 3546 3547class svn_client_status_func_t(object): 3548 """Proxy of C svn_client_status_func_t struct.""" 3549 3550 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3551 3552 def __init__(self, *args, **kwargs): 3553 raise AttributeError("No constructor defined") 3554 __repr__ = _swig_repr 3555 def set_parent_pool(self, parent_pool=None): 3556 """Create a new proxy object for TYPE""" 3557 import libsvn.core, weakref 3558 self.__dict__["_parent_pool"] = \ 3559 parent_pool or libsvn.core.application_pool; 3560 if self.__dict__["_parent_pool"]: 3561 self.__dict__["_is_valid"] = weakref.ref( 3562 self.__dict__["_parent_pool"]._is_valid) 3563 3564 def assert_valid(self): 3565 """Assert that this object is using valid pool memory""" 3566 if "_is_valid" in self.__dict__: 3567 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3568 3569 def _retrieve_swig_value(self, name, value): 3570 # If we got back a different object than we have cached, we need to copy 3571 # all our metadata into it, so that it looks identical to the one 3572 # originally set. 3573 members = self.__dict__.get('_members') 3574 if members is not None and name in members: 3575 _copy_metadata_deep(value, members[name]) 3576 3577 # Verify that the new object is good 3578 _assert_valid_deep(value) 3579 3580 return value 3581 3582 # Attribute access must be intercepted to ensure that objects coming from 3583 # read attribute access match those that are set with write attribute access. 3584 # Specifically the metadata, such as the associated apr_pool object, should 3585 # match the originally assigned object. 3586 # 3587 # For classic classes it is enough to use __getattr__ to intercept swig 3588 # derived attributes. However, with new style classes SWIG makes use of 3589 # descriptors which mean that __getattr__ is never called. Therefore, 3590 # __getattribute__ must be used for the interception. 3591 3592 if _newclass: 3593 def __getattribute__(self, name): 3594 """Manage access to all attributes of this object.""" 3595 3596 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3597 # items directly present in __dict__ 3598 mydict = object.__getattribute__(self, '__dict__') 3599 3600 if name == "__dict__": 3601 return mydict 3602 3603 if name in mydict: 3604 return mydict[name] 3605 3606 object.__getattribute__(self, 'assert_valid')() 3607 3608 value = _get_instance_attr(self, name) 3609 fn = object.__getattribute__(self, '_retrieve_swig_value') 3610 return fn(name, value) 3611 else: 3612 def __getattr__(self, name): 3613 """Get an attribute from this object""" 3614 self.assert_valid() 3615 3616 value = _swig_getattr(self, self.__class__, name) 3617 3618 return self._retrieve_swig_value(name, value) 3619 3620 def __setattr__(self, name, value): 3621 """Set an attribute on this object""" 3622 self.assert_valid() 3623 3624 # Save a copy of the object, so that the garbage 3625 # collector won't kill the object while it's in 3626 # SWIG-land 3627 self.__dict__.setdefault("_members",{})[name] = value 3628 3629 return _set_instance_attr(self, name, value) 3630 3631 3632 def __call__(self, *args): 3633 return svn_client_invoke_status_func(self, *args) 3634 3635svn_client_status_func_t_swigregister = _client.svn_client_status_func_t_swigregister 3636svn_client_status_func_t_swigregister(svn_client_status_func_t) 3637 3638class svn_client_conflict_walk_func_t(object): 3639 """Proxy of C svn_client_conflict_walk_func_t struct.""" 3640 3641 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3642 3643 def __init__(self, *args, **kwargs): 3644 raise AttributeError("No constructor defined") 3645 __repr__ = _swig_repr 3646 def set_parent_pool(self, parent_pool=None): 3647 """Create a new proxy object for TYPE""" 3648 import libsvn.core, weakref 3649 self.__dict__["_parent_pool"] = \ 3650 parent_pool or libsvn.core.application_pool; 3651 if self.__dict__["_parent_pool"]: 3652 self.__dict__["_is_valid"] = weakref.ref( 3653 self.__dict__["_parent_pool"]._is_valid) 3654 3655 def assert_valid(self): 3656 """Assert that this object is using valid pool memory""" 3657 if "_is_valid" in self.__dict__: 3658 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3659 3660 def _retrieve_swig_value(self, name, value): 3661 # If we got back a different object than we have cached, we need to copy 3662 # all our metadata into it, so that it looks identical to the one 3663 # originally set. 3664 members = self.__dict__.get('_members') 3665 if members is not None and name in members: 3666 _copy_metadata_deep(value, members[name]) 3667 3668 # Verify that the new object is good 3669 _assert_valid_deep(value) 3670 3671 return value 3672 3673 # Attribute access must be intercepted to ensure that objects coming from 3674 # read attribute access match those that are set with write attribute access. 3675 # Specifically the metadata, such as the associated apr_pool object, should 3676 # match the originally assigned object. 3677 # 3678 # For classic classes it is enough to use __getattr__ to intercept swig 3679 # derived attributes. However, with new style classes SWIG makes use of 3680 # descriptors which mean that __getattr__ is never called. Therefore, 3681 # __getattribute__ must be used for the interception. 3682 3683 if _newclass: 3684 def __getattribute__(self, name): 3685 """Manage access to all attributes of this object.""" 3686 3687 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3688 # items directly present in __dict__ 3689 mydict = object.__getattribute__(self, '__dict__') 3690 3691 if name == "__dict__": 3692 return mydict 3693 3694 if name in mydict: 3695 return mydict[name] 3696 3697 object.__getattribute__(self, 'assert_valid')() 3698 3699 value = _get_instance_attr(self, name) 3700 fn = object.__getattribute__(self, '_retrieve_swig_value') 3701 return fn(name, value) 3702 else: 3703 def __getattr__(self, name): 3704 """Get an attribute from this object""" 3705 self.assert_valid() 3706 3707 value = _swig_getattr(self, self.__class__, name) 3708 3709 return self._retrieve_swig_value(name, value) 3710 3711 def __setattr__(self, name, value): 3712 """Set an attribute on this object""" 3713 self.assert_valid() 3714 3715 # Save a copy of the object, so that the garbage 3716 # collector won't kill the object while it's in 3717 # SWIG-land 3718 self.__dict__.setdefault("_members",{})[name] = value 3719 3720 return _set_instance_attr(self, name, value) 3721 3722 3723 def __call__(self, *args): 3724 return svn_client_invoke_conflict_walk_func(self, *args) 3725 3726svn_client_conflict_walk_func_t_swigregister = _client.svn_client_conflict_walk_func_t_swigregister 3727svn_client_conflict_walk_func_t_swigregister(svn_client_conflict_walk_func_t) 3728 3729class svn_client_list_func2_t(object): 3730 """Proxy of C svn_client_list_func2_t struct.""" 3731 3732 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3733 3734 def __init__(self, *args, **kwargs): 3735 raise AttributeError("No constructor defined") 3736 __repr__ = _swig_repr 3737 def set_parent_pool(self, parent_pool=None): 3738 """Create a new proxy object for TYPE""" 3739 import libsvn.core, weakref 3740 self.__dict__["_parent_pool"] = \ 3741 parent_pool or libsvn.core.application_pool; 3742 if self.__dict__["_parent_pool"]: 3743 self.__dict__["_is_valid"] = weakref.ref( 3744 self.__dict__["_parent_pool"]._is_valid) 3745 3746 def assert_valid(self): 3747 """Assert that this object is using valid pool memory""" 3748 if "_is_valid" in self.__dict__: 3749 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3750 3751 def _retrieve_swig_value(self, name, value): 3752 # If we got back a different object than we have cached, we need to copy 3753 # all our metadata into it, so that it looks identical to the one 3754 # originally set. 3755 members = self.__dict__.get('_members') 3756 if members is not None and name in members: 3757 _copy_metadata_deep(value, members[name]) 3758 3759 # Verify that the new object is good 3760 _assert_valid_deep(value) 3761 3762 return value 3763 3764 # Attribute access must be intercepted to ensure that objects coming from 3765 # read attribute access match those that are set with write attribute access. 3766 # Specifically the metadata, such as the associated apr_pool object, should 3767 # match the originally assigned object. 3768 # 3769 # For classic classes it is enough to use __getattr__ to intercept swig 3770 # derived attributes. However, with new style classes SWIG makes use of 3771 # descriptors which mean that __getattr__ is never called. Therefore, 3772 # __getattribute__ must be used for the interception. 3773 3774 if _newclass: 3775 def __getattribute__(self, name): 3776 """Manage access to all attributes of this object.""" 3777 3778 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3779 # items directly present in __dict__ 3780 mydict = object.__getattribute__(self, '__dict__') 3781 3782 if name == "__dict__": 3783 return mydict 3784 3785 if name in mydict: 3786 return mydict[name] 3787 3788 object.__getattribute__(self, 'assert_valid')() 3789 3790 value = _get_instance_attr(self, name) 3791 fn = object.__getattribute__(self, '_retrieve_swig_value') 3792 return fn(name, value) 3793 else: 3794 def __getattr__(self, name): 3795 """Get an attribute from this object""" 3796 self.assert_valid() 3797 3798 value = _swig_getattr(self, self.__class__, name) 3799 3800 return self._retrieve_swig_value(name, value) 3801 3802 def __setattr__(self, name, value): 3803 """Set an attribute on this object""" 3804 self.assert_valid() 3805 3806 # Save a copy of the object, so that the garbage 3807 # collector won't kill the object while it's in 3808 # SWIG-land 3809 self.__dict__.setdefault("_members",{})[name] = value 3810 3811 return _set_instance_attr(self, name, value) 3812 3813 3814 def __call__(self, *args): 3815 return svn_client_invoke_list_func2(self, *args) 3816 3817svn_client_list_func2_t_swigregister = _client.svn_client_list_func2_t_swigregister 3818svn_client_list_func2_t_swigregister(svn_client_list_func2_t) 3819 3820class svn_client_list_func_t(object): 3821 """Proxy of C svn_client_list_func_t struct.""" 3822 3823 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3824 3825 def __init__(self, *args, **kwargs): 3826 raise AttributeError("No constructor defined") 3827 __repr__ = _swig_repr 3828 def set_parent_pool(self, parent_pool=None): 3829 """Create a new proxy object for TYPE""" 3830 import libsvn.core, weakref 3831 self.__dict__["_parent_pool"] = \ 3832 parent_pool or libsvn.core.application_pool; 3833 if self.__dict__["_parent_pool"]: 3834 self.__dict__["_is_valid"] = weakref.ref( 3835 self.__dict__["_parent_pool"]._is_valid) 3836 3837 def assert_valid(self): 3838 """Assert that this object is using valid pool memory""" 3839 if "_is_valid" in self.__dict__: 3840 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3841 3842 def _retrieve_swig_value(self, name, value): 3843 # If we got back a different object than we have cached, we need to copy 3844 # all our metadata into it, so that it looks identical to the one 3845 # originally set. 3846 members = self.__dict__.get('_members') 3847 if members is not None and name in members: 3848 _copy_metadata_deep(value, members[name]) 3849 3850 # Verify that the new object is good 3851 _assert_valid_deep(value) 3852 3853 return value 3854 3855 # Attribute access must be intercepted to ensure that objects coming from 3856 # read attribute access match those that are set with write attribute access. 3857 # Specifically the metadata, such as the associated apr_pool object, should 3858 # match the originally assigned object. 3859 # 3860 # For classic classes it is enough to use __getattr__ to intercept swig 3861 # derived attributes. However, with new style classes SWIG makes use of 3862 # descriptors which mean that __getattr__ is never called. Therefore, 3863 # __getattribute__ must be used for the interception. 3864 3865 if _newclass: 3866 def __getattribute__(self, name): 3867 """Manage access to all attributes of this object.""" 3868 3869 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3870 # items directly present in __dict__ 3871 mydict = object.__getattribute__(self, '__dict__') 3872 3873 if name == "__dict__": 3874 return mydict 3875 3876 if name in mydict: 3877 return mydict[name] 3878 3879 object.__getattribute__(self, 'assert_valid')() 3880 3881 value = _get_instance_attr(self, name) 3882 fn = object.__getattribute__(self, '_retrieve_swig_value') 3883 return fn(name, value) 3884 else: 3885 def __getattr__(self, name): 3886 """Get an attribute from this object""" 3887 self.assert_valid() 3888 3889 value = _swig_getattr(self, self.__class__, name) 3890 3891 return self._retrieve_swig_value(name, value) 3892 3893 def __setattr__(self, name, value): 3894 """Set an attribute on this object""" 3895 self.assert_valid() 3896 3897 # Save a copy of the object, so that the garbage 3898 # collector won't kill the object while it's in 3899 # SWIG-land 3900 self.__dict__.setdefault("_members",{})[name] = value 3901 3902 return _set_instance_attr(self, name, value) 3903 3904 3905 def __call__(self, *args): 3906 return svn_client_invoke_list_func(self, *args) 3907 3908svn_client_list_func_t_swigregister = _client.svn_client_list_func_t_swigregister 3909svn_client_list_func_t_swigregister(svn_client_list_func_t) 3910 3911class svn_info_receiver_t(object): 3912 """Proxy of C svn_info_receiver_t struct.""" 3913 3914 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3915 3916 def __init__(self, *args, **kwargs): 3917 raise AttributeError("No constructor defined") 3918 __repr__ = _swig_repr 3919 def set_parent_pool(self, parent_pool=None): 3920 """Create a new proxy object for TYPE""" 3921 import libsvn.core, weakref 3922 self.__dict__["_parent_pool"] = \ 3923 parent_pool or libsvn.core.application_pool; 3924 if self.__dict__["_parent_pool"]: 3925 self.__dict__["_is_valid"] = weakref.ref( 3926 self.__dict__["_parent_pool"]._is_valid) 3927 3928 def assert_valid(self): 3929 """Assert that this object is using valid pool memory""" 3930 if "_is_valid" in self.__dict__: 3931 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3932 3933 def _retrieve_swig_value(self, name, value): 3934 # If we got back a different object than we have cached, we need to copy 3935 # all our metadata into it, so that it looks identical to the one 3936 # originally set. 3937 members = self.__dict__.get('_members') 3938 if members is not None and name in members: 3939 _copy_metadata_deep(value, members[name]) 3940 3941 # Verify that the new object is good 3942 _assert_valid_deep(value) 3943 3944 return value 3945 3946 # Attribute access must be intercepted to ensure that objects coming from 3947 # read attribute access match those that are set with write attribute access. 3948 # Specifically the metadata, such as the associated apr_pool object, should 3949 # match the originally assigned object. 3950 # 3951 # For classic classes it is enough to use __getattr__ to intercept swig 3952 # derived attributes. However, with new style classes SWIG makes use of 3953 # descriptors which mean that __getattr__ is never called. Therefore, 3954 # __getattribute__ must be used for the interception. 3955 3956 if _newclass: 3957 def __getattribute__(self, name): 3958 """Manage access to all attributes of this object.""" 3959 3960 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3961 # items directly present in __dict__ 3962 mydict = object.__getattribute__(self, '__dict__') 3963 3964 if name == "__dict__": 3965 return mydict 3966 3967 if name in mydict: 3968 return mydict[name] 3969 3970 object.__getattribute__(self, 'assert_valid')() 3971 3972 value = _get_instance_attr(self, name) 3973 fn = object.__getattribute__(self, '_retrieve_swig_value') 3974 return fn(name, value) 3975 else: 3976 def __getattr__(self, name): 3977 """Get an attribute from this object""" 3978 self.assert_valid() 3979 3980 value = _swig_getattr(self, self.__class__, name) 3981 3982 return self._retrieve_swig_value(name, value) 3983 3984 def __setattr__(self, name, value): 3985 """Set an attribute on this object""" 3986 self.assert_valid() 3987 3988 # Save a copy of the object, so that the garbage 3989 # collector won't kill the object while it's in 3990 # SWIG-land 3991 self.__dict__.setdefault("_members",{})[name] = value 3992 3993 return _set_instance_attr(self, name, value) 3994 3995 3996 def __call__(self, *args): 3997 return svn_info_invoke_receiver(self, *args) 3998 3999svn_info_receiver_t_swigregister = _client.svn_info_receiver_t_swigregister 4000svn_info_receiver_t_swigregister(svn_info_receiver_t) 4001 4002class svn_client_info_receiver2_t(object): 4003 """Proxy of C svn_client_info_receiver2_t struct.""" 4004 4005 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4006 4007 def __init__(self, *args, **kwargs): 4008 raise AttributeError("No constructor defined") 4009 __repr__ = _swig_repr 4010 def set_parent_pool(self, parent_pool=None): 4011 """Create a new proxy object for TYPE""" 4012 import libsvn.core, weakref 4013 self.__dict__["_parent_pool"] = \ 4014 parent_pool or libsvn.core.application_pool; 4015 if self.__dict__["_parent_pool"]: 4016 self.__dict__["_is_valid"] = weakref.ref( 4017 self.__dict__["_parent_pool"]._is_valid) 4018 4019 def assert_valid(self): 4020 """Assert that this object is using valid pool memory""" 4021 if "_is_valid" in self.__dict__: 4022 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4023 4024 def _retrieve_swig_value(self, name, value): 4025 # If we got back a different object than we have cached, we need to copy 4026 # all our metadata into it, so that it looks identical to the one 4027 # originally set. 4028 members = self.__dict__.get('_members') 4029 if members is not None and name in members: 4030 _copy_metadata_deep(value, members[name]) 4031 4032 # Verify that the new object is good 4033 _assert_valid_deep(value) 4034 4035 return value 4036 4037 # Attribute access must be intercepted to ensure that objects coming from 4038 # read attribute access match those that are set with write attribute access. 4039 # Specifically the metadata, such as the associated apr_pool object, should 4040 # match the originally assigned object. 4041 # 4042 # For classic classes it is enough to use __getattr__ to intercept swig 4043 # derived attributes. However, with new style classes SWIG makes use of 4044 # descriptors which mean that __getattr__ is never called. Therefore, 4045 # __getattribute__ must be used for the interception. 4046 4047 if _newclass: 4048 def __getattribute__(self, name): 4049 """Manage access to all attributes of this object.""" 4050 4051 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4052 # items directly present in __dict__ 4053 mydict = object.__getattribute__(self, '__dict__') 4054 4055 if name == "__dict__": 4056 return mydict 4057 4058 if name in mydict: 4059 return mydict[name] 4060 4061 object.__getattribute__(self, 'assert_valid')() 4062 4063 value = _get_instance_attr(self, name) 4064 fn = object.__getattribute__(self, '_retrieve_swig_value') 4065 return fn(name, value) 4066 else: 4067 def __getattr__(self, name): 4068 """Get an attribute from this object""" 4069 self.assert_valid() 4070 4071 value = _swig_getattr(self, self.__class__, name) 4072 4073 return self._retrieve_swig_value(name, value) 4074 4075 def __setattr__(self, name, value): 4076 """Set an attribute on this object""" 4077 self.assert_valid() 4078 4079 # Save a copy of the object, so that the garbage 4080 # collector won't kill the object while it's in 4081 # SWIG-land 4082 self.__dict__.setdefault("_members",{})[name] = value 4083 4084 return _set_instance_attr(self, name, value) 4085 4086 4087 def __call__(self, *args): 4088 return svn_client_invoke_info_receiver2(self, *args) 4089 4090svn_client_info_receiver2_t_swigregister = _client.svn_client_info_receiver2_t_swigregister 4091svn_client_info_receiver2_t_swigregister(svn_client_info_receiver2_t) 4092 4093class svn_client_patch_func_t(object): 4094 """Proxy of C svn_client_patch_func_t struct.""" 4095 4096 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4097 4098 def __init__(self, *args, **kwargs): 4099 raise AttributeError("No constructor defined") 4100 __repr__ = _swig_repr 4101 def set_parent_pool(self, parent_pool=None): 4102 """Create a new proxy object for TYPE""" 4103 import libsvn.core, weakref 4104 self.__dict__["_parent_pool"] = \ 4105 parent_pool or libsvn.core.application_pool; 4106 if self.__dict__["_parent_pool"]: 4107 self.__dict__["_is_valid"] = weakref.ref( 4108 self.__dict__["_parent_pool"]._is_valid) 4109 4110 def assert_valid(self): 4111 """Assert that this object is using valid pool memory""" 4112 if "_is_valid" in self.__dict__: 4113 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4114 4115 def _retrieve_swig_value(self, name, value): 4116 # If we got back a different object than we have cached, we need to copy 4117 # all our metadata into it, so that it looks identical to the one 4118 # originally set. 4119 members = self.__dict__.get('_members') 4120 if members is not None and name in members: 4121 _copy_metadata_deep(value, members[name]) 4122 4123 # Verify that the new object is good 4124 _assert_valid_deep(value) 4125 4126 return value 4127 4128 # Attribute access must be intercepted to ensure that objects coming from 4129 # read attribute access match those that are set with write attribute access. 4130 # Specifically the metadata, such as the associated apr_pool object, should 4131 # match the originally assigned object. 4132 # 4133 # For classic classes it is enough to use __getattr__ to intercept swig 4134 # derived attributes. However, with new style classes SWIG makes use of 4135 # descriptors which mean that __getattr__ is never called. Therefore, 4136 # __getattribute__ must be used for the interception. 4137 4138 if _newclass: 4139 def __getattribute__(self, name): 4140 """Manage access to all attributes of this object.""" 4141 4142 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4143 # items directly present in __dict__ 4144 mydict = object.__getattribute__(self, '__dict__') 4145 4146 if name == "__dict__": 4147 return mydict 4148 4149 if name in mydict: 4150 return mydict[name] 4151 4152 object.__getattribute__(self, 'assert_valid')() 4153 4154 value = _get_instance_attr(self, name) 4155 fn = object.__getattribute__(self, '_retrieve_swig_value') 4156 return fn(name, value) 4157 else: 4158 def __getattr__(self, name): 4159 """Get an attribute from this object""" 4160 self.assert_valid() 4161 4162 value = _swig_getattr(self, self.__class__, name) 4163 4164 return self._retrieve_swig_value(name, value) 4165 4166 def __setattr__(self, name, value): 4167 """Set an attribute on this object""" 4168 self.assert_valid() 4169 4170 # Save a copy of the object, so that the garbage 4171 # collector won't kill the object while it's in 4172 # SWIG-land 4173 self.__dict__.setdefault("_members",{})[name] = value 4174 4175 return _set_instance_attr(self, name, value) 4176 4177 4178 def __call__(self, *args): 4179 return svn_client_invoke_patch_func(self, *args) 4180 4181svn_client_patch_func_t_swigregister = _client.svn_client_patch_func_t_swigregister 4182svn_client_patch_func_t_swigregister(svn_client_patch_func_t) 4183 4184SWIG_SVN_INFO_SIZE_UNKNOWN = _client.SWIG_SVN_INFO_SIZE_UNKNOWN 4185svn_swig_py_cancel_func = _client.svn_swig_py_cancel_func 4186svn_swig_py_get_commit_log_func = _client.svn_swig_py_get_commit_log_func 4187svn_swig_py_notify_func = _client.svn_swig_py_notify_func 4188svn_swig_py_notify_func2 = _client.svn_swig_py_notify_func2 4189 4190 4191