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

Re: git-svn problem with v1.6.5

From
Avery Pennarun <apenwarr@gmail.com>
Date
Nov 11, 2009, 19:41 UTC
Message-ID
<32541b130911111141n7b029b1ep68656d2eb39be3c7@mail.gmail.com>
In-Reply-To
<4AFA91BB.7050402@obry.net>
On Wed, Nov 11, 2009 at 5:28 AM, Pascal Obry <pascal@obry.net> wrote:
Show 5 quoted lines
>> Avery wrote:
>> Is d2cf08bb67e4b7da33a250127aab784f1f2f58d3 a valid revision?  (git
>> log d2cf08bb67e4b7da33a250127aab784f1f2f58d3).
>
> No.

Well, that's bad news. Does "git log --all --parents | grep d2cf08bb67e4b7da33a250127aab784f1f2f58d3" reveal any places that refer to it?

It sounds a bit like your git-svn thinks something maps on to that commit id, but a previous 'git gc' or something has thrown it away. However, that doesn't explain why earlier git versions don't have this problem.

Show 10 quoted lines
>> You could try using git bisect to figure out which exact commit to
>> git.git created the problem.
>
> I wanted to avoid that :) Anyway, here is the culprit:
>
> commit 6f5748e14cc5bb0a836b649fb8e2d6a5eb166f1d
> Author: Adam Brewster <adambrewster@gmail.com>
> Date:   Tue Aug 11 23:14:27 2009 -0400
>
>   svn: allow branches outside of refs/remotes
[...]
>
> But frankly I'm no expert on Perl... I fear that I won't be able to debug
> that!

If you retrieve the latest version of git and then git revert the above commit, does that fix the problem, at least?

Is it possible you have some weird branches outside of the refs/remotes tree (either in .git itself, or in .git/refs/*) that you forgot about, and which the new version of git-svn is finding somehow?

Avery
Previous: Pascal ObryNext: Pascal Obry
Message 4 of 17 in “git-svn problem with v1.6.5”
  1. Pascal ObryNov 10, 2009
  2. Avery PennarunNov 10, 2009
  3. Pascal ObryNov 11, 2009
  4. Avery PennarunNov 11, 2009
  5. Pascal ObryNov 11, 2009
  6. Eric WongNov 11, 2009
  7. Eric WongNov 11, 2009
  8. Pascal ObryNov 11, 2009
  9. Eric WongNov 11, 2009
  10. Pascal ObryNov 12, 2009
  11. Eric WongNov 12, 2009
  12. Pascal ObryNov 12, 2009
  13. Pascal ObryNov 12, 2009
  14. Eric WongNov 12, 2009
  15. Pascal ObryNov 12, 2009
  16. Sam VilainNov 11, 2009
  17. Pascal ObryNov 11, 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.