mirror of
https://github.com/git/git.git
synced 2024-10-30 13:57:54 +01:00
ad0a82bae0
Not doing so caused the "Malformed network data" error when a directoy was deleted and replaced with a copy from an older version. Signed-off-by: Alec Berryman <alec@thened.net> Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
22 lines
500 B
Bash
Executable file
22 lines
500 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (c) 2008 Alec Berryman
|
|
|
|
test_description='git svn fetch repository with deleted and readded directory'
|
|
|
|
. ./lib-git-svn.sh
|
|
|
|
# Don't run this by default; it opens up a port.
|
|
require_svnserve
|
|
|
|
test_expect_success 'load repository' '
|
|
svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9126/follow-deleted-readded.dump
|
|
'
|
|
|
|
test_expect_success 'fetch repository' '
|
|
start_svnserve &&
|
|
git svn init svn://127.0.0.1:$SVNSERVE_PORT &&
|
|
git svn fetch
|
|
'
|
|
|
|
test_done
|