[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RFC: svn_subst_special_file_from_stream() or other ways to update special files from streams

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-12-12 22:35:54 CET

Some time ago, I created a translating stream. Just a few minutes
ago, I committed an MD5 calculating stream. This is all part of a
greater plan to reduce I/O in libsvn_wc by using more streams.

To do this, I need to replace many invocations of
svn_wc_translated_file2 by a to-be-created API call
svn_wc_translated_stream(). This api will return a translated stream
based on the translated stream, for normal files. But, I need it to
work for svn:special files too... So, I dreamed up a stream which
would create a special file from the data written to it (when closed)
and would fill a stream with the svn-internal special file
representation when read from...

I know it isn't a full spec, but what would you say?

bye,

Erik.

PS: If the general idea is alright, I can start fleshing out an api
and submit a patch before actually committing.
Received on Mon Dec 12 22:39:42 2005

This is an archived mail posted to the Subversion Dev mailing list.