--- 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):