threads / discuss / 11618

git-svn: network error while git-svn dcommit

Subject: git-svn: network error while git-svn dcommit

## tl;dr

2 messages between Jan 14, 2008 and Jan 14, 2008.

replies: 1people: 1as markdown or json

Pedro Melo· Jan 14, 2008, 13:20 UTC · lore
Hi,

I was doing a git-svn dcommit (git-1.5.4-rc2) and the network to the svn server died on me.

Network connection closed unexpectedly: Connection closed unexpectedly at /usr/local/git/bin/git-svn line 450

If I try again, I get a warning about a dirty index.
Cannot dcommit with a dirty index.  Commit your changes first, or  
stash them with `git stash'.
  at /usr/local/git/bin/git-svn line 406
What's the best way to recover from this?
Thanks,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Pedro Melo· Jan 14, 2008, 15:34 UTC · re: Pedro Melo · lore

Re: git-svn: network error while git-svn dcommit

Hi,
sorry to reply to myself. Figure it out.

Created a new branch from the remote svn, brought it up-to-date, then got the last applied sha1, and rebased that onto my new branch.

there might be an easier way, but this worked.
Best regards,
On Jan 14, 2008, at 1:20 PM, Pedro Melo wrote:
Show 28 quoted lines
> Hi,
>
> I was doing a git-svn dcommit (git-1.5.4-rc2)  and the network to  
> the svn server died on me.
>
> Network connection closed unexpectedly: Connection closed  
> unexpectedly at /usr/local/git/bin/git-svn line 450
>
> If I try again, I get a warning about a dirty index.
>
> Cannot dcommit with a dirty index.  Commit your changes first, or  
> stash them with `git stash'.
>  at /usr/local/git/bin/git-svn line 406
>
> What's the best way to recover from this?
>
> Thanks,
> -- 
> Pedro Melo
> Blog: http://www.simplicidade.org/notes/
> XMPP ID: melo@simplicidade.org
> Use XMPP!
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!

← back to recent threads