SWIG/Python interface bug
From: Marshall White <cscidork_at_yahoo.com>
Date: 2003-02-01 05:14:42 CET
I am going through looking into what I can do with the SWIG Python stuff.
I found one thing I can't do.
It seems like it doesn't like functions with arguments of "const char **"
I wrote a test script to verify this for myself. It is at the bottom of this email (I named it
The commit date and authors are human readable strings.
The function I am calling in this script is just one of many that currently won't work correctly.
# set the time to the proper (past) time
### how come conflicts is a newline?
Indeed conflicts should not be a newline. In fact, most of the time it isn't. It is one of those
1) Is this a known bug?
Marshall
#!/usr/bin/env python
import os
from svn import fs, util, repos
def test_this(pool, ctx):
rev = fs.youngest_rev(t_fs, pool)
cr, cd, la = repos.svn_repos_get_committed_info(root, ctx.filepath, pool)
print 'commit date = `%s`' % cd
class _ctx:
def usage(ctx):
def main():
if len(sys.argv) != 3:
ctx.repospath = sys.argv[1]
util.run_app(test_this, ctx)
if __name__ == '__main__':
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.