All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] git-svn: fixes for intermittent SIGPIPE
@ 2012-04-02 16:13 Roman Kagan
  2012-04-02 16:13 ` [PATCH 1/2] git-svn: use POSIX::sigprocmask to block signals Roman Kagan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Roman Kagan @ 2012-04-02 16:13 UTC (permalink / raw)
  To: git

In my work environment subversion is still being used as the main
revision control system.  Therefore many people who prefer to work with
git have to resort to git-svn.

However, in many configurations it used to suffer from the notorious
"git-svn died of signal 13" problem (see e.g.
http://thread.gmane.org/gmane.comp.version-control.git/134936 and the
links therein).

I believe to have tracked down the issue to the connection being closed
by the server when http keep-alive is in use, and the client dying on
SIGPIPE because its handler is left at SIG_DFL when a new request is
being made.

The patches have been tested on

- Linux Fedora 16 x86_64, git 1.7.7.6, perl v5.14.2, svn 1.6.17
- Windows 7 x64 + Cygwin, git 1.7.9, perl v5.10.1, svn 1.7.4,
- Windows 7 x64 + MsysGit, git 1.7.9.msysgit.0, perl v5.8.8, svn 1.4.6

Roman Kagan (2):
  git-svn: use POSIX::sigprocmask to block signals
  git-svn: ignore SIGPIPE

 git-svn.perl |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-23 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02 16:13 [PATCH 0/2] git-svn: fixes for intermittent SIGPIPE Roman Kagan
2012-04-02 16:13 ` [PATCH 1/2] git-svn: use POSIX::sigprocmask to block signals Roman Kagan
2012-04-10 21:11   ` Eric Wong
2012-04-11 11:22     ` Roman Kagan
2012-04-02 16:13 ` [PATCH 2/2] git-svn: ignore SIGPIPE Roman Kagan
2012-04-23  7:05 ` [PATCH 0/2] git-svn: fixes for intermittent SIGPIPE Roman Kagan
2012-04-23 14:44   ` Junio C Hamano
2012-04-23 15:10     ` Roman Kagan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.