Friday, November 29, 2002

Streams

it would be nice if subversion had code to let you wrap one svn_stream_t in another svn_stream_t that would do keyword and eol translation on it, so you'd end up with a stream that translates everything you write to it.

as it is, i'm stuck writing the stream out to a temp file, then reopening it and creating a new stream, which i pass to the function we have that does the translation on it.

i think this is acceptable, since 'svn cat' isn't exactly a core bit of our functionality, but it's still irritating.