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