Re: Creating a self-compressed svndiff from a file...
On Wed, Oct 25, 2006 at 08:38:32PM -0400, John Szakmeister wrote:
> Can anyone provide some pointers on the functions I need to call to get a self-compressed svndiff stream for a file? I'm trying to fix someone's repository, but I can't seem to get anything converted into an svndiff stream. I called svn_txdelta_to_svndiff2() to get the window handler and baton, then I called svn_txdelta_target_push() to get a writable stream. But when I write to it, nothing comes out. :-( Any tips would be extremely helpful!
That should work fine, though you'll need to send SVN_DELTA_WINDOW_SIZE
bytes (100k) of target data before you get any output (or close the
target stream, of course). I assume you're passing svn_stream_empty()
as the source stream for svn_txdelta_target_push()?
Received on Fri Oct 27 03:34:26 2006
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev