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