2008-04-07 11:08:03 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Copyright (c) 2008 Santhosh Kumar Mani
|
|
|
|
|
|
|
|
|
2008-09-08 14:02:08 +04:00
|
|
|
test_description='git svn can fetch renamed directories'
|
2008-04-07 11:08:03 +04:00
|
|
|
|
|
|
|
. ./lib-git-svn.sh
|
|
|
|
|
2008-05-04 09:37:59 +04:00
|
|
|
test_expect_success 'load repository with renamed directory' '
|
2008-08-08 13:26:28 +04:00
|
|
|
svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9121/renamed-dir.dump
|
2008-05-04 09:37:59 +04:00
|
|
|
'
|
2008-04-07 11:08:03 +04:00
|
|
|
|
2008-05-04 09:37:59 +04:00
|
|
|
test_expect_success 'init and fetch repository' '
|
|
|
|
git svn init "$svnrepo/newname" &&
|
2008-04-07 11:08:03 +04:00
|
|
|
git svn fetch
|
2008-05-04 09:37:59 +04:00
|
|
|
'
|
2008-04-07 11:08:03 +04:00
|
|
|
|
|
|
|
test_done
|
|
|
|
|