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

Re: latest update to git-svn blows up for me

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Dec 4, 2006, 19:36 UTC
Message-ID
<86zma3lahj.fsf@blue.stonehenge.com>
In-Reply-To
<20061204181241.GA27342@soma>
>>>>> "Eric" == Eric Wong <normalperson@yhbt.net> writes:
Eric> "Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
>> >>>>> "Eric" == Eric Wong <normalperson@yhbt.net> writes:
>> 
Eric> "Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
>> >> 
>> >> Does this ring a bell?
>> 
Eric> Nope.
>> 

Eric> This is on r15941 of https://svn.perl.org/parrot/trunk ? I can't seem Eric> to reproduce this with git svn fetch -r15940:15941

>> 
>> No, and that worked for me as well.  Apparently, I might have corrupted my
>> metadata because I updated git-svn while I was using it.  Is there any way to
>> reset the metadata without having to re-fetch 15000 revisions?

Eric> rm .git/refs/remotes/$GIT_SVN_ID .git/svn/$GIT_SVN_ID/.rev_db Eric> git svn -i $GIT_SVN_ID rebuild

That's not working:
localhost.local:..RROR/parrot-GITSVN % git-svn -i git-svn rebuild
fatal: 'origin': unable to chdir or not a git archive
fatal: unexpected EOF
Failed to find remote refs
256 at /opt/git/bin/git-svn line 2151
        main::safe_qx('git-ls-remote', 'origin', 'refs/remotes/git-svn') called at /opt/git/bin/git-svn line 3404
        main::copy_remote_ref() called at /opt/git/bin/git-svn line 226
        main::rebuild() called at /opt/git/bin/git-svn line 187
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
Previous: Eric WongNext: Eric Wong
Message 5 of 16 in “latest update to git-svn blows up for me”
  1. Randal L. SchwartzDec 4, 2006
  2. Eric WongDec 4, 2006
  3. Randal L. SchwartzDec 4, 2006
  4. Eric WongDec 4, 2006
  5. Randal L. SchwartzDec 4, 2006
  6. Eric WongDec 4, 2006
  7. Randal L. SchwartzDec 4, 2006
  8. Eric WongDec 4, 2006
  9. Randal L. SchwartzDec 4, 2006
  10. Eric WongDec 4, 2006
  11. Eric WongDec 5, 2006
  12. Randal L. SchwartzDec 5, 2006
  13. Randal L. SchwartzDec 5, 2006
  14. Eric WongDec 5, 2006
  15. Linus TorvaldsDec 5, 2006
  16. git-svn: extra error check to ensure we open a file correctlyEric Wong, Dec 8, 2006

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.