@matheusbsbs / matheus-bagliano / commits / 22dcbb7512
Fork 0

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>

Matthias Urlichs committed Oct 10, 2005 at 18:54 UTC 22dcbb75129b3124a9fd71ed449030b79093b634
1 file changed +1
git-svnimport.perl
+1
@@ -296,6 +296,7 @@ sub get_file($$$) {
296 my $sha = <$F>;
297 chomp $sha;
298 close $F;
299 + unlink $name;
300 my $mode = "0644"; # SV does not seem to store any file modes
301 return [$mode, $sha, $path];
302 }