[WIP/PATCH 0/8] svn-fe: support for text deltas
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 20, 2010, 19:21 UTC
- Message-ID
- <20101120192153.GA17823@burratino>
- In-Reply-To
- <20101120004525.GA17445@burratino>
Jonathan Nieder wrote:
> Jonathan Nieder wrote:
>> This mini-series is part of an effort to get David and Ram's svn >> import work integrated into mainline git[1].
The next chapter. This adds handling of text deltas. I broke it in the process, though, as you can see with the attached test script:
$ testme.sh http://svn.apache.org/repos/asf 100 asf.git [...] * Dumped revision 35. error: Preimage ends early fatal: cannot apply delta
Perhaps you can take this as a puzzle. Where does the patch series go wrong?
I like to think some of the cleanup will make this more maintainable in the future, even if it is broken now.
Builds on the db/fast-import-cat-blob[1] and jn/svndiff0[2] topics.
Thoughts, improvements, complaints welcome.
David Barr (2): vcs-svn: Let caller set up sliding window for delta preimage vcs-svn: Implement text-delta handling
Jonathan Nieder (6): svn-fe: Prepare for strbuf use vcs-svn: Internal fast_export_save_blob helper vcs-svn: Introduce repo_read_path to check the content at a path vcs-svn: Introduce fd_buffer library vcs-svn: Read delta preimage from file descriptor vcs-svn: Teach line_buffer about temporary files
[1] Doesn't seem to be available on gmane. The important part (patch 3) is, though: http://thread.gmane.org/gmane.comp.version-control.git/161730 Should I re-send?
[2] http://thread.gmane.org/gmane.comp.version-control.git/151086/focus=158913