From: Eric Wong <normalperson@yhbt.net>
To: git <git@vger.kernel.org>
Subject: Re: [BUG] git-svn dcommit fails (connection closed unexpectedly)
Date: Sun, 13 May 2007 10:17:07 -0700 [thread overview]
Message-ID: <20070513171707.GA14024@muzzle> (raw)
In-Reply-To: <vpq7irfengj.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
> Hi,
>
> I'm using git-svn, which usually works fine, but I occasionally get
> this:
>
> $ git-svn dcommit
> A file1
> A file2
> Network connection closed unexpectedly: Connection closed unexpectedly at /path/to/git-svn line 401
> $
>
> The failure seems to depend on the commit's I'm pushing, since this is
> reproducible when running several times "dcommit" for the same commit,
> but the same command also usually works fine on the same repositories
> (same git repo, same svn target).
>
> The svn repository is accessed with svn+ssh://user@machine/path/.
Does the patch in
http://permalink.gmane.org/gmane.comp.version-control.git/47126
help?
If so, I'm not sure why it should be failing sometimes and not
all the time. If your local username the same as the username
you're using for svn it shouldn't fail for the reason that patch
above is needed.
Using the native svn or svn+ssh protocol is definitely flakier in my
experience, and there are still known issues with connections closing
during *fetch*. dcommit is actually a lot more straightforward
as it only connects once, whereas fetch can reconnect to different
parts of the repo for --follow-parent.
> exporting the patch, applying it to an svn checkout, and "svn commit"
> works fine.
>
> Let me know if I can provide any other usefull information for
> debugging.
>
> Thanks,
>
> Debian etch (stable)
> Reproducible with both git 1.5.1.1 and the latest from git:
>
> $ git-svn --version
> git-svn version 1.5.2.rc3.3.ge347 (svn 1.4.2)
Which version of SVN is running on the server?
--
Eric Wong
next prev parent reply other threads:[~2007-05-13 17:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 9:09 [BUG] git-svn dcommit fails (connection closed unexpectedly) Matthieu Moy
2007-05-11 11:27 ` Lars Hjemli
2007-05-11 11:30 ` Lars Hjemli
2007-05-11 12:51 ` Matthieu Moy
2007-05-14 18:13 ` Matthieu Moy
2007-05-19 6:14 ` Eric Wong
2007-05-19 9:58 ` [PATCH] git-svn: avoid crashing svnserve when creating new directories Eric Wong
2007-05-19 10:19 ` Matthieu Moy
2007-05-19 10:58 ` Eric Wong
2007-05-19 12:02 ` Matthieu Moy
2007-05-13 17:17 ` Eric Wong [this message]
2007-05-13 17:49 ` [BUG] git-svn dcommit fails (connection closed unexpectedly) Martin Eisenhardt
2007-05-13 18:24 ` Karl Hasselström
2007-05-13 21:01 ` Eric Wong
2007-05-14 0:39 ` Eric Wong
2007-05-14 17:26 ` Linus Torvalds
2007-05-14 17:50 ` Matthieu Moy
2007-05-14 12:27 ` Matthieu Moy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070513171707.GA14024@muzzle \
--to=normalperson@yhbt.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).