3 # Copyright (c) 2009 Eric Wong
5 test_description='git svn old rev_map preservd'
8 test_expect_success 'setup test repository with old layout' '
11 svn_cmd import -m- i "$svnrepo" &&
12 git svn init "$svnrepo" &&
14 test -d .git/svn/refs/remotes/git-svn/ &&
15 ! test -e .git/svn/git-svn/ &&
16 mv .git/svn/refs/remotes/git-svn .git/svn/ &&
20 test_expect_success 'old layout continues to work' '
21 svn_cmd import -m- i "$svnrepo/b" &&
27 ! test -d .git/svn/refs/ &&
28 test -e .git/svn/git-svn/