Mercurial > public > mercurial-scm > hg-stable
diff mercurial/httppeer.py @ 21188:d36440d84328 stable
httppeer: reintroduce _abort that accidentally was removed in 167047ba3cfa
Including the missing test coverage that would have caught it.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 23 Apr 2014 23:29:55 +0200 |
parents | f8a0d82b0463 |
children | cde6904f1992 |
line wrap: on
line diff
--- a/mercurial/httppeer.py Mon Apr 21 16:13:15 2014 -0700 +++ b/mercurial/httppeer.py Wed Apr 23 23:29:55 2014 +0200 @@ -237,6 +237,9 @@ stream = self._callstream(cmd, **args) return util.chunkbuffer(zgenerator(stream)) + def _abort(self, exception): + raise exception + class httpspeer(httppeer): def __init__(self, ui, path): if not url.has_https: