Skip to content

svn-fe: support for text deltas

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20101120192153.GA17823@burratino

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8svn-fe: Prepare for strbuf usecontrib/svn-fe/Makefile+7 -80 replies
2/8vcs-svn: Internal fast_export_save_blob helpervcs-svn/fast_export.c+87 -00 replies
3/8vcs-svn: Introduce repo_read_path to check the content at a pathvcs-svn/repo_tree.c vcs-svn/repo_tree.h+10 -01 reply
4/8vcs-svn: Introduce fd_buffer routinesMakefile vcs-svn/fast_export.c vcs-svn/fd_buffer.c +1 more+100 -340 replies
5/8vcs-svn: Read delta preimage from file descriptortest-svn-fe.c vcs-svn/sliding_window.c vcs-svn/sliding_window.h +2 more+19 -220 replies
6/8vcs-svn: Let caller set up sliding window for delta preimagetest-svn-fe.c vcs-svn/svndiff.c vcs-svn/svndiff.h+15 -191 reply
7/8vcs-svn: Teach line_buffer about temporary filesvcs-svn/line_buffer.c vcs-svn/line_buffer.h vcs-svn/line_buffer.txt+52 -10 replies
8/8vcs-svn: Implement text-delta handlingcontrib/svn-fe/svn-fe.txt t/t9010-svn-fe.sh vcs-svn/fast_export.c +2 more+99 -381 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [WIP/PATCH 0/8] svn-fe: support for text deltas
Quoted 4 lines · Jonathan Nieder
Quoted 2 lines · Jonathan Nieder

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