author | Anton Gyllenberg <anton@iki.fi> | |
Tue, 10 Feb 2009 22:38:45 +0000 (00:38 +0200) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Wed, 11 Feb 2009 10:02:04 +0000 (02:02 -0800) | ||
commit | 39111f6b7aeb5a7bc57731a6c8f0c3b8178873c8 | |
tree | 43a18a50792967c02e31a1fd78cbdb1004d24a2e | tree | snapshot |
parent | 8841b37f2f5ce74359e150254dd138602eb418a7 | commit | diff |
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>
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] | blob |
t/t9135/svn.dump | [new file with mode: 0644] | blob |