git.samba.org
/
jelmer
/
dulwich.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a18825
)
Add proper error message when server hangs up.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 8 Sep 2009 12:45:38 +0000
(14:45 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 8 Sep 2009 12:45:38 +0000
(14:45 +0200)
NEWS
patch
|
blob
|
history
dulwich/errors.py
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index f917763df1095443f2468ea8bc31c116b682fec1..fd11bc85694be417ba0d8f2943a8e3296094ded2 100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-9,6
+9,10
@@
* Use binascii.hexlify / binascii.unhexlify for better performance.
+ * Cope with extra unknown data in index files by ignoring it (for now).
+
+ * Add proper error message when server unexpectedly hangs up. (#415843)
+
0.3.3 2009-07-23
FEATURES
diff --git
a/dulwich/errors.py
b/dulwich/errors.py
index 6e014e6cd891ad51a0a7cbef95316907ef58fe62..42c63c4df60a155ae4e148df6591524f901e844e 100644
(file)
--- a/
dulwich/errors.py
+++ b/
dulwich/errors.py
@@
-104,3
+104,7
@@
class GitProtocolError(Exception):
class HangupException(GitProtocolError):
"""Hangup exception."""
+
+ def __init__(self):
+ Exception.__init__(self,
+ "The remote server unexpectedly closed the connection.")