Skip to content

vcs-svn: null bytes in properties

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20110325033431.GA3007@elie

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vcs-svn: make reading of properties binary-safet/t9010-svn-fe.sh vcs-svn/svndump.c+37 -144 replies
2/4vcs-svn: remove buffer_read_stringt/t0081-line-buffer.sh test-line-buffer.c vcs-svn/line_buffer.c +2 more+17 -480 replies
3/4vcs-svn: avoid unnecessary copying of log message and authorvcs-svn/svndump.c+10 -100 replies
4/4vcs-svn: handle log message with embedded null bytest/t9010-svn-fe.sh vcs-svn/fast_export.c vcs-svn/fast_export.h +3 more+95 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH svn-fe 0/4] vcs-svn: null bytes in properties
Quoted 2 lines · David Barr

it is permissible for both keys and values to contain nul characters.

You're right --- it's a regression to error out, though we never did support it all that well. How about this?

This doesn't take care of preserving embedded null bytes in the author name. That can come another day, I suppose.

Jonathan Nieder (4):
vcs-svn: make reading of properties binary-safe
vcs-svn: remove buffer_read_string
vcs-svn: avoid unnecessary copying of log message and author
vcs-svn: handle log message with embedded null bytes

 t/t0081-line-buffer.sh  |   35 ++++++----------
 t/t9010-svn-fe.sh       |  104 +++++++++++++++++++++++++++++++++++++++++++++++
 test-line-buffer.c      |    6 ---
 vcs-svn/fast_export.c   |   12 +++--
 vcs-svn/fast_export.h   |    9 ++--
 vcs-svn/line_buffer.c   |    8 ----
 vcs-svn/line_buffer.h   |    4 +-
 vcs-svn/line_buffer.txt |   12 +----
 vcs-svn/repo_tree.c     |    5 +-
 vcs-svn/repo_tree.h     |    4 +-
 vcs-svn/svndump.c       |   42 +++++++++----------
 11 files changed, 157 insertions(+), 84 deletions(-)