[PULL] svn-fe updates for master or next
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 27, 2012, 00:33 UTC
- Message-ID
- <20120127003258.GA6946@burratino>
- In-Reply-To
- <20120127001041.GB6158@burratino>
Jonathan Nieder wrote:
> Test results from the svn-fe branch would be interesting. I am > particularly nervous about asking Junio to pull changes to > contrib/svn-fe that might break
Eh, you only live once.
Junio, please pull
git://repo.or.cz/git/jrn.git svn-fe
to get the following changes since commit ec014eac0e9e6f30cbbca616090fa2ecf74797e7:
Git 1.7.5 (2011-04-23 23:36:32 -0700)
up to c5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6:
vcs-svn: reset first_commit_done in fast_export_init (2011-06-23 10:04:36 -0500)
I'd even be okay with pulling this for v1.7.9, but application for the next release would also be fine with me. It simplifies svn-fe a great deal and fulfills a longstanding wish: support for dumps with deltas in them. The cost is that commandline usage of the svn-fe tool becomes a little more complicated since it no longer keeps state itself but instead reads blobs back from fast-import in order to copy them between revisions and apply deltas to them.
Sorry I've taken so long to get to this, and thanks to David for the prodding.
----------------------------------------------------------------
David Barr (9):
vcs-svn: set up channel to read fast-import cat-blob response
vcs-svn: quote paths correctly for ls command
vcs-svn: use mark from previous import for parent commit
vcs-svn: pass paths through to fast-import
vcs-svn: drop string_pool
vcs-svn: drop treap
vcs-svn: drop obj_pool
vcs-svn: avoid using ls command twice
vcs-svn: implement text-delta handlingDmitry Ivankov (2):
vcs-svn: do not initialize report_buffer twice
vcs-svn: reset first_commit_done in fast_export_initJonathan Nieder (31):
vcs-svn: use higher mark numbers for blobs
vcs-svn: save marks for imported commits
vcs-svn: add a comment before each commit
vcs-svn: eliminate repo_tree structure
vcs-svn: handle filenames with dq correctly
Merge branch 'db/length-as-hash' (early part) into db/svn-fe-code-purge
Merge branch 'db/strbufs-for-metadata' into db/svn-fe-code-purge
Makefile: list one vcs-svn/xdiff object or header per line
vcs-svn: learn to maintain a sliding view of a file
vcs-svn: make buffer_read_binary API more convenient
vcs-svn: skeleton of an svn delta parser
vcs-svn: parse svndiff0 window header
vcs-svn: read the preimage when applying deltas
vcs-svn: read inline data from deltas
vcs-svn: read instructions from deltas
vcs-svn: implement copyfrom_data delta instruction
vcs-svn: verify that deltas consume all inline data
vcs-svn: let deltas use data from postimage
vcs-svn: let deltas use data from preimage
Merge commit 'v1.7.5' into svn-fe
Merge branch 'db/vcs-svn-incremental' into svn-fe
Merge branch 'db/svn-fe-code-purge' into svn-fe
Merge branch 'db/delta-applier' into db/text-delta
test-svn-fe: split off "test-svn-fe -d" into a separate function
vcs-svn: cap number of bytes read from sliding view
Merge branch 'db/delta-applier' into svn-fe
Merge branch 'db/delta-applier' into db/text-delta
vcs-svn: guard against overflow when computing preimage length
vcs-svn: avoid hangs from corrupt deltas
Merge branch 'db/text-delta' into svn-fe
Merge branch 'db/text-delta' into svn-fe.gitignore | 3 - Makefile | 58 +++++--- contrib/svn-fe/svn-fe.txt | 9 +- t/t0080-vcs-svn.sh | 117 --------------- t/t0081-line-buffer.sh | 106 +------------- t/t9010-svn-fe.sh | 365 ++++++++++++++++++++++++++++++++++++++------- t/t9011-svn-da.sh | 248 ++++++++++++++++++++++++++++++ test-obj-pool.c | 116 -------------- test-string-pool.c | 31 ---- test-svn-fe.c | 50 ++++++- test-treap.c | 70 --------- vcs-svn/LICENSE | 3 +- vcs-svn/fast_export.c | 253 +++++++++++++++++++++++++++++-- vcs-svn/fast_export.h | 26 +++- vcs-svn/line_buffer.c | 6 +- vcs-svn/line_buffer.h | 2 +- vcs-svn/obj_pool.h | 61 -------- vcs-svn/repo_tree.c | 330 ++++------------------------------------- vcs-svn/repo_tree.h | 12 +- vcs-svn/sliding_window.c | 79 ++++++++++ vcs-svn/sliding_window.h | 18 +++ vcs-svn/string_pool.c | 102 ------------- vcs-svn/string_pool.h | 11 -- vcs-svn/string_pool.txt | 43 ------ vcs-svn/svndiff.c | 308 ++++++++++++++++++++++++++++++++++++++ vcs-svn/svndiff.h | 10 ++ vcs-svn/svndump.c | 117 ++++++++++----- vcs-svn/trp.h | 237 ----------------------------- vcs-svn/trp.txt | 109 -------------- 29 files changed, 1434 insertions(+), 1466 deletions(-) delete mode 100755 t/t0080-vcs-svn.sh create mode 100755 t/t9011-svn-da.sh delete mode 100644 test-obj-pool.c delete mode 100644 test-string-pool.c delete mode 100644 test-treap.c delete mode 100644 vcs-svn/obj_pool.h create mode 100644 vcs-svn/sliding_window.c create mode 100644 vcs-svn/sliding_window.h delete mode 100644 vcs-svn/string_pool.c delete mode 100644 vcs-svn/string_pool.h delete mode 100644 vcs-svn/string_pool.txt create mode 100644 vcs-svn/svndiff.c create mode 100644 vcs-svn/svndiff.h delete mode 100644 vcs-svn/trp.h delete mode 100644 vcs-svn/trp.txt