mirror of
https://github.com/git/git
synced 2024-08-26 19:19:18 +00:00
![Alec Berryman](/assets/img/avatar_default.png)
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>
23 lines
500 B
Bash
Executable file
23 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
|