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

[PATCH] t9139 uses ancient, backwards-compatible iconv names

From
EWEric Wong <normalperson@yhbt.net>
Date
May 30, 2009, 00:14 UTC
Message-ID
<20090530001447.GA32188@dcvr.yhbt.net>
In-Reply-To
<6I7Qq-BKaJmSe6FJkYgjMpNqo6RFAVB0STpL09QJO1skOCB2ezM6mA@cipher.nrlssc.navy.mil>
This is needed to work with
5ae93dfdccfe9457bdb1f54b33c76359f6c3b861:
  t3900: use ancient iconv names for backward compatibility
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
  Brandon Casey <casey@nrlssc.navy.mil> wrote:
  > Junio C Hamano wrote:
  > > 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.
 t/t9139-git-svn-non-utf8-commitencoding.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t9139-git-svn-non-utf8-commitencoding.sh b/t/t9139-git-svn-non-utf8-commitencoding.sh
index 2b1db97..f337959 100755
--- a/t/t9139-git-svn-non-utf8-commitencoding.sh
+++ b/t/t9139-git-svn-non-utf8-commitencoding.sh
@@ -8,7 +8,7 @@ test_description='git svn refuses to dcommit non-UTF8 messages'
 
 # ISO-2022-JP can pass for valid UTF-8, so skipping that in this test
 
-for H in ISO-8859-1 EUCJP
+for H in ISO8859-1 eucJP
 do
 	test_expect_success "$H setup" '
 		mkdir $H &&
@@ -17,7 +17,7 @@ do
 	'
 done
 
-for H in ISO-8859-1 EUCJP
+for H in ISO8859-1 eucJP
 do
 	test_expect_success "$H commit on git side" '
 	(
@@ -33,7 +33,7 @@ do
 	'
 done
 
-for H in ISO-8859-1 EUCJP
+for H in ISO8859-1 eucJP
 do
 	test_expect_success "$H dcommit to svn" '
 	(
-- 
Eric Wong
Previous: Brandon Casey
Message 7 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.