git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-svn: refuse to dcommit non-UTF-8 messages

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
May 29, 2009, 14:11 UTC
Message-ID
<6I7Qq-BKaJmSe6FJkYgjMpNqo6RFAVB0STpL09QJO1skOCB2ezM6mA@cipher.nrlssc.navy.mil>
In-Reply-To
<7v3aaoe40j.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 14 quoted lines
> Eric Wong <normalperson@yhbt.net> writes:
> 
>>  t/t9139-git-svn-non-utf8-commitencoding.sh |   47 ++++++++++++++++++++++++++++
> 
> Hmm.
> 
>> +# Copyright (c) 2009 Eric Wong
>> +
>> +test_description='git svn refuses to dcommit non-UTF8 messages'
>> +
>> +. ./lib-git-svn.sh
> 
> This passes when merged to 'master', but together with bc/old-iconv branch
> cooking in 'next' it breaks.

Yeah, it's the second for loop which accesses the files in t/t3900/. bc/old-iconv replaces each occurrence of ISO-8859-1 with ISO8859-1 and EUCJP with eucJP since old Solaris didn't know both names and modern platforms handle either name. The text files in t/t3900/ were renamed accordingly.

It would be nice to use these older names here too, even though I won't be able to test it since svn is not installed on the older platforms I have access to.

-brandon
Previous: Junio C HamanoNext: Eric Wong
Message 6 of 7 in “git-svn dcommits messages not in UTF-8 charset to mod_dav_svn?”
  1. Matthias AndreeMay 27, 2009
  2. Eric WongMay 28, 2009
  3. git-svn: refuse to dcommit non-UTF-8 messagesEric Wong, May 28, 2009
  4. Junio C HamanoMay 29, 2009
  5. Junio C HamanoMay 29, 2009
  6. Brandon CaseyMay 29, 2009
  7. t9139 uses ancient, backwards-compatible iconv namesEric Wong, May 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.