mercurial/formatter.py
changeset 26587 56b2bcea2529
parent 26373 aa610ffad4e8
child 28384 3356bf61fa25
--- a/mercurial/formatter.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/mercurial/formatter.py	Thu Oct 08 12:55:45 2015 -0700
@@ -18,8 +18,8 @@
 
 from . import (
     encoding,
+    error,
     templater,
-    util,
 )
 
 class baseformatter(object):
@@ -179,7 +179,7 @@
 
     if tmpl == 'list':
         ui.write(_("available styles: %s\n") % templater.stylelist())
-        raise util.Abort(_("specify a template"))
+        raise error.Abort(_("specify a template"))
 
     # perhaps it's a path to a map or a template
     if ('/' in tmpl or '\\' in tmpl) and os.path.isfile(tmpl):