@matheusbsbs / matheus-bagliano / commits / 063681d72e
Fork 0

git-svn: Remove obsolete MAXPARENT check

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 ef98c5cafb3e799b1568bb843fcd45920dc62f16, 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>

Andrew Myrick committed Dec 21, 2009 at 14:22 UTC 063681d72e60e80cd14576037728b395ed42e330
1 file changed -6
git-svn.perl
-6
@@ -2451,12 +2451,6 @@ sub get_commit_parents {
2451 next if $seen{$p};
2452 $seen{$p} = 1;
2453 push @ret, $p;
2454 - # MAXPARENT is defined to 16 in commit-tree.c:
2455 - last if @ret >= 16;
2456 - }
2457 - if (@tmp) {
2458 - die "r$log_entry->{revision}: No room for parents:\n\t",
2459 - join("\n\t", @tmp), "\n";
2454 }
2455 @ret;
2456 }