histedit: add missing raise keyword to statement
authortimeless <timeless@mozdev.org>
Wed, 02 Dec 2015 07:40:42 +0000
changeset 27170 4cff4c38c5cc
parent 27169 dd214130a4f6
child 27171 3028ea0aff46
histedit: add missing raise keyword to statement
hgext/histedit.py
--- a/hgext/histedit.py	Wed Dec 02 07:39:49 2015 +0000
+++ b/hgext/histedit.py	Wed Dec 02 07:40:42 2015 +0000
@@ -1157,7 +1157,7 @@
         constraints = action.constraints()
         for constraint in constraints:
             if constraint not in _constraints.known():
-                error.Abort(_('unknown constraint "%s"') % constraint)
+                raise error.Abort(_('unknown constraint "%s"') % constraint)
 
         nodetoverify = action.nodetoverify()
         if nodetoverify is not None: