You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/08/11 02:41:39 UTC

svn commit: r1156417 - in /subversion/branches/fs-py/subversion: libsvn_fs_py/fs_fs.c python/svn/fs.py

Author: hwright
Date: Thu Aug 11 00:41:39 2011
New Revision: 1156417

URL: http://svn.apache.org/viewvc?rev=1156417&view=rev
Log:
On the fs-py branch:
Just directly call on object method, rather than proxying through a helper
module method.

* subversion/python/svn/fs.py
  (_set_uuid): Remove.

* subversion/libsvn_fs_py/fs_fs.c
  (svn_fs_py__set_uuid): Call the object method, rather than the proxy.

Modified:
    subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
    subversion/branches/fs-py/subversion/python/svn/fs.py

Modified: subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c?rev=1156417&r1=1156416&r2=1156417&view=diff
==============================================================================
--- subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c (original)
+++ subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c Thu Aug 11 00:41:39 2011
@@ -6758,9 +6758,9 @@ svn_fs_py__set_uuid(svn_fs_t *fs,
 {
   fs_fs_data_t *ffd = fs->fsap_data;
 
-  return svn_error_trace(svn_fs_py__call_method(NULL, ffd->p_module,
-                                                "_set_uuid",
-                                                "(Os)", ffd->p_fs, uuid));
+  return svn_error_trace(svn_fs_py__call_method(NULL, ffd->p_fs,
+                                                "set_uuid",
+                                                "(s)", uuid));
 }
 
 /** Node origin lazy cache. */

Modified: subversion/branches/fs-py/subversion/python/svn/fs.py
URL: http://svn.apache.org/viewvc/subversion/branches/fs-py/subversion/python/svn/fs.py?rev=1156417&r1=1156416&r2=1156417&view=diff
==============================================================================
--- subversion/branches/fs-py/subversion/python/svn/fs.py (original)
+++ subversion/branches/fs-py/subversion/python/svn/fs.py Thu Aug 11 00:41:39 2011
@@ -80,6 +80,3 @@ def _create_fs(path, config=None):
 
 def _open_fs(path):
     return FS(path)
-
-def _set_uuid(fs, uuid):
-    fs.set_uuid(uuid)