changeset 37098:a9ea2b1e5c4b

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.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 24 Mar 2018 14:13:37 +0900
parents 8489e6f68ef2
children 6ca5f825a0ca
files mercurial/util.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Sat Mar 24 14:09:44 2018 +0900
+++ b/mercurial/util.py	Sat Mar 24 14:13:37 2018 +0900
@@ -1586,8 +1586,6 @@
     if buf:
         yield ''.join(buf)
 
-Abort = error.Abort
-
 def always(fn):
     return True