From: David Barr Date: Sat, 5 Mar 2011 02:30:23 +0000 (+1100) Subject: vcs-svn: set up channel to read fast-import cat-blob response X-Git-Tag: v1.7.12-rc0~41^2~13^2~5^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/41529bbce407fbf1a925cfbc7c1aa30064f66ae7?hp=41529bbce407fbf1a925cfbc7c1aa30064f66ae7 vcs-svn: set up channel to read fast-import cat-blob response Set up some plumbing: teach the svndump lib to pass a file descriptor number to the fast_export lib, representing where cat-blob/ls responses can be read from, and add a get_response_line helper function to the fast_export lib to read a line from that file. Unfortunately this means that svn-fe needs file descriptor 3 to be redirected from somewhere (preferrably the cat-blob stream of a fast-import backend); otherwise it will fail: $ svndump | svn-fe fatal: cannot read from file descriptor 3: Bad file descriptor For the moment, "svn-fe 3 Signed-off-by: David Barr Signed-off-by: Jonathan Nieder ---