Add svndump_init_fd to allow reading dumps from arbitrary FDs
commitfd871b94f6d564864194befa10c621586b7b8bcf
authorFlorian Achleitner <florian.achleitner.2.6.31@gmail.com>
Wed, 19 Sep 2012 15:21:17 +0000 (19 17:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Oct 2012 21:10:16 +0000 (7 14:10 -0700)
tree09f3887f1bd4aaf07790ac715de4b21260bfb651
parent48ea9f955f52cab0b259c497b4b960832dddd0ac
Add svndump_init_fd to allow reading dumps from arbitrary FDs

The existing function only allows reading from a filename or from
stdin. Allow passing of a FD and an additional FD for the back report
pipe. This allows us to retrieve the name of the pipe in the caller.

Signed-off-by: Florian Achleitner <florian.achleitner.2.6.31@gmail.com>
Acked-by: David Michael Barr <b@rr-dav.id.au>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
vcs-svn/svndump.c
vcs-svn/svndump.h