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

[PATCH] python bindings bugfix for svn_repos_get_logs()

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-06-27 10:09:35 CEST

Log Message:

Bugfix for the python bindings. svn_repos_get_logs() causes a crash when
its "discover_changed_paths" argument is nonzero because the thunk,
svn_swig_py_thunk_log_receiver(), that forwards to a user defined python
callback function is unable to find a swig type corresponding
to the svn_log_changed_path_t structs that it has to pass to the callback.

* subversion/bindings/swig/swigutil_py.c (svn_swig_py_thunk_log_receiver):
  changed argument to SWIG_TypeQuery for "svn_log_changed_path_t" type

* subversion/bindings/swig/core.i: exposed "svn_log_changed_path_t" type

begin 666 changed_paths.diff
M26YD97@Z('-U8G9E<G-I;VXO8FEN9&EN9W,O<W=I9R]C;W)E+FD*/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/0HM+2T@<W5B=F5R<VEO;B]B:6YD:6YG<R]S=VEG
M+V-O<F4N:0DH<F5V:7-I;VX@-C,R.2D**RLK('-U8G9E<G-I;VXO8FEN9&EN
M9W,O<W=I9R]C;W)E+FD)*'=O<FMI;F<@8V]P>2D*0$ @+3,S+#<@*S,S+#8@
M0$ *( H@+RH@(R,C(&9O<B!N;W<L(&QE="=S(&YO="!T<GD@=&\@:&%N9&QE
M('1H97-E('-T<G5C='5R97,N('-W:6<@8V]M<&QA:6YS"B @(" C(R,@86)O
M=70@<V5T=&EN9R!T:&4@)V-O;G-T(&-H87(@*B<@:6YS:61E('1H92!S=')U
M8W0@;6EG:'0@;&5A:R!M96T@("HO"BTE:6=N;W)E('-V;E]L;V=?8VAA;F=E
M9%]P871H7W0["B *("\J(",C(R!792!A;'-O(&=E="!C;VUP;&%I;G1S(&%B
M;W5T('!O<W-I8FQE(&UE;6]R>2!L96%K86=E(&9O<B!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HM("!S=VEG7W1Y<&5?:6YF;R J=&EN9F\@/2!35TE'7U1Y
M<&51=65R>2@B4U=)1U194$5?<%]S=FY?;&]G7V-H86YG961?<&%T:%]T(BD[
M"BL@('-W:6=?='EP95]I;F9O("IT:6YF;R ](%-724=?5'EP95%U97)Y*")S
M=FY?;&]G7V-H86YG961?<&%T:%]T("HB*3L*(" @4'E/8FIE8W0@*F-H<&%T
<:',["B @('-V;E]E<G)O<E]T("IE<G(["B @"@``
`
end

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 10:12:35 2003

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.