git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Regression: git-svn clone failure

From
Andrew Myrick <amyrick@apple.com>
Date
Dec 22, 2009, 19:38 UTC
Message-ID
<B82A784D-C8D7-4DDF-AE63-390C7AE1CC2D@apple.com>
In-Reply-To
<20091222192115.GA10313@dcvr.yhbt.net>
On Dec 22, 2009, at 11:21 AM, Eric Wong wrote:
Show 18 quoted lines
> That looks like a simple error, does the following patch help?
> 
> diff --git a/git-svn.perl b/git-svn.perl
> index 3670960..dba0d12 100755
> --- a/git-svn.perl
> +++ b/git-svn.perl
> @@ -3163,7 +3163,8 @@ sub find_extra_svn_parents {
> 				next unless $new_parents[$i];
> 				next unless $new_parents[$j];
> 				my $revs = command_oneline(
> -					"rev-list", "-1", "$i..$j",
> +					"rev-list", "-1",
> +					"$new_parents[$i]..$new_parents[$j]",
> 				       );
> 				if ( !$revs ) {
> 					undef($new_parents[$i]);
> 
> 
Worked like a charm; the fetch is proceeding now.  Thanks, Eric!
Do you know what the "svn cherry-pick ignored" warnings mean, and if it's something I should be concerned about?  This particular project is missing up to 65 commits at some revisions.
-Andrew
Previous: Eric WongNext: Eric Wong
Message 3 of 10 in “Regression: git-svn clone failure”
  1. Andrew MyrickDec 22, 2009
  2. Eric WongDec 22, 2009
  3. Andrew MyrickDec 22, 2009
  4. Eric WongDec 22, 2009
  5. Sam VilainDec 22, 2009
  6. Junio C HamanoDec 22, 2009
  7. Sam VilainDec 23, 2009
  8. Andrew MyrickDec 22, 2009
  9. Sam VilainDec 23, 2009
  10. Sam VilainDec 22, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.