Philippe Bruhat (BooK) wrote:
Le dimanche 11 février 2007 à 18:06, David Landgren écrivait:
[...]
and I suspect that will cause indigestion later on. Rather than fiddle
around with calculating content lengths myself, or try and drop the
entire stanza since there's nothing left, it looks like SVN::Dump will
have me writing much less make-work code.
Yes, recent versions of SVN::Dump will do all the calculations for you.
If there is a new functionnality you need, or patches you want to add,
just let me know. You're lucky that the SVN::Dump repository was among
the ones you trashed... ;-)
I like to inflict pain upon myself before spreading the love.
Hmm, I'll try an upgrade then. Last night it was choking on svk-isms or
something.
Something that would save me from having to spool the output of the
svnadmin dump command to a temp file would be to admit the possibility
of feeding a glob to new() and getting it to read the contents of a
filehandle (which would be me piping stuff in from svnadmin dump, c.f.
Nik Clayton's recipe on the subject).
Thanks,
David