From 22dcbb75129b3124a9fd71ed449030b79093b634 Mon Sep 17 00:00:00 2001
From: Matthias Urlichs <smurf@smurf.noris.de>
Date: Mon, 10 Oct 2005 18:54:53 +0200
Subject: [PATCH] svn import: unlink downlaoded files

Actually removing the files that have been checked out of SVN,
after checking them into git of course, is a good idea...

Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
---
 git-svnimport.perl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/git-svnimport.perl b/git-svnimport.perl
index b880297e0c..102fa6e339 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -296,6 +296,7 @@ sub get_file($$$) {
 	my $sha = <$F>;
 	chomp $sha;
 	close $F;
+	unlink $name;
 	my $mode = "0644"; # SV does not seem to store any file modes
 	return [$mode, $sha, $path];
 }