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

Re: [spf:guess,iffy,mismatch] Re: [PATCH/RFC 2/2] git-svn: Don't allow missing commit parent to stop git-svn

From
Michael Olson <mwolson@gnu.org>
Date
Apr 28, 2010, 15:51 UTC
Message-ID
<r2jc8b3bef91004280851i865a911ei47b1be606dd560d9@mail.gmail.com>
In-Reply-To
<4BCF8E07.9080507@vilain.net>
On Wed, Apr 21, 2010 at 4:45 PM, Sam Vilain <sam@vilain.net> wrote:
Show 25 quoted lines
> Michael Olson wrote:
>> Interestingly, I see people reporting the same problem in the thread
>> "git svn clone of subversion's own code failing".  So it's not just
>> related to patch 1/2 of this series.  At least that thread has a
>> public-facing repo so the problem should be easier to reproduce for
>> a real fix.
>
> Oh, right ... I remember that issue now. I'm currently testing the
> below change to see if it breaks the test suite; any issues and I'll
> post an update.
>
> Subject: [PATCH] git-svn: deal with svn cherry-picks with non-linear history
>
> The expression 'BASE^..TIP' is only defined when BASE has parents.  It
> actually does what it intends only when it has one parent.
>
> Allow for more complicated revision list arguments than a range by
> splitting any space-containing arguments on the way into _rev_list,
> and check the parents of the bottom commit so that we may use the
> correct revision list specifier.
> ---
>  git-svn.perl |   22 +++++++++++++++++++---
>  1 files changed, 19 insertions(+), 3 deletions(-)
>
> [snip]

This change works great on my private repos, so it should supersede my version which only did an eval.

-- 
Michael Olson  |  http://mwolson.org/
Previous: Sam VilainNext: Eric Wong
Message 5 of 12 in “git-svn: Don't allow missing commit parent to stop git-svn”
  1. 2/2 git-svn: Don't allow missing commit parent to stop git-svnMichael Olson, Apr 20, 2010
  2. Sam VilainApr 21, 2010
  3. Michael OlsonApr 21, 2010
  4. Sam VilainApr 21, 2010
  5. Michael OlsonApr 28, 2010
  6. Eric WongMay 3, 2010
  7. Michael J GruberMay 4, 2010
  8. Eric WongMay 4, 2010
  9. Sam VilainMay 4, 2010
  10. Eric WongMay 4, 2010
  11. Michael OlsonMay 19, 2010
  12. Michael OlsonMay 19, 2010

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.