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

Re: Mismatched backwards compat callbacks in libsvn_wc

From: Роман Донченко <DXDragon_at_yandex.ru>
Date: Fri, 03 Jul 2009 01:06:23 +0400

Hyrum K. Wright <hyrum_at_hyrumwright.org> писал в своём письме Thu, 02 Jul
2009 19:44:44 +0400:

> I applied the patch locally, and the python tests no longer segfault.
> Thanks very much for tracking this down! With the patch, I now get an
> error in the tests, but not a crash:

> ======================================================================
> ERROR: test_lock (wc.SubversionWorkingCopyTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/hwright/dev/svn-trunk/subversion/bindings/swig/python/
> tests/wc.py", line 48, in test_lock
> lock = wc.add_lock(self.path, core.svn_lock_create(core.Pool()),
> self.wc)
> File "/home/hwright/dev/svn-trunk/subversion/bindings/swig/python/
> libsvn/wc.py", line 2814, in svn_wc_add_lock
> return apply(_wc.svn_wc_add_lock, args)
> SubversionException: ('traced call', 200030)
>
> ----------------------------------------------------------------------

This is a different test, but yep, happens for me too. Will investigate.

> (Note that that this doesn't *not* solve the segfault in the ruby
> tests.)

That's outside my expertise, unfortunately.

> Any improvements to documentation, including function naming are
> definitely encouraged. Feel free to do a followup patch.

Alrighty then!

[[[
Give the svn_wc_diff_callbacks*_t wrappers more descriptive names.

* subversion/libsvn_wc/deprecated.c: rename callbacks*_wrapper_baton to
diff_callbacks*_wrapper_baton, callbacks*_wrapper to
diff_callbacks*_wrapper and the wrapper functions to wrap_?to*_<basename>.
]]]

Roman.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2367601

Received on 2009-07-02 23:07:08 CEST

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.