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

Re: git-svn dcommit gone wrong and git-fsck

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Aug 26, 2008, 17:36 UTC
Message-ID
<20080826173605.GA32301@atjola.homenet>
In-Reply-To
<g91bgi$8cm$1@ger.gmane.org>
On 2008.08.26 17:37:36 +0100, Bruno Harbulot wrote:
Show 11 quoted lines
> Hello,
>
> I had 11 consecutive commits in my local git repository that I was  
> trying to commit to an SVN repository, using "git-svn dcommit". The  
> first 7 worked fine, as usual. However, when sending the 8th, I got a  
> "Bus error" (on OSX -- I'm not sure what the actual cause was).
>
> A further "git-svn dcommit" produces this error.
> Cannot dcommit with a dirty index.  Commit your changes first, or stash  
> them with `git stash'.
>  at /opt/local/bin/git-svn line 406
1. git checkout $your_branch
2. Look up the latest commit you had on your branch using "git reflog"
   or "git log -g"
3. git reset --hard $that_commit
4. git svn rebase
5. check that your history is sane
6. git svn dcommit
That should do.
Björn
Previous: Bruno HarbulotNext: Bruno Harbulot
Message 2 of 3 in “git-svn dcommit gone wrong and git-fsck”
  1. Bruno HarbulotAug 26, 2008
  2. Björn SteinbrinkAug 26, 2008
  3. Bruno HarbulotAug 26, 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.