[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1038 - trunk/subversion/bindings/swig trunk/subversion/bindings/swig/python trunk/subversion/bindings/swig/python/svn

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-24 03:12:12 CET

gstein@tigris.org writes:

> +from svn import _fs, _util
> +
> +def run(db_path):
> + _util.apr_initialize()
> +
> + pool = _util.svn_pool_create(None)
> +
> + fs = _fs.svn_fs_new(pool)
> + _fs.svn_fs_open_berkeley(fs, db_path)
> +
> + rev = _fs.svn_fs_youngest_rev(fs, pool)
> + print 'Head revision:', rev
> +
> + root = _fs.svn_fs_revision_root(fs, rev, pool)
> +
> + print '/'
> + dump_tree(fs, root, pool, '', 2)

Greg, this ROCKS!! I'm so happy.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:58 2006

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.