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

Re: [spf:guess] Re: Regression: git-svn clone failure

From
Sam Vilain <sam@vilain.net>
Date
Dec 22, 2009, 20:35 UTC
Message-ID
<1261514132.23944.6.camel@denix>
In-Reply-To
<20091222192115.GA10313@dcvr.yhbt.net>
On Tue, 2009-12-22 at 11:21 -0800, Eric Wong wrote:
Show 14 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]",
>  				       );
Yes, that is the intent.

Hrm, I'd have thought my test would have stepped over that code when it merged in a branch which merged two an svn branch which included a merge of another svn branch. Obviously not! I'll cook something up to cover that..

Sam.
Previous: Sam Vilain
Message 10 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.