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

Re: git-svn condenses history when dcommit is interrupted

From
Imran M Yousuf <imyousuf@gmail.com>
Date
May 17, 2008, 04:35 UTC
Message-ID
<7bfdc29a0805162135m2758171dva6a6594239733bd8@mail.gmail.com>
In-Reply-To
<7bf6f1d20805161402m4fa473f5w198bc8cb055eb95f@mail.gmail.com>
>> Whenever my commit is not completed successfully I can thus easily
>> reset, rebase and follow the command sequence again. This way I have
I forgot to mention 'git svn fetch' if the commit succeeds and the update fails
> But that doesn't help with the problem I have faced, which is when
> dcommit fails *after* some change has already been committed to the
> subversion repository. At that point, the local copy of the subversion
Did you try 'git svn fetch' at this point
Show 7 quoted lines
> history is broken since git thinks it has got the fetched the
> committed revision but it's not in the history.
> ....
> I think this is a bug with git-svn that should be fixed and I will
> gladly help fix it in any way I can. Do you think I should be more
> explicit and focus on the broken history instead of the "condensed
> merges"?

It could be a bug but I am not sure, what I am sure of is that I faced a *similar* (not sure identical) problem and 'git reset' and 'git svn fetch' followed by rebase, merge and dcommit was successful in my case.

Best regards,
-- 
Imran M Yousuf
Email: imran@smartitengineering.com
Mobile: +880-1711402557
Previous: João Abecasis
Message 2 of 2 in “git-svn condenses history when dcommit is interrupted”
  1. João AbecasisMay 15, 2008
  2. Imran M YousufMay 17, 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.