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

Minimum required version of subversion for git-svn?

From
Tom G. Christensen <tgc@statsbiblioteket.dk>
Date
Jan 9, 2009, 10:11 UTC
Message-ID
<496722CF.1060802@statsbiblioteket.dk>
Hello,
With git 1.6.0.5 I was able to run git-svn with subversion 1.1.4 on
RHEL4/i386 but with 1.6.0.6 and 1.6.1 the testsuite now fails in the new
test t9104.10:
* FAIL 10: follow-parent is atomic
                 (
                         cd wc &&
                         svn up &&
                         svn mkdir stunk &&
                         echo "trunk stunk" > stunk/readme &&
                         svn add stunk/readme &&
                         svn ci -m "trunk stunk" &&
                         echo "stunk like junk" >> stunk/readme &&
                         svn ci -m "really stunk" &&
                         echo "stink stank stunk" >> stunk/readme &&
                         svn ci -m "even the grinch agrees"
                 ) &&
                 svn copy -m "stunk flunked" "$svnrepo"/stunk
"$svnrepo"/flunk &&
                 { svn cp -m "early stunk flunked too" \
                         "$svnrepo"/stunk@17 "$svnrepo"/flunked ||
                 svn cp -m "early stunk flunked too" \
                         -r17 "$svnrepo"/stunk "$svnrepo"/flunked; } &&
                 git svn init --minimize-url -i stunk "$svnrepo"/stunk &&
                 git svn fetch -i stunk &&
                 git update-ref refs/remotes/flunk@18
refs/remotes/stunk~2 &&
                 git update-ref -d refs/remotes/stunk &&
                 git config --unset svn-remote.svn.fetch stunk &&
                 mkdir -p "$GIT_DIR"/svn/flunk@18 &&
                 rev_map=$(cd "$GIT_DIR"/svn/stunk && ls .rev_map*) &&
                 dd if="$GIT_DIR"/svn/stunk/$rev_map \
                    of="$GIT_DIR"/svn/flunk@18/$rev_map bs=24 count=1 &&
                 rm -rf "$GIT_DIR"/svn/stunk &&
                 git svn init --minimize-url -i flunk "$svnrepo"/flunk &&
                 git svn fetch -i flunk &&
                 git svn init --minimize-url -i stunk "$svnrepo"/stunk &&
                 git svn fetch -i stunk &&
                 git svn init --minimize-url -i flunked
"$svnrepo"/flunked &&
                 git svn fetch -i flunked
                 test "`git rev-parse --verify refs/remotes/flunk@18`" \
                    = "`git rev-parse --verify refs/remotes/stunk`" &&
                 test "`git rev-parse --verify refs/remotes/flunk~1`" \
                    = "`git rev-parse --verify refs/remotes/stunk`" &&
                 test "`git rev-parse --verify refs/remotes/flunked~1`" \
                    = "`git rev-parse --verify refs/remotes/stunk~1`"
With 1.6.1 I also see t9129.10-12 failing with subversion 1.1.4:
* FAIL 10: ISO-8859-1 should match UTF-8 in svn
                 (
                         cd ISO-8859-1 &&
                         compare_svn_head_with
"$TEST_DIRECTORY"/t3900/1-UTF-8.txt
                 )
* FAIL 11: $H should match UTF-8 in svn
                         (
                                 cd $H &&
                                 compare_svn_head_with
"$TEST_DIRECTORY"/t3900/2-UTF-8.txt
                         )
* FAIL 12: $H should match UTF-8 in svn
                         (
                                 cd $H &&
                                 compare_svn_head_with
"$TEST_DIRECTORY"/t3900/2-UTF-8.txt
                         )
* failed 3 among 12 test(s)
make[2]: Leaving directory `/builddir/build/BUILD/git-1.6.1/t'
make[2]: *** [t9129-git-svn-i18n-commitencoding.sh] Error 1

I see in git-svn.perl that only SVN::Core 1.1.0 is required. Is it still the intention that git-svn should work with subversion 1.1.x?

If you're going to bump the minimum requirement I would ask that you atleast keep 1.3.x as supported. This is the last release of subversion where RHEL3 can satisfy the dependencies out of the box and I've verified that the testsuite will pass with 1.3.2.

-tgc
Next: Eric Wong
Message 1 of 8 in “Minimum required version of subversion for git-svn?”
  1. Tom G. ChristensenJan 9, 2009
  2. Eric WongJan 12, 2009
  3. Tom G. ChristensenJan 12, 2009
  4. Eric WongJan 17, 2009
  5. git-svn: fix SVN 1.1.x compatibilityEric Wong, Jan 19, 2009
  6. Tom G. ChristensenJan 19, 2009
  7. Eric WongJan 20, 2009
  8. Tom G. ChristensenJan 20, 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.