summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 916d081)
raw | patch | inline | side by side (parent: 916d081)
author | Eric Wong <normalperson@yhbt.net> | |
Sun, 5 Nov 2006 05:51:10 +0000 (21:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Nov 2006 17:34:27 +0000 (09:34 -0800) |
This is purely an aesthetic change, we already skip importing of
files that don't affect the subdirectory we import.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
files that don't affect the subdirectory we import.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 37ecc517879aa2c18cc909c60d3bf6ceed82fb48..cc3335a53f0c783c867c8924f0d922142ce9fdb8 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
}
sub libsvn_get_file {
- my ($gui, $f, $rev) = @_;
+ my ($gui, $f, $rev, $chg) = @_;
my $p = $f;
if (length $SVN_PATH > 0) {
return unless ($p =~ s#^\Q$SVN_PATH\E/##);
}
+ print "\t$chg\t$f\n" unless $_q;
my ($hash, $pid, $in, $out);
my $pool = SVN::Pool->new;
$pool->clear;
}
foreach (@amr) {
- print "\t$_->[0]\t$_->[1]\n" unless $_q;
- libsvn_get_file($gui, $_->[1], $rev)
+ libsvn_get_file($gui, $_->[1], $rev, $_->[0]);
}
close $gui or croak $?;
return libsvn_log_entry($rev, $author, $date, $msg, [$last_commit]);
if (defined $files) {
push @$files, $file;
} else {
- print "\tA\t$file\n" unless $_q;
- libsvn_get_file($gui, $file, $rev);
+ libsvn_get_file($gui, $file, $rev, 'A');
}
}
}