Skip to content

Commit

Permalink
git-svn: Remove obsolete MAXPARENT check
Browse files Browse the repository at this point in the history
Change git-svn not to impose a limit of 16 parents on a merge.

This limit in git-svn artificially prevents cloning svn repositories
that contain commits with more than 16 merge parents.

The limit was removed from builtin-commit-tree.c for git v1.6.0 in commit
ef98c5c, so there is no need to check for it
it in git-svn.

Signed-off-by: Andrew Myrick <amyrick@apple.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information
Andrew Myrick authored and Eric Wong committed Dec 21, 2009
1 parent 7a955a5 commit 063681d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -2451,12 +2451,6 @@ sub get_commit_parents {
next if $seen{$p};
$seen{$p} = 1;
push @ret, $p;
# MAXPARENT is defined to 16 in commit-tree.c:
last if @ret >= 16;
}
if (@tmp) {
die "r$log_entry->{revision}: No room for parents:\n\t",
join("\n\t", @tmp), "\n";
}
@ret;
}
Expand Down

0 comments on commit 063681d

Please sign in to comment.