blob: 000cad37c63d4d14756deab92a486e96612bce5d [file] [log] [blame]
Eric Wongf61cc482008-04-07 00:08:03 -07001#!/bin/sh
2#
3# Copyright (c) 2008 Santhosh Kumar Mani
4
5
Nanako Shiraishi1364ff22008-09-08 19:02:08 +09006test_description='git svn can fetch renamed directories'
Eric Wongf61cc482008-04-07 00:08:03 -07007
8. ./lib-git-svn.sh
9
Bryan Donlanf69e8362008-05-04 01:37:59 -040010test_expect_success 'load repository with renamed directory' '
Junio C Hamanobfdbee92008-08-08 02:26:28 -070011 svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9121/renamed-dir.dump
Bryan Donlanf69e8362008-05-04 01:37:59 -040012 '
Eric Wongf61cc482008-04-07 00:08:03 -070013
Bryan Donlanf69e8362008-05-04 01:37:59 -040014test_expect_success 'init and fetch repository' '
15 git svn init "$svnrepo/newname" &&
Eric Wongf61cc482008-04-07 00:08:03 -070016 git svn fetch
Bryan Donlanf69e8362008-05-04 01:37:59 -040017 '
Eric Wongf61cc482008-04-07 00:08:03 -070018
19test_done
20