wc.py

来自「subversion-1.4.5.tar.gz 配置svn的源码」· Python 代码 · 共 1,475 行 · 第 1/5 页

PY
1,475
字号
    __swig_setmethods__["url"] = _wc.svn_wc_status2_t_url_set    __swig_getmethods__["url"] = _wc.svn_wc_status2_t_url_get    __swig_setmethods__["ood_last_cmt_rev"] = _wc.svn_wc_status2_t_ood_last_cmt_rev_set    __swig_getmethods__["ood_last_cmt_rev"] = _wc.svn_wc_status2_t_ood_last_cmt_rev_get    __swig_setmethods__["ood_last_cmt_date"] = _wc.svn_wc_status2_t_ood_last_cmt_date_set    __swig_getmethods__["ood_last_cmt_date"] = _wc.svn_wc_status2_t_ood_last_cmt_date_get    __swig_setmethods__["ood_kind"] = _wc.svn_wc_status2_t_ood_kind_set    __swig_getmethods__["ood_kind"] = _wc.svn_wc_status2_t_ood_kind_get    __swig_setmethods__["ood_last_cmt_author"] = _wc.svn_wc_status2_t_ood_last_cmt_author_set    __swig_getmethods__["ood_last_cmt_author"] = _wc.svn_wc_status2_t_ood_last_cmt_author_get    def set_parent_pool(self, parent_pool=None):      """Create a new proxy object for svn_wc_status2_t"""      import libsvn.core, weakref      self.__dict__["_parent_pool"] = \        parent_pool or libsvn.core.application_pool;      if self.__dict__["_parent_pool"]:        self.__dict__["_is_valid"] = weakref.ref(          self.__dict__["_parent_pool"]._is_valid)    def assert_valid(self):      """Assert that this object is using valid pool memory"""      if "_is_valid" in self.__dict__:        assert self.__dict__["_is_valid"](), "Variable has already been deleted"    def __getattr__(self, name):      """Get an attribute from this object"""      self.assert_valid()      value = _swig_getattr(self, self.__class__, name)      try:        old_dict = self.__dict__["_member_dicts"][name]        value.__dict__["_parent_pool"] = old_dict.get("_parent_pool")        value.__dict__["_member_dicts"] = old_dict.get("_member_dicts")        value.__dict__["_is_valid"] = old_dict.get("_is_valid")        value.assert_valid()      except KeyError:        pass      return value    def __setattr__(self, name, value):      """Set an attribute on this object"""      self.assert_valid()      try:        self.__dict__.setdefault("_member_dicts",{})[name] = value.__dict__      except AttributeError:        pass      return _swig_setattr(self, self.__class__, name, value)    def __init__(self, *args):        """__init__(self) -> svn_wc_status2_t"""        _swig_setattr(self, svn_wc_status2_t, 'this', apply(_wc.new_svn_wc_status2_t, args))        _swig_setattr(self, svn_wc_status2_t, 'thisown', 1)    def __del__(self, destroy=_wc.delete_svn_wc_status2_t):        """__del__(self)"""        try:            if self.thisown: destroy(self)        except: passclass svn_wc_status2_tPtr(svn_wc_status2_t):    def __init__(self, this):        _swig_setattr(self, svn_wc_status2_t, 'this', this)        if not hasattr(self,"thisown"): _swig_setattr(self, svn_wc_status2_t, 'thisown', 0)        _swig_setattr(self, svn_wc_status2_t,self.__class__,svn_wc_status2_t)_wc.svn_wc_status2_t_swigregister(svn_wc_status2_tPtr)class svn_wc_status_t:    """Proxy of C svn_wc_status_t struct"""    __swig_setmethods__ = {}    __setattr__ = lambda self, name, value: _swig_setattr(self, svn_wc_status_t, name, value)    __swig_getmethods__ = {}    __getattr__ = lambda self, name: _swig_getattr(self, svn_wc_status_t, name)    def __repr__(self):        return "<%s.%s; proxy of C svn_wc_status_t instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)    __swig_setmethods__["entry"] = _wc.svn_wc_status_t_entry_set    __swig_getmethods__["entry"] = _wc.svn_wc_status_t_entry_get    __swig_setmethods__["text_status"] = _wc.svn_wc_status_t_text_status_set    __swig_getmethods__["text_status"] = _wc.svn_wc_status_t_text_status_get    __swig_setmethods__["prop_status"] = _wc.svn_wc_status_t_prop_status_set    __swig_getmethods__["prop_status"] = _wc.svn_wc_status_t_prop_status_get    __swig_setmethods__["locked"] = _wc.svn_wc_status_t_locked_set    __swig_getmethods__["locked"] = _wc.svn_wc_status_t_locked_get    __swig_setmethods__["copied"] = _wc.svn_wc_status_t_copied_set    __swig_getmethods__["copied"] = _wc.svn_wc_status_t_copied_get    __swig_setmethods__["switched"] = _wc.svn_wc_status_t_switched_set    __swig_getmethods__["switched"] = _wc.svn_wc_status_t_switched_get    __swig_setmethods__["repos_text_status"] = _wc.svn_wc_status_t_repos_text_status_set    __swig_getmethods__["repos_text_status"] = _wc.svn_wc_status_t_repos_text_status_get    __swig_setmethods__["repos_prop_status"] = _wc.svn_wc_status_t_repos_prop_status_set    __swig_getmethods__["repos_prop_status"] = _wc.svn_wc_status_t_repos_prop_status_get    def set_parent_pool(self, parent_pool=None):      """Create a new proxy object for svn_wc_status_t"""      import libsvn.core, weakref      self.__dict__["_parent_pool"] = \        parent_pool or libsvn.core.application_pool;      if self.__dict__["_parent_pool"]:        self.__dict__["_is_valid"] = weakref.ref(          self.__dict__["_parent_pool"]._is_valid)    def assert_valid(self):      """Assert that this object is using valid pool memory"""      if "_is_valid" in self.__dict__:        assert self.__dict__["_is_valid"](), "Variable has already been deleted"    def __getattr__(self, name):      """Get an attribute from this object"""      self.assert_valid()      value = _swig_getattr(self, self.__class__, name)      try:        old_dict = self.__dict__["_member_dicts"][name]        value.__dict__["_parent_pool"] = old_dict.get("_parent_pool")        value.__dict__["_member_dicts"] = old_dict.get("_member_dicts")        value.__dict__["_is_valid"] = old_dict.get("_is_valid")        value.assert_valid()      except KeyError:        pass      return value    def __setattr__(self, name, value):      """Set an attribute on this object"""      self.assert_valid()      try:        self.__dict__.setdefault("_member_dicts",{})[name] = value.__dict__      except AttributeError:        pass      return _swig_setattr(self, self.__class__, name, value)    def __init__(self, *args):        """__init__(self) -> svn_wc_status_t"""        _swig_setattr(self, svn_wc_status_t, 'this', apply(_wc.new_svn_wc_status_t, args))        _swig_setattr(self, svn_wc_status_t, 'thisown', 1)    def __del__(self, destroy=_wc.delete_svn_wc_status_t):        """__del__(self)"""        try:            if self.thisown: destroy(self)        except: passclass svn_wc_status_tPtr(svn_wc_status_t):    def __init__(self, this):        _swig_setattr(self, svn_wc_status_t, 'this', this)        if not hasattr(self,"thisown"): _swig_setattr(self, svn_wc_status_t, 'thisown', 0)        _swig_setattr(self, svn_wc_status_t,self.__class__,svn_wc_status_t)_wc.svn_wc_status_t_swigregister(svn_wc_status_tPtr)def svn_wc_dup_status2(*args):    """svn_wc_dup_status2(svn_wc_status2_t orig_stat, apr_pool_t pool) -> svn_wc_status2_t"""    return apply(_wc.svn_wc_dup_status2, args)def svn_wc_dup_status(*args):    """svn_wc_dup_status(svn_wc_status_t orig_stat, apr_pool_t pool) -> svn_wc_status_t"""    return apply(_wc.svn_wc_dup_status, args)def svn_wc_status2(*args):    """    svn_wc_status2(svn_wc_status2_t status, char path, svn_wc_adm_access_t adm_access,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_status2, args)def svn_wc_status(*args):    """    svn_wc_status(svn_wc_status_t status, char path, svn_wc_adm_access_t adm_access,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_status, args)def svn_wc_get_status_editor2(*args):    """    svn_wc_get_status_editor2(svn_delta_editor_t editor, void edit_baton, void set_locks_baton,         svn_revnum_t edit_revision, svn_wc_adm_access_t anchor,         char target, apr_hash_t config,         svn_boolean_t recurse, svn_boolean_t get_all,         svn_boolean_t no_ignore, svn_wc_status_func2_t status_func,         void status_baton,         svn_cancel_func_t cancel_func, svn_wc_traversal_info_t traversal_info,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_get_status_editor2, args)def svn_wc_get_status_editor(*args):    """    svn_wc_get_status_editor(svn_delta_editor_t editor, void edit_baton, svn_revnum_t edit_revision,         svn_wc_adm_access_t anchor,         char target, apr_hash_t config, svn_boolean_t recurse,         svn_boolean_t get_all, svn_boolean_t no_ignore,         svn_wc_status_func_t status_func,         svn_cancel_func_t cancel_func, svn_wc_traversal_info_t traversal_info,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_get_status_editor, args)def svn_wc_status_set_repos_locks(*args):    """    svn_wc_status_set_repos_locks(void set_locks_baton, apr_hash_t locks, char repos_root,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_status_set_repos_locks, args)def svn_wc_copy2(*args):    """    svn_wc_copy2(char src, svn_wc_adm_access_t dst_parent, char dst_basename,         svn_cancel_func_t cancel_func, svn_wc_notify_func2_t notify_func,         void notify_baton,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_copy2, args)def svn_wc_copy(*args):    """    svn_wc_copy(char src, svn_wc_adm_access_t dst_parent, char dst_basename,         svn_cancel_func_t cancel_func, svn_wc_notify_func_t notify_func,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_copy, args)def svn_wc_delete2(*args):    """    svn_wc_delete2(char path, svn_wc_adm_access_t adm_access, svn_cancel_func_t cancel_func,         svn_wc_notify_func2_t notify_func,         void notify_baton, apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_delete2, args)def svn_wc_delete(*args):    """    svn_wc_delete(char path, svn_wc_adm_access_t adm_access, svn_cancel_func_t cancel_func,         svn_wc_notify_func_t notify_func,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_delete, args)def svn_wc_add2(*args):    """    svn_wc_add2(char path, svn_wc_adm_access_t parent_access, char copyfrom_url,         svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func,         svn_wc_notify_func2_t notify_func,         void notify_baton, apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_add2, args)def svn_wc_add(*args):    """    svn_wc_add(char path, svn_wc_adm_access_t parent_access, char copyfrom_url,         svn_revnum_t copyfrom_rev, svn_cancel_func_t cancel_func,         svn_wc_notify_func_t notify_func,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_add, args)def svn_wc_add_repos_file2(*args):    """    svn_wc_add_repos_file2(char dst_path, svn_wc_adm_access_t adm_access, char new_text_base_path,         char new_text_path, apr_hash_t new_base_props,         apr_hash_t new_props,         char copyfrom_url, svn_revnum_t copyfrom_rev,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_add_repos_file2, args)def svn_wc_add_repos_file(*args):    """    svn_wc_add_repos_file(char dst_path, svn_wc_adm_access_t adm_access, char new_text_path,         apr_hash_t new_props, char copyfrom_url,         svn_revnum_t copyfrom_rev, apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_add_repos_file, args)def svn_wc_remove_from_revision_control(*args):    """    svn_wc_remove_from_revision_control(svn_wc_adm_access_t adm_access, char name, svn_boolean_t destroy_wf,         svn_boolean_t instant_error,         svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_remove_from_revision_control, args)def svn_wc_resolved_conflict2(*args):    """    svn_wc_resolved_conflict2(char path, svn_wc_adm_access_t adm_access, svn_boolean_t resolve_text,         svn_boolean_t resolve_props,         svn_boolean_t recurse, svn_wc_notify_func2_t notify_func,         void notify_baton, svn_cancel_func_t cancel_func,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_resolved_conflict2, args)def svn_wc_resolved_conflict(*args):    """    svn_wc_resolved_conflict(char path, svn_wc_adm_access_t adm_access, svn_boolean_t resolve_text,         svn_boolean_t resolve_props,         svn_boolean_t recurse, svn_wc_notify_func_t notify_func,         apr_pool_t pool) -> svn_error_t    """    return apply(_wc.svn_wc_resolved_conflict, args)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?