svn-fe: support for property deltas (but not text deltas yet)
Get series with b4
b4 am 20101120004525.GA17445@burratinoVersions newest first
- v1 Latest15 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | vcs-svn: Check for errors from open()contrib/ test-svn-fe.c vcs-svn/ +1 more | +9 | 0 replies | |
| 2/15 | vcs-svn: Eliminate node_ctx.srcRev globalt/ vcs-svn/ | +166 | 0 replies | |
| 3/15 | vcs-svn: Eliminate node_ctx.mark globalvcs-svn/ | +11 | 0 replies | |
| 4/15 | vcs-svn: Unclutter handle_node by introducing have_props varvcs-svn/ | +5 | 0 replies | |
| 5/15 | vcs-svn: Use mark to indicate nodes with included textvcs-svn/ | +8 | 0 replies | |
| 6/15 | vcs-svn: handle_node: Handle deletion case earlyvcs-svn/ | +8 | 0 replies | |
| 7/15 | vcs-svn: Replace = Delete + Addvcs-svn/ | +7 | 0 replies | |
| 8/15 | vcs-svn: Combine repo_replace and repo_modify functionsvcs-svn/ vcs-svn/ vcs-svn/ | +12 | 0 replies | |
| 9/15 | vcs-svn: Delay read of per-path propertiesvcs-svn/ | +19 | 0 replies | |
| 10/15 | vcs-svn: Reject path nodes without Node-actiont/ vcs-svn/ | +25 | 1 reply | |
| 11/15 | vcs-svn: More dump format sanity checkst/ vcs-svn/ | +35 | 6 replies | |
| 12/15 | vcs-svn: Make source easier to read on small screensvcs-svn/ | +0 | 0 replies | |
| 13/15 | vcs-svn: Split off function for handling of individual propertiesvcs-svn/ | +19 | 0 replies | |
| 14/15 | vcs-svn: Sharpen parsing of property linesvcs-svn/ | +19 | 0 replies | |
| 15/15 | vcs-svn: Implement Prop-delta handlingt/ vcs-svn/ | +144 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC/PATCH 0/15] svn-fe: support for property deltas (but not text deltas yet)
Hi,
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].
Another chapter. This one is mostly David's work. One can test it (I haven't tried) by taking out the safety
die("text deltas not supported");and letting it import from some real-world deltified dump file, treating deltas as the full text. Then one can validate as usual, by checking the modes of files in each revision of the imported tree.
I've done a little refactoring to more easily understand the patch, but the heart of the work is still David's. Any bugs and infelicities are probably mine (especially the evil hack to support switching between executables and symlinks).
Especially useful would be a nicer set of tests. A tool to create dump files based on a more concise description would make this and some future tasks a lot easier (hint, hint).
Thoughts? Improvements? Any of these ready to go? I can rearrange to put the uncontroversial patches at the beginning once it is clear what those are.
David Barr (1):
vcs-svn: Implement Prop-delta handling
Jonathan Nieder (14):
vcs-svn: Check for errors from open()
vcs-svn: Eliminate node_ctx.srcRev global
vcs-svn: Eliminate node_ctx.mark global
vcs-svn: Unclutter handle_node by introducing have_props var
vcs-svn: Use mark to indicate nodes with text
vcs-svn: handle_node: Handle deletion case early
vcs-svn: Replace = Delete + Add
vcs-svn: Merge repo_replace and repo_modify functions
vcs-svn: Delay read of per-path properties
vcs-svn: Reject path nodes without Node-action
vcs-svn: More dump format sanity checks
vcs-svn: Make source easier to read on small screens
vcs-svn: Split off function for handling of individual properties
vcs-svn: Sharpen parsing of property lines
contrib/svn-fe/svn-fe.c | 3 +- t/t9010-svn-fe.sh | 301 ++++++++++++++++++++++++++++++++++++++++++++++- test-svn-fe.c | 3 +- vcs-svn/repo_tree.c | 21 +-- vcs-svn/repo_tree.h | 3 +- vcs-svn/svndump.c | 191 +++++++++++++++++++----------- vcs-svn/svndump.h | 2 +- 7 files changed, 436 insertions(+), 88 deletions(-)
Signature · 1 line
1.7.2.3