Minimum required version of subversion for git-svn?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux