src/topic/__init__.py
changeset 1894 f8ee36489d3c
parent 1890 e846b8f402d0
child 1895 c8e4c6e03957
--- a/src/topic/__init__.py	Mon Mar 14 21:22:56 2016 -0400
+++ b/src/topic/__init__.py	Mon Mar 14 17:09:02 2016 +0000
@@ -170,11 +170,11 @@
     """View current topic, set current topic, or see all topics."""
     if change:
         if not obsolete.isenabled(repo, obsolete.createmarkersopt):
-            raise util.Abort(_('must have obsolete enabled to use --change'))
+            raise error.Abort(_('must have obsolete enabled to use --change'))
         if not topic and not clear:
-            raise util.Abort('changing topic requires a topic name or --clear')
+            raise error.Abort('changing topic requires a topic name or --clear')
         if any(not c.mutable() for c in repo.set('%r and public()', change)):
-            raise util.Abort("can't change topic of a public change")
+            raise error.Abort("can't change topic of a public change")
         rewrote = 0
         needevolve = False
         l = repo.lock()