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

Re: Interrupted git-svn dcommit, now I get segmentation faults

From
Sam Vilain <sam@vilain.net>
Date
Feb 21, 2008, 19:27 UTC
Message-ID
<47BDD096.7040606@vilain.net>
In-Reply-To
<loom.20080221T062522-821@post.gmane.org>
Chris Ball wrote:
Show 5 quoted lines
> Hi,
> 
> I mistakenly interrupted a git-svn dcommit, and now whenever I run
> git-svn dcommit I get a segmentation fault, but the commit is
> successful. I have just switched from Subversion to Git, so I'm not
 [...]
Show 11 quoted lines
> git diff still showed the change on my machine, so I ran git-svn dcommit
> again:
> 
> $ git-svn dcommit
> Committing to https://svn/repository ...
> Merge conflict during commit: Your file or directory 'path/to/file' is
> probably out-of-date: The version resource does not correspond to the
> resource within the transaction.  Either the requested version
> resource is out of date (needs to be updated), or the requested
> version resource is newer than the transaction root (restart the
> commit). at /usr/bin/git-svn line 420

If you get stuff like that you can move the git-svn state out of the way, and re-run git-svn fetch; it will rebuild the metadata.

 $ mv .git/svn .git/svn.bad
 $ git-svn fetch
Not a fix I know, but might work for you ;)
Sam.
Previous: Chris BallNext: C. E. Ball
Message 2 of 6 in “Interrupted git-svn dcommit, now I get segmentation faults”
  1. Chris BallFeb 21, 2008
  2. Sam VilainFeb 21, 2008
  3. C. E. BallFeb 22, 2008
  4. C. E. BallFeb 22, 2008
  5. Sam VilainFeb 23, 2008
  6. C. E. BallMar 5, 2008

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.