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

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

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 4, 2006, 18:12 UTC
Message-ID
<20061204181241.GA27342@soma>
In-Reply-To
<86hcwbnb0o.fsf@blue.stonehenge.com>
"Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
Show 14 quoted lines
> >>>>> "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?

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

I don't think that updating git-svn while using it is a problem, because Perl won't (to my knowledge) reread it after it's loaded, and git-svn does not re-exec itself (it'll fork, however). Weird... the change (15941) was a property-only change; however.

Previous: Randal L. SchwartzNext: Randal L. Schwartz
Message 4 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.