t / t9126-git-svn-follow-deleted-readded-directory.shon commit Add a test of "git cvsimport"'s handling of tags and branches (0dc0621)
   1#!/bin/sh
   2#
   3# Copyright (c) 2008 Alec Berryman
   4
   5test_description='git svn fetch repository with deleted and readded directory'
   6
   7. ./lib-git-svn.sh
   8
   9# Don't run this by default; it opens up a port.
  10require_svnserve
  11
  12test_expect_success 'load repository' '
  13    svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9126/follow-deleted-readded.dump
  14    '
  15
  16test_expect_success 'fetch repository' '
  17    start_svnserve &&
  18    git svn init svn://127.0.0.1:$SVNSERVE_PORT &&
  19    git svn fetch
  20    '
  21
  22test_done