summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9760adc)
raw | patch | inline | side by side (parent: 9760adc)
author | Eric Wong <normalperson@yhbt.net> | |
Wed, 31 Jan 2007 11:45:28 +0000 (03:45 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 08:57:11 +0000 (00:57 -0800) |
We don't always know that a path will exist at a particular
revision.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
revision.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index cc5736d793c1c286c763b50d5c15423816126f43..b2f86e84b4f219670d272ff829e766f2e1e7e67a 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
my ($self, $paths, $rev) = @_;
return undef unless $_follow_parent;
unless (defined $paths) {
+ my $err_handler = $SVN::Error::handler;
+ $SVN::Error::handler = \&Git::SVN::Ra::skip_unknown_revs;
$self->ra->get_log([$self->{path}], $rev, $rev, 0, 1, 1,
sub { $paths = dup_changed_paths($_[0]) });
+ $SVN::Error::handler = $err_handler;
}
return undef unless defined $paths;