Git development
 help / color / mirror / Atom feed
* [PATCH] git-svn: Remove obsolete MAXPARENT check
@ 2009-12-21 22:22 Andrew Myrick
  2009-12-21 22:39 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Myrick @ 2009-12-21 22:22 UTC (permalink / raw)
  To: git; +Cc: sam, normalperson, Andrew Myrick

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>
---
 git-svn.perl |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/git-svn.perl b/git-svn.perl
index 0a6460e..92c40da 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -2447,12 +2447,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;
 }
-- 
1.6.6.rc3.dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-21 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 22:22 [PATCH] git-svn: Remove obsolete MAXPARENT check Andrew Myrick
2009-12-21 22:39 ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox