python svnmerge (was Re: [Svnmerge] svnmerge and different flavors of sh)

Jim Fulton jim at zope.com
Wed Sep 14 13:42:51 PDT 2005


Blair Zajac wrote:
> Jim Fulton wrote:
> 
>> Blair Zajac wrote:
>>
>>> Jim Fulton wrote:
...

>>> BTW, a good place to check out on writing a Subversion client that 
>>> purely uses the Python bindings and doesn't fork out anything is this 
>>> script, which took a decent amount of work to figure out, as there's 
>>> almost no documentation anywhere, except for pydoc, Subversion's 
>>> include files and Googling the mailing lists:
>>>
>>> http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_export_empty_files.py 

Update: I've decided to (try to) use the Python bindings.  I want this thing
to be portable, including running on windows, and shelling out on windows
is too painful.

>>
>>
>>
>>
>> I have 2 reservations about using the Python subversion bindings:
>>
>> 1. As you say: "there's almost no documentation anywhere, except for 
>> pydoc,
>>    Subversion's include files and Googling the mailing lists". :/

This is excruciating -- and things to swig, segfaults galore

>> 2. I doubt that subversion-python is widely installed.  For example, It's
>>    not included in the online binaries for Fedora:
>>
>>    http://dag.wieers.com/packages/subversion/

I was off here.  It's not a separate RPM, it's included in the subversion rpm.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



More information about the Svnmerge mailing list