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

2 messages from 2008-01-14 to 2008-01-14. Participants: Pedro Melo.
Thread: https://gitlist.dev/t/11618

## Pedro Melo, 2008-01-14 13:20

Subject: git-svn: network error while git-svn dcommit
Message-ID: <75A83473-664E-4CC8-97ED-119D18F17F76@simplicidade.org>
URL: https://gitlist.dev/e/75A83473-664E-4CC8-97ED-119D18F17F76%40simplicidade.org

```
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, 2008-01-14 15:34

Subject: Re: git-svn: network error while git-svn dcommit
Message-ID: <0876BB1D-8830-47B1-8910-E95BA07EA405@simplicidade.org>
URL: https://gitlist.dev/e/0876BB1D-8830-47B1-8910-E95BA07EA405%40simplicidade.org
In-Reply-To: <75A83473-664E-4CC8-97ED-119D18F17F76@simplicidade.org>

```
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:

> 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!

```
