util: drop util.Abort in favor of error.Abort (API)
authorYuya Nishihara <yuya@tcha.org>
Sat, 24 Mar 2018 14:13:37 +0900
changeset 37098 a9ea2b1e5c4b
parent 37097 8489e6f68ef2
child 37099 6ca5f825a0ca
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.
mercurial/util.py
--- 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