From: Jonathan Nieder Date: Fri, 25 Mar 2011 03:34:31 GMT Subject: [PATCH svn-fe 0/4] vcs-svn: null bytes in properties Message-ID: <20110325033431.GA3007@elie> In-Reply-To: <1300970636-31743-1-git-send-email-david.barr@cordelta.com> David Barr wrote: > 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(-)