test case for regression caused by git-svn empty symlink fix
commit39111f6b7aeb5a7bc57731a6c8f0c3b8178873c8
authorAnton Gyllenberg <anton@iki.fi>
Tue, 10 Feb 2009 22:38:45 +0000 (11 00:38 +0200)
committerEric Wong <normalperson@yhbt.net>
Wed, 11 Feb 2009 10:02:04 +0000 (11 02:02 -0800)
tree43a18a50792967c02e31a1fd78cbdb1004d24a2e
parent8841b37f2f5ce74359e150254dd138602eb418a7
test case for regression caused by git-svn empty symlink fix

Commit dbc6c74d0858d77e61e092a48d467e725211f8e9 "git-svn: handle empty
files marked as symlinks in SVN" caused a regression in an unusual case
where a branch has been created in SVN, later deleted and then created
again from another branch point and the original branch point had empty
files not in the new branch. In some cases git svn fetch will then fail
while trying to fetch the empty file from the wrong SVN revision.

This adds a test case that reproduces the issue.

[ew: added additional test to ensure file was created correctly
     made test file executable ]

Signed-off-by: Anton Gyllenberg <anton@iki.fi>
Acked-by: Eric Wong <normalperson@yhbt.net>
t/t9135-git-svn-moved-branch-empty-file.sh [new file with mode: 0755]
t/t9135/svn.dump [new file with mode: 0644]