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 &&
19 svn commit -m 'another commit' &&
21 svn mv -m 'rename to thunk' trunk thunk &&
23 echo goodbye >> thunk/readme &&
24 svn commit -m 'bye now' &&
28 test_expect_success
'init and fetch --follow-parent a moved directory' "
29 git-svn init -i thunk $svnrepo/thunk &&
30 git-svn fetch --follow-parent -i thunk &&
31 git-rev-parse --verify refs/remotes/trunk &&
35 test_debug
'gitk --all &'