summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Matthias Urlichs <smurf@smurf.noris.de>2005-10-10 18:54:53 +0200
committerLibravatar Matthias Urlichs <smurf@smurf.noris.de>2005-10-10 18:54:53 +0200
commit22dcbb75129b3124a9fd71ed449030b79093b634 (patch)
tree36d3970793ff0577931bc9dee6cc18e604757b97
parentsvn import: Add a loop limit option (diff)
downloadtgif-22dcbb75129b3124a9fd71ed449030b79093b634.tar.xz
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>
-rwxr-xr-xgit-svnimport.perl1
1 files changed, 1 insertions, 0 deletions
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];
}