Does subversion swig binding support for python 3 now?

2014-11-30 Thread Yonggang Luo
I am looking forward to it.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


Hope subversion server can fold each 1000 revision into a zipped or compacted file.

2014-05-05 Thread Yonggang Luo
For really big repository, there is too much small files, that's hurt for
backup and checksums and copy/move operations.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


Is there swig python 3 binding for subversion?

2014-04-16 Thread Yonggang Luo
I am looking for it.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


What's version swig of subversion used for bindings, I wanna swig-svn python 3.0 binding.

2013-10-31 Thread Yonggang Luo
Did subversion has any plan about this, if I wanna to support for python 3,
what I need to do if subversion didn't support it yet?


Re: I want to know did svn_wc_entry support for path like D:\Path\To\Repo? or we must to use path like D:/Path/To/Repo

2012-04-06 Thread Yonggang Luo

   Yes to the second question, see svn_path.h and svn_dirent_uri.h

 Did that means I need to use
 const char *  
svn_dirent_internal_stylehttp://subversion.apache.org/docs/api/1.6/svn__dirent__uri_8h.html#abb108de5b05a645a22b78a6b90b6d77d
(const
char *dirent, apr_pool_t *pool)   Convert *dirent* from the local style to
the canonical internal style.
http://subversion.apache.org/docs/api/1.6/svn__dirent__uri_8h.html#abb108de5b05a645a22b78a6b90b6d77d
 const char *  
svn_dirent_local_stylehttp://subversion.apache.org/docs/api/1.6/svn__dirent__uri_8h.html#acd43577b7c36448031ac25595f506bcb
(const
char *dirent, apr_pool_t *pool)   Convert *dirent* from the canonical
internal style to the local style.
 to convert paths?

   
   罗勇刚(Yonggang Luo)  wrote on Sun, Mar 11, 2012 at 22:43:42 +0800:
typedef struct {
PyObject_HEAD
svn_wc_adm_access_t *adm;
 apr_pool_t *pool;
} AdmObject;
AdmObject admobj;
   
temp_pool = Pool(NULL);
 if (temp_pool == NULL)
return NULL;
RUN_SVN_WITH_POOL(temp_pool, svn_wc_entry(entry,
svn_path_canonicalize(path, temp_pool), admobj-adm, show_hidden,
temp_pool));
   
   
--
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
  
 
 
 
  --
   此致
  礼
  罗勇刚
  Yours
  sincerely,
  Yonggang Luo





-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


Re: I want to know did svn_wc_entry support for path like D:\Path\To\Repo? or we must to use path like D:/Path/To/Repo

2012-03-12 Thread Yonggang Luo
Is these two api is needed to be used for covert path
C:\Path\To something to C:/Path/To

/** Convert @a path from the local style to the canonical internal style. */
const char *
svn_path_internal_style(const char *path, apr_pool_t *pool);

/** Convert @a path from the canonical internal style to the local style. */
const char *
svn_path_local_style(const char *path, apr_pool_t *pool);


2012/3/12 Daniel Shahaf d...@daniel.shahaf.name

 Yes to the second question, see svn_path.h and svn_dirent_uri.h

 罗勇刚(Yonggang Luo)  wrote on Sun, Mar 11, 2012 at 22:43:42 +0800:
  typedef struct {
  PyObject_HEAD
  svn_wc_adm_access_t *adm;
   apr_pool_t *pool;
  } AdmObject;
  AdmObject admobj;
 
  temp_pool = Pool(NULL);
   if (temp_pool == NULL)
  return NULL;
  RUN_SVN_WITH_POOL(temp_pool, svn_wc_entry(entry,
  svn_path_canonicalize(path, temp_pool), admobj-adm, show_hidden,
  temp_pool));
 
 
  --
   此致
  礼
  罗勇刚
  Yours
  sincerely,
  Yonggang Luo




-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


The Subversion 1.7.0 Windows SWIG binding for python 2.7 and python 2.6 is not working.

2011-11-04 Thread Yonggang Luo
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
 from svn import core
Traceback (most recent call last):
  File stdin, line 1, in module
  File C:\Python26\lib\site-packages\svn\core.py, line 26, in module
from libsvn.core import *
  File C:\Python26\lib\site-packages\libsvn\core.py, line 25, in module
_core = swig_import_helper()
  File C:\Python26\lib\site-packages\libsvn\core.py, line 21, in
swig_import_helper
_mod = imp.load_module('_core', fp, pathname, description)
ImportError: DLL load failed: The specified procedure could not be found.



-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


Cooke, do you know how to using the get_log API to fetch subversion history along with path kind{file, directory}?

2011-10-20 Thread Yonggang Luo
If this is not possible, what's the fastest way to do that?
Thanks.


-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


How to use get_log along with path kind {file,directory}?

2011-10-20 Thread Yonggang Luo
在 2011年10月20日星期四,Stefan Sperling 写道:

 On Thu, Oct 20, 2011 at 06:28:07PM +0800, 罗勇刚(Yonggang Luo)  wrote:
  Thanks, that's impressive,
  The type of the node, may be svn_node_unknown.: When this happened, is
 that
  depending on the server or other condition?

 Maybe you are not allowed to see the path because of access
 restrictions.

  *Are properties modified, may be svn_tristate_unknown.

 Again, 'unknown' means the server is not allowed to tell you
 because the administrator configured restrictive access rights
 for the path.

  *Did old servers support for this?

 Only 1.6 and better support svn_log_changed_path2_t.
 Older servers will return svn_log_changed_path_t, which doesn't
 have the node kind:

 http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__log__changed__path__t.html

So that's totally depending on the server, on more question, is that means
properties modified and text modified only support by server newer than or
just be subversion server 1.7?
If the server restricted me to get the kind, what's the fastest way to fetch
it in other way?


-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


How to use get_log along with path kind {file,directory}?

2011-10-19 Thread Yonggang Luo
rt.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


Re: How to use get_log along with path kind {file,directory}?

2011-10-19 Thread Yonggang Luo
I didn't received the reply, so I repost it, because I am just
subscribe to this list. Btw, can you be more specified, I didn't found
the place how get_log along with path kind.

2011/10/20, Daniel Shahaf d...@daniel.shahaf.name:
 Please don't keep re-posting the same question on a daily basis.

 The answer is in the manual.

 Someone replied to your post with another answer.

 罗勇刚(Yonggang Luo)  wrote on Thu, Oct 20, 2011 at 01:33:58 +0800:
 rt.

 --
  此致
 礼
 罗勇刚
 Yours
 sincerely,
 Yonggang Luo


-- 
从我的移动设备发送

 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


I means using get_log API to retrieve log information along with path kind (file,path)

2011-10-19 Thread Yonggang Luo
I didn't found a easy way to do that.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


How to use get_log to fetch the path's kind?

2011-10-18 Thread Yonggang Luo
As the title.

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo


How to know if a path is a file in Subversion Log Records in the fastest way?

2011-10-17 Thread Yonggang Luo
-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo