3 # Copyright (c) 2006 Eric Wong
6 test_description='git-svn --follow-parent fetching'
9 test_expect_success 'initialize repo' "
13 echo hello > trunk/readme &&
14 svn import -m 'initial' . $svnrepo &&
18 echo world >> trunk/readme &&
20 svn commit -m 'another commit' &&
22 svn mv -m 'rename to thunk' trunk thunk &&
24 echo goodbye >> thunk/readme &&
26 svn commit -m 'bye now' &&
30 test_expect_success 'init and fetch --follow-parent a moved directory' "
31 git-svn init -i thunk $svnrepo/thunk &&
32 git-svn fetch --follow-parent -i thunk &&
33 git-rev-parse --verify refs/remotes/trunk &&
37 test_debug 'gitk --all &'