# HG changeset patch # User Yuya Nishihara # Date 2018-03-24 05:13:37 # Node ID a9ea2b1e5c4b70aa18faf2d61afecd28b8c23add # Parent 8489e6f68ef26ca662fa25c5a405716abf8b1bd2 util: drop util.Abort in favor of error.Abort (API) IIRC, error.Abort exists since Mercurial 1.2, so it should be pretty easy for extensions authors to update their code. .. api:: The util.Abort alias has been removed. Use error.Abort. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1586,8 +1586,6 @@ def increasingchunks(source, min=1024, m if buf: yield ''.join(buf) -Abort = error.Abort - def always(fn): return True