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