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