Using git-svn with do_switch() makes tracking branches and tags more bandwidth-efficient because the SVN server can only send deltas between the branch-point and the resulting branch. Unfortunately, the current 1.4.3 (and previous) releases of the Perl SVN bindings do not properly support do_switch(). These packages were compiled on a Debian 4.0 ('Etch') system and should also work for users of the unstable distribution. See http://git-svn.bogomips.org/svn/switch-editor-perl.diff for the standalone patch. More info below: $ elinks --dump http://svn.haxx.se/dev/archive-2007-01/0936.shtml [[1]svn.haxx.se] . [2]SVN Dev . [3]SVN Users . [4]SVN Org . [5]TSVN Dev . [6]TSVN Users . [7]Subclipse Dev . [8]Subclipse Users . [9]this month's index [PATCH] do_switch still broken with Perl bindings in 1.4.3 * This message: [ [10]Message body ] [ [11]More options ] * Related messages: [ [12]Next message ] [ [13]Previous message ] [ [14]Next in thread ] [ [15]Replies ] From: Eric Wong <[16]normalperson_at_yhbt.net> Date: 2007-01-29 06:10:08 CET It looks like an at attempt was made to wrap the switch and status editors correctly for 1.4.3, but it was missing the other typemap changes that were only in trunk. This fixes the issue in 1.4.3 for me. Index: svn_ra.i =================================================================== --- svn_ra.i (revision 23276) +++ svn_ra.i (working copy) @@ -102,7 +102,10 @@ void *diff_baton) { svn_delta_make_editor(&$1, &$2, $input, _global_pool); } - +%typemap(perl5, in) (const svn_delta_editor_t *switch_editor, + void *switch_baton) { + svn_delta_make_editor(&$1, &$2, $input, _global_pool); +} %apply (const svn_delta_editor_t *EDITOR, void *BATON) { (const svn_delta_editor_t *update_editor, void *update_baton), -- Eric Wong Please CC me on replies, thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.org Received on Tue Jan 30 09:28:12 2007 * This message: [ [17]Message body ] * Next message: [18]Greg Stein: "Re: Another working copy library" * Previous message: [19]MONTEUX Eric: "File names encoding" * Next in thread: [20]Nik Clayton: "Re: [PATCH] do_switch still broken with Perl bindings in 1.4.3" * Reply: [21]Nik Clayton: "Re: [PATCH] do_switch still broken with Perl bindings in 1.4.3" * Contemporary messages sorted: [ [22]By Date ] [ [23]By Thread ] [ [24]By Subject ] [ [25]By Author ] [ [26]By messages with attachments ] This is an archived mail posted to the [27]Subversion Dev mailing list. References Visible links 1. http://svn.haxx.se/dev/archive-2007-01/0936.shtml#start 2. http://svn.haxx.se/ 3. http://svn.haxx.se/dev/ 4. http://svn.haxx.se/users/ 5. http://svn.haxx.se/org/ 6. http://svn.haxx.se/tsvn/ 7. http://svn.haxx.se/tsvnusers/ 8. http://svn.haxx.se/subdev/ 9. http://svn.haxx.se/subusers/ 10. http://svn.haxx.se/dev/archive-2007-01/ 11. http://svn.haxx.se/dev/archive-2007-01/0936.shtml#options2 12. Greg Stein: "Re: Another working copy library" http://svn.haxx.se/dev/archive-2007-01/0937.shtml 13. MONTEUX Eric: "File names encoding" http://svn.haxx.se/dev/archive-2007-01/0935.shtml 14. Nik Clayton: "Re: [PATCH] do_switch still broken with Perl bindings in 1.4.3" http://svn.haxx.se/dev/archive-2007-01/1007.shtml 15. http://svn.haxx.se/dev/archive-2007-01/0936.shtml#replies 16. mailto:normalperson_at_yhbt.net?Subject=Re:%20[patch]%20do_switch%20still%20broken%20with%20Perl%20bindings%20in%201.4.3 17. http://svn.haxx.se/dev/archive-2007-01/0936.shtml#start 18. Next message in the list http://svn.haxx.se/dev/archive-2007-01/0937.shtml 19. Previous message in the list http://svn.haxx.se/dev/archive-2007-01/0935.shtml 20. Next message in this discussion thread http://svn.haxx.se/dev/archive-2007-01/1007.shtml 21. Message sent in reply to this message http://svn.haxx.se/dev/archive-2007-01/1007.shtml 22. Contemporary messages by date http://svn.haxx.se/dev/archive-2007-01/date.shtml#936 23. Contemporary discussion threads http://svn.haxx.se/dev/archive-2007-01/index.shtml#936 24. Contemporary messages by subject http://svn.haxx.se/dev/archive-2007-01/subject.shtml#936 25. Contemporary messages by author http://svn.haxx.se/dev/archive-2007-01/author.shtml#936 26. Contemporary messages by attachment http://svn.haxx.se/dev/archive-2007-01/attachment.shtml 27. http://svn.haxx.se/dev/