# HG changeset patch # User timeless # Date 1449042042 0 # Node ID 4cff4c38c5cc9bfd97b327cdf5834163187a231c # Parent dd214130a4f60495ca74955a49ac3a460cce7851 histedit: add missing raise keyword to statement diff -r dd214130a4f6 -r 4cff4c38c5cc 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: